Method: Printful::OrderEstimateRetailCosts#hash

Defined in:
lib/printful_client/models/order_estimate_retail_costs.rb

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



164
165
166
# File 'lib/printful_client/models/order_estimate_retail_costs.rb', line 164

def hash
  [currency, subtotal, discount, shipping, tax, vat, total].hash
end