Skip to content

Commit 359847f

Browse files
author
Antonio Buedo
authored
#v2.4 - Rates model refactor (#44)
1 parent 14aad5d commit 359847f

File tree

105 files changed

+3923
-158
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+3923
-158
lines changed

doc/allclasses-index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (12.0.1) on Wed Aug 21 15:33:20 CEST 2019 -->
5+
<!-- Generated by javadoc (12.0.1) on Wed Aug 21 16:49:24 CEST 2019 -->
66
<title>All Classes</title>
77
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
88
<meta name="dc.created" content="2019-08-21">
@@ -233,11 +233,11 @@ <h1 title="All&amp;nbsp;Classes" class="title">All&nbsp;Classes</h1>
233233
<th class="colLast" scope="row">&nbsp;</th>
234234
</tr>
235235
<tr class="altColor" id="i34">
236-
<td class="colFirst"><a href="com/bitpay/model/Rate.html" title="class in com.bitpay.model">Rate</a></td>
236+
<td class="colFirst"><a href="com/bitpay/model/Rate/Rate.html" title="class in com.bitpay.model.Rate">Rate</a></td>
237237
<th class="colLast" scope="row">&nbsp;</th>
238238
</tr>
239239
<tr class="rowColor" id="i35">
240-
<td class="colFirst"><a href="com/bitpay/model/Rates.html" title="class in com.bitpay.model">Rates</a></td>
240+
<td class="colFirst"><a href="com/bitpay/model/Rate/Rates.html" title="class in com.bitpay.model.Rate">Rates</a></td>
241241
<th class="colLast" scope="row">&nbsp;</th>
242242
</tr>
243243
<tr class="altColor" id="i36">

doc/allpackages-index.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (12.0.1) on Wed Aug 21 15:33:20 CEST 2019 -->
5+
<!-- Generated by javadoc (12.0.1) on Wed Aug 21 16:49:24 CEST 2019 -->
66
<title>All Packages</title>
77
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
88
<meta name="dc.created" content="2019-08-21">
@@ -114,10 +114,14 @@ <h1 title="All&amp;nbsp;Packages" class="title">All&nbsp;Packages</h1>
114114
<td class="colLast">&nbsp;</td>
115115
</tr>
116116
<tr class="altColor">
117-
<th class="colFirst" scope="row"><a href="com/bitpay/util/package-summary.html">com.bitpay.util</a></th>
117+
<th class="colFirst" scope="row"><a href="com/bitpay/model/Rate/package-summary.html">com.bitpay.model.Rate</a></th>
118118
<td class="colLast">&nbsp;</td>
119119
</tr>
120120
<tr class="rowColor">
121+
<th class="colFirst" scope="row"><a href="com/bitpay/util/package-summary.html">com.bitpay.util</a></th>
122+
<td class="colLast">&nbsp;</td>
123+
</tr>
124+
<tr class="altColor">
121125
<th class="colFirst" scope="row"><a href="test/package-summary.html">test</a></th>
122126
<td class="colLast">&nbsp;</td>
123127
</tr>

doc/com/bitpay/BitPayException.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (12.0.1) on Wed Aug 21 15:33:20 CEST 2019 -->
5+
<!-- Generated by javadoc (12.0.1) on Wed Aug 21 16:49:24 CEST 2019 -->
66
<title>BitPayException</title>
77
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
88
<meta name="dc.created" content="2019-08-21">

