Method: OpenapiClient::ShipmentItem#hash

Defined in:
lib/openapi_client/models/shipment_item.rb

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



229
230
231
# File 'lib/openapi_client/models/shipment_item.rb', line 229

def hash
  [name, sales_order_id, sales_order_item_id, quantity, sku, external_order_id, external_order_item_id, asin, order_source_code].hash
end