Method: OpenapiClient::ExchangeRateDetails#hash

Defined in:
lib/openapi_client/models/exchange_rate_details.rb

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



164
165
166
# File 'lib/openapi_client/models/exchange_rate_details.rb', line 164

def hash
  [inquiry_rate_id, foreign_currency, foreign_amount, exchange_rate, dcc_offered, exchange_rate_source_timestamp, expiration_timestamp, margin_rate_percentage, exchange_rate_source_name].hash
end