Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SP-935 Change satoshisPerByte to float #307

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/classes/BitPaySDK-Client-BillClient.html
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ <h4 class="phpdocumentor-element__name" id="method_get">

<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">get</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href=""></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$billId</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type"><a href=""></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$facade</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">Facade::MERCHANT</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type"><a href=""></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$signRequest</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">true</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/BitPaySDK-Model-Bill-Bill.html"><abbr title="\BitPaySDK\Model\Bill\Bill">Bill</abbr></a></span></code>
<span class="phpdocumentor-signature__name">get</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href=""></a></span><span class="phpdocumentor-signature__argument__name">$billId</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type"><a href=""></a></span><span class="phpdocumentor-signature__argument__name">$facade</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">Facade::MERCHANT</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type"><a href=""></a></span><span class="phpdocumentor-signature__argument__name">$signRequest</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">true</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/BitPaySDK-Model-Bill-Bill.html"><abbr title="\BitPaySDK\Model\Bill\Bill">Bill</abbr></a></span></code>

<div class="phpdocumentor-label-line">
</div>
Expand All @@ -617,7 +617,7 @@ <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$billId</span>
: <span class="phpdocumentor-signature__argument__return-type"><a href=""></a></span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>string The id of the bill to retrieve.</p>
Expand All @@ -626,7 +626,7 @@ <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$facade</span>
: <span class="phpdocumentor-signature__argument__return-type"><a href=""></a></span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
= <span class="phpdocumentor-signature__argument__default-value">Facade::MERCHANT</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>string The facade used to retrieve it.</p>
Expand All @@ -635,7 +635,7 @@ <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$signRequest</span>
: <span class="phpdocumentor-signature__argument__return-type"><a href=""></a></span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
= <span class="phpdocumentor-signature__argument__default-value">true</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>bool Signed request.</p>
Expand Down
16 changes: 8 additions & 8 deletions docs/classes/BitPaySDK-Client.html
Original file line number Diff line number Diff line change
Expand Up @@ -2082,7 +2082,7 @@ <h4 class="phpdocumentor-element__name" id="method_getBill">

<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getBill</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href=""></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$billId</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type"><a href=""></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$facade</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">Facade::MERCHANT</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type"><a href=""></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$signRequest</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">true</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/BitPaySDK-Model-Bill-Bill.html"><abbr title="\BitPaySDK\Model\Bill\Bill">Bill</abbr></a></span></code>
<span class="phpdocumentor-signature__name">getBill</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href=""></a></span><span class="phpdocumentor-signature__argument__name">$billId</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type"><a href=""></a></span><span class="phpdocumentor-signature__argument__name">$facade</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">Facade::MERCHANT</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type"><a href=""></a></span><span class="phpdocumentor-signature__argument__name">$signRequest</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">true</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/BitPaySDK-Model-Bill-Bill.html"><abbr title="\BitPaySDK\Model\Bill\Bill">Bill</abbr></a></span></code>

<div class="phpdocumentor-label-line">
</div>
Expand All @@ -2091,7 +2091,7 @@ <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$billId</span>
: <span class="phpdocumentor-signature__argument__return-type"><a href=""></a></span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>string The id of the bill to retrieve.</p>
Expand All @@ -2100,7 +2100,7 @@ <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$facade</span>
: <span class="phpdocumentor-signature__argument__return-type"><a href=""></a></span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
= <span class="phpdocumentor-signature__argument__default-value">Facade::MERCHANT</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>string The facade used to retrieve it.</p>
Expand All @@ -2109,7 +2109,7 @@ <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$signRequest</span>
: <span class="phpdocumentor-signature__argument__return-type"><a href=""></a></span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
= <span class="phpdocumentor-signature__argument__default-value">true</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>bool Signed request.</p>
Expand Down Expand Up @@ -3817,7 +3817,7 @@ <h4 class="phpdocumentor-element__name" id="method_getSettlements">

<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">getSettlements</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href=""></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$currency</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type"><a href=""></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$dateStart</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type"><a href=""></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$dateEnd</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$status</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">int|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$limit</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">int|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$offset</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, <a href="classes/BitPaySDK-Model-Settlement-Settlement.html"><abbr title="\BitPaySDK\Model\Settlement\Settlement">Settlement</abbr></a>&gt;</span></code>
<span class="phpdocumentor-signature__name">getSettlements</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href=""></a></span><span class="phpdocumentor-signature__argument__name">$currency</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type"><a href=""></a></span><span class="phpdocumentor-signature__argument__name">$dateStart</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type"><a href=""></a></span><span class="phpdocumentor-signature__argument__name">$dateEnd</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$status</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">int|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$limit</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">int|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$offset</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, <a href="classes/BitPaySDK-Model-Settlement-Settlement.html"><abbr title="\BitPaySDK\Model\Settlement\Settlement">Settlement</abbr></a>&gt;</span></code>

<div class="phpdocumentor-label-line">
</div>
Expand All @@ -3829,7 +3829,7 @@ <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$currency</span>
: <span class="phpdocumentor-signature__argument__return-type"><a href=""></a></span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>string The three digit currency string for the ledger to retrieve.</p>
Expand All @@ -3838,7 +3838,7 @@ <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$dateStart</span>
: <span class="phpdocumentor-signature__argument__return-type"><a href=""></a></span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>string The start date for the query.</p>
Expand All @@ -3847,7 +3847,7 @@ <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$dateEnd</span>
: <span class="phpdocumentor-signature__argument__return-type"><a href=""></a></span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>string The end date for the query.</p>
Expand Down
4 changes: 2 additions & 2 deletions docs/classes/BitPaySDK-Env.html
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ <h4 id="toc-constants">
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
<a href="classes/BitPaySDK-Env.html#constant_BITPAY_PLUGIN_INFO">BITPAY_PLUGIN_INFO</a>
<span>
&nbsp;= &quot;BitPay_PHP_Client_v9.0.1&quot; </span>
&nbsp;= &quot;BitPay_PHP_Client_v9.0.2&quot; </span>
</dt>

<dt class="phpdocumentor-table-of-contents__entry -constant -public">
Expand Down Expand Up @@ -360,7 +360,7 @@ <h4 class="phpdocumentor-element__name" id="constant_BITPAY_PLUGIN_INFO">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">BITPAY_PLUGIN_INFO</span>
= <span class="phpdocumentor-signature__default-value">&quot;BitPay_PHP_Client_v9.0.1&quot;</span>
= <span class="phpdocumentor-signature__default-value">&quot;BitPay_PHP_Client_v9.0.2&quot;</span>
</code>


Expand Down
4 changes: 3 additions & 1 deletion docs/classes/BitPaySDK-Model-Invoice-Refund.html
Original file line number Diff line number Diff line change
Expand Up @@ -2888,7 +2888,9 @@ <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">

<section class="phpdocumentor-description"><p>: void</p>
</section>

</dd>
</dl>

Expand Down
4 changes: 2 additions & 2 deletions docs/classes/BitPaySDK-Model-Payout-PayoutRecipients.html
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ <h4 class="phpdocumentor-element__name" id="method___construct">

<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type"><a href=""></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$recipients</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type"><a href=""></a></span><span class="phpdocumentor-signature__argument__name">$recipients</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>

<div class="phpdocumentor-label-line">
</div>
Expand All @@ -452,7 +452,7 @@ <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$recipients</span>
: <span class="phpdocumentor-signature__argument__return-type"><a href=""></a></span>
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>array array of JSON objects, with containing the following parameters.</p>
Expand Down
Loading
Loading