File tree Expand file tree Collapse file tree 1 file changed +21
-11
lines changed Expand file tree Collapse file tree 1 file changed +21
-11
lines changed Original file line number Diff line number Diff line change 1
1
# TCBM java API
2
2
3
- < hr >
4
- ## Verion 1.0.1
3
+ ## Version 1.0.1
4
+
5
5
## Factory Class CurrencyFactory
6
+
6
7
## Moneys Enum Moneys
7
- ## Cureency Interface Currency
8
+
9
+ ## Currency Interface Currency
10
+
8
11
## Main Class Main
9
12
10
13
<hr >
11
14
12
15
# Methods
13
16
<hr >
14
- <code >getCurrency(); //return Money name, selling price, buying price and date</code >
17
+
18
+ <code >getCurrency(); //return Money name, selling price, buying price and date</code >
15
19
16
20
## Usage
17
21
<hr >
18
- <code > CurrencyFactory factory = new CurrencyFactory(Moneys.US_DOLLAR); //constructor not empty
19
- Currency cur = factory.getCurrency(); // get selected money unit current infos name,buying,selling,date
22
+ <code > CurrencyFactory factory = new CurrencyFactory(Moneys.US_DOLLAR);
23
+
24
+ Currency cur = factory.getCurrency(); // get selected money unit current infos
25
+
26
+ String date = cur.getDate(); // 12/14/2018
27
+
28
+ String name = cur.getName(); // US DOLLAR
29
+
30
+ float buying = cur.getBuyingPrice(); // 5.3672
20
31
21
- String date = cur.getDate(); // 12/14/2018
22
- String name = cur.getName(); // US DOLLAR
23
- float buying = cur.getBuyingPrice(); // 5.3672
24
- float selling = cur.getSellingPrice(); // 5.3887
25
- boolean isForex = cur.isForex(); // false dollar not forex</code >
32
+ float selling = cur.getSellingPrice(); // 5.3887
26
33
34
+ boolean isForex = cur.isForex(); // false dollar not forex
35
+ </code >
36
+ <hr >
27
37
28
38
You can’t perform that action at this time.
0 commit comments