diff --git a/docs/classes/BitPaySDK-Client-BillClient.html b/docs/classes/BitPaySDK-Client-BillClient.html index d9663cd8..da863777 100644 --- a/docs/classes/BitPaySDK-Client-BillClient.html +++ b/docs/classes/BitPaySDK-Client-BillClient.html @@ -608,7 +608,7 @@

public - get( $billId[,  $facade = Facade::MERCHANT ][,  $signRequest = true ]) : Bill + get($billId[, $facade = Facade::MERCHANT ][, $signRequest = true ]) : Bill
@@ -617,7 +617,7 @@

Parameters
$billId - : + : mixed

string The id of the bill to retrieve.

@@ -626,7 +626,7 @@
Parameters
$facade - : + : mixed = Facade::MERCHANT

string The facade used to retrieve it.

@@ -635,7 +635,7 @@
Parameters
$signRequest - : + : mixed = true

bool Signed request.

diff --git a/docs/classes/BitPaySDK-Client.html b/docs/classes/BitPaySDK-Client.html index 4341b207..981c34a5 100644 --- a/docs/classes/BitPaySDK-Client.html +++ b/docs/classes/BitPaySDK-Client.html @@ -2082,7 +2082,7 @@

public - getBill( $billId[,  $facade = Facade::MERCHANT ][,  $signRequest = true ]) : Bill + getBill($billId[, $facade = Facade::MERCHANT ][, $signRequest = true ]) : Bill
@@ -2091,7 +2091,7 @@

Parameters
$billId - : + : mixed

string The id of the bill to retrieve.

@@ -2100,7 +2100,7 @@
Parameters
$facade - : + : mixed = Facade::MERCHANT

string The facade used to retrieve it.

@@ -2109,7 +2109,7 @@
Parameters
$signRequest - : + : mixed = true

bool Signed request.

@@ -3817,7 +3817,7 @@

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

Parameters
$currency - : + : mixed

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

@@ -3838,7 +3838,7 @@
Parameters
$dateStart - : + : mixed

string The start date for the query.

@@ -3847,7 +3847,7 @@
Parameters
$dateEnd - : + : mixed

string The end date for the query.

diff --git a/docs/classes/BitPaySDK-Env.html b/docs/classes/BitPaySDK-Env.html index 0eabc296..6dc4c687 100644 --- a/docs/classes/BitPaySDK-Env.html +++ b/docs/classes/BitPaySDK-Env.html @@ -213,7 +213,7 @@

BITPAY_PLUGIN_INFO -  = "BitPay_PHP_Client_v9.0.1" +  = "BitPay_PHP_Client_v9.0.2"
@@ -360,7 +360,7 @@

public mixed BITPAY_PLUGIN_INFO - = "BitPay_PHP_Client_v9.0.1" + = "BitPay_PHP_Client_v9.0.2" diff --git a/docs/classes/BitPaySDK-Model-Invoice-Refund.html b/docs/classes/BitPaySDK-Model-Invoice-Refund.html index 41f17102..5e5e7c68 100644 --- a/docs/classes/BitPaySDK-Model-Invoice-Refund.html +++ b/docs/classes/BitPaySDK-Model-Invoice-Refund.html @@ -2888,7 +2888,9 @@

Parameters
: string
- +

: void

+
+

diff --git a/docs/classes/BitPaySDK-Model-Payout-PayoutRecipients.html b/docs/classes/BitPaySDK-Model-Payout-PayoutRecipients.html index 3926a80f..09bd3650 100644 --- a/docs/classes/BitPaySDK-Model-Payout-PayoutRecipients.html +++ b/docs/classes/BitPaySDK-Model-Payout-PayoutRecipients.html @@ -443,7 +443,7 @@

public - __construct([ $recipients = [] ]) : mixed + __construct([$recipients = [] ]) : mixed
@@ -452,7 +452,7 @@

Parameters
$recipients - : + : mixed = []

array array of JSON objects, with containing the following parameters.

diff --git a/docs/classes/BitPaySDK-PosClient.html b/docs/classes/BitPaySDK-PosClient.html index b8b594b7..afb2c3a7 100644 --- a/docs/classes/BitPaySDK-PosClient.html +++ b/docs/classes/BitPaySDK-PosClient.html @@ -2216,7 +2216,7 @@

public - getBill( $billId[,  $facade = Facade::MERCHANT ][,  $signRequest = true ]) : Bill + getBill($billId[, $facade = Facade::MERCHANT ][, $signRequest = true ]) : Bill
@@ -2225,7 +2225,7 @@

Parameters
$billId - : + : mixed

string The id of the bill to retrieve.

@@ -2234,7 +2234,7 @@
Parameters
$facade - : + : mixed = Facade::MERCHANT

string The facade used to retrieve it.

@@ -2243,7 +2243,7 @@
Parameters
$signRequest - : + : mixed = true

bool Signed request.

@@ -4014,7 +4014,7 @@

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

