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" : [ { "rels" : [ "...", "..." ], "title" : "...", "uriBuilder" : { }, "uri" : "...", "rel" : "...", "type" : "...", "params" : { "property1" : "...", "property2" : "..." } }, { "rels" : [ "...", "..." ], "title" : "...", "uriBuilder" : { }, "uri" : "...", "rel" : "...", "type" : "...", "params" : { "property1" : "...", "property2" : "..." } } ], "currentRate" : true, "fromDate" : 12345, "exchangeRate" : 12345.0, "tradingCurrency" : { "id" : 12345, "links" : { "params" : { "property1" : { }, "property2" : { } }, "href" : "..." }, "code" : "..." } }