Immutable implementation of ExchangeRateDto.
Use the builder to create immutable instances:
ImmutableExchangeRateDto.builder()
.
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" : [ { "title" : "...", "rels" : [ "...", "..." ], "uriBuilder" : { }, "params" : { "property1" : "...", "property2" : "..." }, "type" : "...", "rel" : "...", "uri" : "..." }, { "title" : "...", "rels" : [ "...", "..." ], "uriBuilder" : { }, "params" : { "property1" : "...", "property2" : "..." }, "type" : "...", "rel" : "...", "uri" : "..." } ], "currentRate" : true, "fromDate" : 12345, "exchangeRate" : 12345.0, "tradingCurrency" : { "links" : { "params" : { "property1" : { }, "property2" : { } }, "href" : "..." }, "id" : 12345, "code" : "..." } }