Method: TransferZero::Transaction#hash

Defined in:
lib/transferzero-sdk/models/transaction.rb

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



251
252
253
# File 'lib/transferzero-sdk/models/transaction.rb', line 251

def hash
  [input_currency, payin_methods, , sender, recipients, traits, state, input_amount, payin_reference, paid_amount, due_amount, created_at, expires_at, external_id, id, errors].hash
end