Method: VoucherifySdk::Product#hash

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

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



228
229
230
# File 'lib/VoucherifySdk/models/product.rb', line 228

def hash
  [id, source_id, name, price, attributes, , image_url, created_at, updated_at, object, skus].hash
end