9
9
10
10
import java .util .ArrayList ;
11
11
12
- public class InstantConversion extends EntityBase {
12
+ public class Conversion extends EntityBase {
13
+
14
+ /**
15
+ * The unique identifier of the active quote which guaranteed the rate for the conversion.
16
+ */
17
+ @ SerializedName ("QuoteId" )
18
+ public String quoteId ;
19
+
20
+ /**
21
+ * The type of transaction
22
+ */
23
+ @ SerializedName ("Type" )
24
+ public TransactionType type ;
25
+
26
+ /**
27
+ * The nature of the transaction, providing more
28
+ * information about the context in which the transaction occurred:
29
+ */
30
+ @ SerializedName ("Nature" )
31
+ public TransactionNature nature ;
32
+
33
+ /**
34
+ * The status of the transaction.
35
+ */
36
+ @ SerializedName ("Status" )
37
+ public TransactionStatus status ;
13
38
14
39
/**
15
40
* The unique identifier of the user at the source of the transaction.
@@ -35,37 +60,18 @@ public class InstantConversion extends EntityBase {
35
60
@ SerializedName ("DebitedFunds" )
36
61
public Money debitedFunds ;
37
62
38
-
39
63
/**
40
64
* The buy funds
41
65
*/
42
66
@ SerializedName ("CreditedFunds" )
43
67
public Money creditedFunds ;
44
68
45
69
/**
46
- * Real time indicative market rate of a specific currency pair
47
- */
48
- @ SerializedName ("ConversionRate" )
49
- public ConversionRate conversionRate ;
50
-
51
- /**
52
- * The status of the transaction.
53
- */
54
- @ SerializedName ("Status" )
55
- public TransactionStatus status ;
56
-
57
- /**
58
- * The type of transaction
59
- */
60
- @ SerializedName ("Type" )
61
- public TransactionType type ;
62
-
63
- /**
64
- * The nature of the transaction, providing more
65
- * information about the context in which the transaction occurred:
70
+ * Information about the fees taken by the platform for
71
+ * this transaction (and hence transferred to the Fees Wallet).
66
72
*/
67
- @ SerializedName ("Nature " )
68
- public TransactionNature nature ;
73
+ @ SerializedName ("Fees " )
74
+ public Money fees ;
69
75
70
76
/**
71
77
* The code indicates the result of the operation.
@@ -89,11 +95,18 @@ public class InstantConversion extends EntityBase {
89
95
public Long executionDate ;
90
96
91
97
/**
92
- * Information about the fees taken by the platform for
93
- * this transaction (and hence transferred to the Fees Wallet).
98
+ * Real time indicative market rate of a specific currency pair
94
99
*/
95
- @ SerializedName ("Fees" )
96
- public Money fees ;
100
+ @ SerializedName ("ConversionRateResponse" )
101
+ public ConversionRate conversionRate ;
102
+
103
+ public String getQuoteId () {
104
+ return quoteId ;
105
+ }
106
+
107
+ public void setQuoteId (String quoteId ) {
108
+ this .quoteId = quoteId ;
109
+ }
97
110
98
111
public String getAuthorId () {
99
112
return authorId ;
0 commit comments