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