Method: UltracartClient::OrderPaymentTransaction#hash

Defined in:
lib/ultracart_api/models/order_payment_transaction.rb

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



137
138
139
# File 'lib/ultracart_api/models/order_payment_transaction.rb', line 137

def hash
  [details, successful, transaction_gateway, transaction_id, transaction_timestamp].hash
end