Skip to content

Commit 5500fe9

Browse files
authored
Merge pull request #195 from mwarzybok-sumoheavy/feature/fix192-master
Fix missing types for JsonMapper
2 parents 5b131be + e2f68b8 commit 5500fe9

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/BitPaySDK/Model/Invoice/Invoice.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ public function setPaymentCurrencies(array $paymentCurrencies)
536536
* If not set, invoice will default to the account acceptanceWindow.
537537
* If account acceptanceWindow is not set, invoice will default to 15 minutes (900,000 milliseconds).
538538
*
539-
* @return mixed
539+
* @return float|null
540540
*/
541541
public function getAcceptanceWindow()
542542
{
@@ -1232,7 +1232,7 @@ public function setBuyerProvidedEmail($buyerProvidedEmail)
12321232
* Information collected from the buyer during the process of paying an invoice.
12331233
* Initially this object is empty.
12341234
*
1235-
* @return object
1235+
* @return BuyerProvidedInfo|null
12361236
*/
12371237
public function getBuyerProvidedInfo()
12381238
{
@@ -1268,7 +1268,7 @@ public function setTransactionDetails(TransactionDetails $transactionDetails)
12681268
*
12691269
* Object containing wallet-specific URLs for payment protocol.
12701270
*
1271-
* @return object UniversalCodes
1271+
* @return UniversalCodes|null UniversalCodes
12721272
*/
12731273
public function getUniversalCodes()
12741274
{
@@ -1295,7 +1295,7 @@ public function setUniversalCodes(UniversalCodes $universalCodes)
12951295
* If you disable a currency via the invoice parameter "paymentCurrencies",
12961296
* this parameter will be set to "merchantDisabledByParam"
12971297
*
1298-
* @return object
1298+
* @return SupportedTransactionCurrencies|null
12991299
*/
13001300
public function getSupportedTransactionCurrencies()
13011301
{
@@ -1468,7 +1468,7 @@ public function setPaymentCodes($paymentCodes)
14681468
* It equals to the absolute difference between amountPaid
14691469
* and paymentTotals for the corresponding transactionCurrency used.
14701470
*
1471-
* @return numeric
1471+
* @return int|null
14721472
*/
14731473
public function getUnderpaidAmount()
14741474
{
@@ -1498,7 +1498,7 @@ public function setUnderpaidAmount($underpaidAmount)
14981498
* It equals to the absolute difference between amountPaid
14991499
* and paymentTotals for the corresponding transactionCurrency used.
15001500
*
1501-
* @return numeric
1501+
* @return int|null
15021502
*/
15031503
public function getOverpaidAmount()
15041504
{
@@ -1727,7 +1727,7 @@ public function setTransactionCurrency($transactionCurrency)
17271727
* The total amount paid to the invoice in terms of the invoice transactionCurrency indicated
17281728
* in the smallest possible unit for the corresponding transactionCurrency (e.g satoshis for BTC and BCH)
17291729
*
1730-
* @return number
1730+
* @return int|null
17311731
*/
17321732
public function getAmountPaid()
17331733
{

0 commit comments

Comments
 (0)