Parameters
$currency - : + : mixed

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

@@ -4035,7 +4035,7 @@
Parameters
$dateStart - : + : mixed

string The start date for the query.

@@ -4044,7 +4044,7 @@
Parameters
$dateEnd - : + : mixed

string The end date for the query.

diff --git a/docs/classes/BitPaySDK-Test-TokensTest.html b/docs/classes/BitPaySDK-Test-TokensTest.html index 95e93c58..7377f6cf 100644 --- a/docs/classes/BitPaySDK-Test-TokensTest.html +++ b/docs/classes/BitPaySDK-Test-TokensTest.html @@ -389,7 +389,7 @@

private - accessProtected(mixed $obj, mixed $prop) : mixed + accessProtected($obj, $prop) : mixed
diff --git a/docs/classes/BitPaySDK-Tokens.html b/docs/classes/BitPaySDK-Tokens.html index 16dafd8e..749b9665 100644 --- a/docs/classes/BitPaySDK-Tokens.html +++ b/docs/classes/BitPaySDK-Tokens.html @@ -501,7 +501,7 @@

public - getTokenByFacade( $facade) : string|null + getTokenByFacade($facade) : string|null
@@ -510,7 +510,7 @@

Parameters
$facade - : + : mixed
diff --git a/docs/classes/BitPaySDK-Util-RESTcli-RESTcli.html b/docs/classes/BitPaySDK-Util-RESTcli-RESTcli.html index 16f4673c..a64a7227 100644 --- a/docs/classes/BitPaySDK-Util-RESTcli-RESTcli.html +++ b/docs/classes/BitPaySDK-Util-RESTcli-RESTcli.html @@ -586,7 +586,7 @@

public - delete( $uri[, array<string|int, mixed>|null $parameters = null ]) : string + delete($uri[, array<string|int, mixed>|null $parameters = null ]) : string
@@ -595,7 +595,7 @@

Parameters
$uri - : + : mixed
@@ -662,7 +662,7 @@

public - get( $uri[, array<string|int, mixed>|null $parameters = null ][, bool $signatureRequired = true ]) : string + get($uri[, array<string|int, mixed>|null $parameters = null ][, bool $signatureRequired = true ]) : string
@@ -671,7 +671,7 @@

Parameters
$uri - : + : mixed
@@ -857,7 +857,7 @@

public - post( $uri[, array<string|int, mixed> $formData = [] ][, bool $signatureRequired = true ]) : string + post($uri[, array<string|int, mixed> $formData = [] ][, bool $signatureRequired = true ]) : string
@@ -866,7 +866,7 @@

Parameters
$uri - : + : mixed
@@ -944,7 +944,7 @@

public - update( $uri[, array<string|int, mixed> $formData = [] ]) : string + update($uri[, array<string|int, mixed> $formData = [] ]) : string
@@ -953,7 +953,7 @@

Parameters
$uri - : + : mixed
diff --git a/phpdoc.dist.xml b/phpdoc.dist.xml index 334d60a1..ce9b71b0 100644 --- a/phpdoc.dist.xml +++ b/phpdoc.dist.xml @@ -10,7 +10,7 @@ docs - + src diff --git a/src/BitPaySDK/Env.php b/src/BitPaySDK/Env.php index 0efc6642..1ec59acc 100644 --- a/src/BitPaySDK/Env.php +++ b/src/BitPaySDK/Env.php @@ -17,7 +17,7 @@ interface Env public const TEST_URL = "https://test.bitpay.com/"; public const PROD_URL = "https://bitpay.com/"; public const BITPAY_API_VERSION = "2.0.0"; - public const BITPAY_PLUGIN_INFO = "BitPay_PHP_Client_v9.0.1"; + public const BITPAY_PLUGIN_INFO = "BitPay_PHP_Client_v9.0.2"; public const BITPAY_API_FRAME = "std"; public const BITPAY_API_FRAME_VERSION = "1.0.0"; } diff --git a/src/BitPaySDK/Model/Invoice/MinerFeesItem.php b/src/BitPaySDK/Model/Invoice/MinerFeesItem.php index b313aa44..474d938d 100644 --- a/src/BitPaySDK/Model/Invoice/MinerFeesItem.php +++ b/src/BitPaySDK/Model/Invoice/MinerFeesItem.php @@ -18,7 +18,7 @@ */ class MinerFeesItem { - protected ?int $satoshisPerByte = null; + protected ?float $satoshisPerByte = null; protected ?int $totalFee = null; protected ?float $fiatAmount = null; @@ -26,12 +26,12 @@ public function __construct() { } - public function getSatoshisPerByte(): ?int + public function getSatoshisPerByte(): ?float { return $this->satoshisPerByte; } - public function setSatoshisPerByte(int $satoshisPerByte): void + public function setSatoshisPerByte(float $satoshisPerByte): void { $this->satoshisPerByte = $satoshisPerByte; }