Method: UltracartClient::OrderInternal#hash

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

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



162
163
164
# File 'lib/ultracart_api/models/order_internal.rb', line 162

def hash
  [exported_to_accounting, merchant_notes, placed_by_user, refund_by_user, sales_rep_code, transactional_merchant_notes].hash
end