Skip to content
Merged
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
26 changes: 13 additions & 13 deletions src/BitPaySDK/Model/Invoice/Invoice.php
Original file line number Diff line number Diff line change
Expand Up @@ -1015,7 +1015,7 @@ public function setLowFeeDetected($lowFeeDetected)
/**
* Gets invoiceTime - UNIX time of invoice creation, in milliseconds
*
* @return string
* @return int
*/
public function getInvoiceTime()
{
Expand All @@ -1025,7 +1025,7 @@ public function getInvoiceTime()
/**
* Sets invoiceTime - UNIX time of invoice creation, in milliseconds
*
* @param $invoiceTime
* @param int $invoiceTime
*/
public function setInvoiceTime($invoiceTime)
{
Expand Down Expand Up @@ -1105,7 +1105,7 @@ public function setTransactions($transactions)
* "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 boolean|string
* @return boolean
*/
public function getExceptionStatus()
{
Expand All @@ -1121,7 +1121,7 @@ public function getExceptionStatus()
* "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|string $exceptionStatus
* @param boolean $exceptionStatus
*/
public function setExceptionStatus($exceptionStatus)
{
Expand All @@ -1136,7 +1136,7 @@ public function setExceptionStatus($exceptionStatus)
* 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 numeric
* @return int
*/
public function getTargetConfirmations()
{
Expand All @@ -1150,8 +1150,8 @@ public function getTargetConfirmations()
* 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
*
* @param numeric $targetConfirmations
*c
* @param int $targetConfirmations
*/
public function setTargetConfirmations($targetConfirmations)
{
Expand Down Expand Up @@ -1331,7 +1331,7 @@ public function getPaymentTotals()
*
* For internal use - This field can be ignored in merchant implementations.
*
* @param $paymentTotals
* @param object $paymentTotals
*/
public function setPaymentTotals($paymentTotals)
{
Expand All @@ -1355,7 +1355,7 @@ public function getPaymentSubTotals()
*
* For internal use. This field can be ignored in merchant implementations.
*
* @param $paymentSubtotals
* @param object $paymentSubtotals
*/
public function setPaymentSubTotals($paymentSubtotals)
{
Expand Down Expand Up @@ -1383,7 +1383,7 @@ public function getPaymentDisplaySubTotals()
* The key is the currency and the value is an amount indicated in the base unit
* for each supported transactionCurrency.
*
* @param $paymentDisplaySubtotals
* @param object $paymentDisplaySubtotals
*/
public function setPaymentDisplaySubTotals($paymentDisplaySubtotals)
{
Expand Down Expand Up @@ -1413,7 +1413,7 @@ public function getPaymentDisplayTotals()
* The key is the currency and the value is an amount
* indicated in the base unit for each supported transactionCurrency.
*
* @param $paymentDisplaytotals
* @param object $paymentDisplaytotals
*/
public function setPaymentDisplayTotals($paymentDisplaytotals)
{
Expand Down Expand Up @@ -1733,7 +1733,7 @@ public function getAmountPaid()
* 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 number $amountPaid
* @param int $amountPaid
*/
public function setAmountPaid($amountPaid)
{
Expand Down Expand Up @@ -1785,7 +1785,7 @@ public function getExchangeRates()
*
* Exchange rates keyed by source and target currencies.
*
* @param $exchangeRates
* @param object $exchangeRates
*/
public function setExchangeRates($exchangeRates)
{
Expand Down