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: Update satoshisPerByte to float and bump version #308

Merged
merged 1 commit into from
May 7, 2024
Merged
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
2 changes: 1 addition & 1 deletion phpdoc.dist.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<output>docs</output>
</paths>

<version number="9.0.1">
<version number="9.0.2">
<api format="php">
<source dsn=".">
<path>src</path>
Expand Down
2 changes: 1 addition & 1 deletion src/BitPaySDK/Env.php
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}
6 changes: 3 additions & 3 deletions src/BitPaySDK/Model/Invoice/MinerFeesItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,20 @@
*/
class MinerFeesItem
{
protected ?int $satoshisPerByte = null;
protected ?float $satoshisPerByte = null;
protected ?int $totalFee = null;
protected ?float $fiatAmount = null;

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;
}
Expand Down
Loading