ExchangeRate Data Type

Exchange rates are the rates of exchange in comparison to the USD.

Properties
name data type description
date number The date that this conversion is valid for.
currencyCode string The currency that this rate exchanges to.
rate number The multiplier to exchange this currency to USD.
Properties inherited from BaseHibernateEntity
id number The unique internal ID of the object.
version number For internal use only. This is the serialization recorder for optimistic locking of several objects between sessions.
Properties inherited from BaseEntity
violations array of SimpleViolation A list of constraint violations, if any, that this object has.

Example

{
  "date" : 12345,
  "currencyCode" : "...",
  "rate" : 12345.0,
  "id" : 12345,
  "version" : 12345,
  "violations" : [ {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  }, {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  } ]
}