Utility type used to correctly read immutable object from JSON representation.
| name | data type | description |
|---|---|---|
| currentRate | boolean | |
| fromDate | number | |
| exchangeRate | number | |
| tradingCurrency | Resource | |
| id | number | |
| code | string | |
| links | array of Link |
Example
{
"currentRate" : true,
"fromDate" : 12345,
"exchangeRate" : 12345.0,
"tradingCurrency" : {
"id" : 12345,
"code" : "...",
"links" : {
"href" : "...",
"params" : {
"property1" : { },
"property2" : { }
}
}
},
"id" : 12345,
"code" : "...",
"links" : [ {
"uri" : "...",
"params" : {
"property1" : "...",
"property2" : "..."
},
"rel" : "...",
"uriBuilder" : { },
"rels" : [ "...", "..." ],
"title" : "...",
"type" : "..."
}, {
"uri" : "...",
"params" : {
"property1" : "...",
"property2" : "..."
},
"rel" : "...",
"uriBuilder" : { },
"rels" : [ "...", "..." ],
"title" : "...",
"type" : "..."
} ]
}