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