Method: Printful::Item#hash
- Defined in:
- lib/printful_client/models/item.rb
#hash ⇒ Integer
Calculates hash code according to all attributes.
271 272 273 |
# File 'lib/printful_client/models/item.rb', line 271 def hash [id, external_id, variant_id, sync_variant_id, external_variant_id, warehouse_product_variant_id, product_template_id, external_product_id, quantity, price, retail_price, name, product, files, , sku, discontinued, out_of_stock].hash end |