This repository was archived by the owner on Sep 4, 2021. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -154,6 +154,7 @@ public function execute(array $optional = [])
154154 {
155155 $ params = [
156156 'amount ' => $ this ->getAmount (),
157+ 'force ' => $ this ->isForced (),
157158 ];
158159
159160 if ($ this ->getMemo () !== null ) {
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ public function __construct()
1919
2020 $ namingStrategy = new MapNamingStrategy ([
2121 'amount (BTC) ' => 'bitcoins ' ,
22+ 'amount (LTC) ' => 'litecoins ' ,
2223 'amount ' => 'satoshis ' ,
2324 ]);
2425
Original file line number Diff line number Diff line change @@ -12,6 +12,11 @@ class Amount
1212 */
1313 private $ bitcoins = 0 ;
1414
15+ /**
16+ * @var float
17+ */
18+ private $ litecoins = 0 ;
19+
1520 /**
1621 * @var int
1722 */
@@ -37,6 +42,26 @@ public function setBitcoins($bitcoins)
3742 return $ this ;
3843 }
3944
45+ /**
46+ * @return float
47+ */
48+ public function getLitecoins ()
49+ {
50+ return $ this ->litecoins ;
51+ }
52+
53+ /**
54+ * @param float $litecoins
55+ *
56+ * @return Amount
57+ */
58+ public function setLitecoins ($ litecoins )
59+ {
60+ $ this ->litecoins = $ litecoins ;
61+
62+ return $ this ;
63+ }
64+
4065 /**
4166 * @return int
4267 */
You can’t perform that action at this time.
0 commit comments