Method: VoucherifySdk::ApplicationDetailsItem#hash

Defined in:
lib/VoucherifySdk/models/application_details_item.rb

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



166
167
168
# File 'lib/VoucherifySdk/models/application_details_item.rb', line 166

def hash
  [source_index, source_applied_quantity, source_applied_quantity_amount, target_index, target_applied_quantity, target_applied_quantity_amount, target_applied_discount_amount].hash
end