doc/com/bitpay/Client.html

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (12.0.1) on Wed Aug 21 15:33:20 CEST 2019 -->
5+
<!-- Generated by javadoc (12.0.1) on Wed Aug 21 16:49:24 CEST 2019 -->
66
<title>Client</title>
77
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
88
<meta name="dc.created" content="2019-08-21">
@@ -480,7 +480,7 @@ <h3>Method Summary</h3>
480480
</td>
481481
</tr>
482482
<tr class="rowColor" id="i29">
483-
<td class="colFirst"><code><a href="model/Rates.html" title="class in com.bitpay.model">Rates</a></code></td>
483+
<td class="colFirst"><code><a href="model/Rate/Rates.html" title="class in com.bitpay.model.Rate">Rates</a></code></td>
484484
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRates()">getRates</a></span>()</code></th>
485485
<td class="colLast">
486486
<div class="block">Retrieve the exchange rate table maintained by BitPay.</div>
@@ -1196,6 +1196,23 @@ <h4>deliverBill</h4>
11961196
</dl>
11971197
</li>
11981198
</ul>
1199+
<a id="getRates()">
1200+
<!-- -->
1201+
</a>
1202+
<ul class="blockList">
1203+
<li class="blockList">
1204+
<h4>getRates</h4>
1205+
<pre class="methodSignature">public&nbsp;<a href="model/Rate/Rates.html" title="class in com.bitpay.model.Rate">Rates</a>&nbsp;getRates()
1206+
throws <a href="BitPayException.html" title="class in com.bitpay">BitPayException</a></pre>
1207+
<div class="block">Retrieve the exchange rate table maintained by BitPay. See https://bitpay.com/bitcoin-exchange-rates.</div>
1208+
<dl>
1209+
<dt><span class="returnLabel">Returns:</span></dt>
1210+
<dd>A Rates object populated with the BitPay exchange rate table.</dd>
1211+
<dt><span class="throwsLabel">Throws:</span></dt>
1212+
<dd><code><a href="BitPayException.html" title="class in com.bitpay">BitPayException</a></code></dd>
1213+
</dl>
1214+
</li>
1215+
</ul>
11991216
<a id="isFullyPaid(com.bitpay.model.Invoice.Invoice)">
12001217
<!-- -->
12011218
</a>
@@ -1341,23 +1358,6 @@ <h4>getAllRefunds</h4>
13411358
</dl>
13421359
</li>
13431360
</ul>
1344-
<a id="getRates()">
1345-
<!-- -->
1346-
</a>
1347-
<ul class="blockList">
1348-
<li class="blockList">
1349-
<h4>getRates</h4>
1350-
<pre class="methodSignature">public&nbsp;<a href="model/Rates.html" title="class in com.bitpay.model">Rates</a>&nbsp;getRates()
1351-
throws <a href="BitPayException.html" title="class in com.bitpay">BitPayException</a></pre>
1352-
<div class="block">Retrieve the exchange rate table maintained by BitPay. See https://bitpay.com/bitcoin-exchange-rates.</div>
1353-
<dl>
1354-
<dt><span class="returnLabel">Returns:</span></dt>
1355-
<dd>A Rates object populated with the BitPay exchange rate table.</dd>
1356-
<dt><span class="throwsLabel">Throws:</span></dt>
1357-
<dd><code><a href="BitPayException.html" title="class in com.bitpay">BitPayException</a></code></dd>
1358-
</dl>
1359-
</li>
1360-
</ul>
13611361
<a id="getLedger(java.lang.String,java.lang.String,java.lang.String)">
13621362
<!-- -->
13631363
</a>

doc/com/bitpay/model/Bill/Bill.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (12.0.1) on Wed Aug 21 15:33:20 CEST 2019 -->
5+
<!-- Generated by javadoc (12.0.1) on Wed Aug 21 16:49:24 CEST 2019 -->
66
<title>Bill</title>
77
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
88
<meta name="dc.created" content="2019-08-21">

doc/com/bitpay/model/Bill/BillStatus.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (12.0.1) on Wed Aug 21 15:33:20 CEST 2019 -->
5+
<!-- Generated by javadoc (12.0.1) on Wed Aug 21 16:49:24 CEST 2019 -->
66
<title>BillStatus</title>
77
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
88
<meta name="dc.created" content="2019-08-21">

doc/com/bitpay/model/Bill/Item.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (12.0.1) on Wed Aug 21 15:33:20 CEST 2019 -->
5+
<!-- Generated by javadoc (12.0.1) on Wed Aug 21 16:49:24 CEST 2019 -->
66
<title>Item</title>
77
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
88
<meta name="dc.created" content="2019-08-21">

doc/com/bitpay/model/Bill/package-summary.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (12.0.1) on Wed Aug 21 15:33:20 CEST 2019 -->
5+
<!-- Generated by javadoc (12.0.1) on Wed Aug 21 16:49:24 CEST 2019 -->
66
<title>com.bitpay.model.Bill</title>
77
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
88
<meta name="dc.created" content="2019-08-21">

doc/com/bitpay/model/Bill/package-tree.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (12.0.1) on Wed Aug 21 15:33:20 CEST 2019 -->
5+
<!-- Generated by javadoc (12.0.1) on Wed Aug 21 16:49:24 CEST 2019 -->
66
<title>com.bitpay.model.Bill Class Hierarchy</title>
77
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
88
<meta name="dc.created" content="2019-08-21">

doc/com/bitpay/model/Currency.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (12.0.1) on Wed Aug 21 15:33:20 CEST 2019 -->
5+
<!-- Generated by javadoc (12.0.1) on Wed Aug 21 16:49:24 CEST 2019 -->
66
<title>Currency</title>
77
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
88
<meta name="dc.created" content="2019-08-21">

0 commit comments

Comments
 (0)