Method: IntegrationApi::Invoice#hash
- Defined in:
- lib/integration_api/models/invoice.rb
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
346 347 348 |
# File 'lib/integration_api/models/invoice.rb', line 346 def hash [client_id, create_date, currency_code, customer_id, department, description, document_id, due_date, id, invoice_date, invoice_name, invoice_number, is_active, line_items, , payment_instructions, payment_terms, secondary_id, status, total_amount, total_discount, total_due, total_subtotal, total_tax, update_date].hash end |