Method: AmzSpApi::FulfillmentInboundApiModel::Pallet#hash

Defined in:
lib/fulfillment-inbound-api-model/models/pallet.rb

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



117
118
119
# File 'lib/fulfillment-inbound-api-model/models/pallet.rb', line 117

def hash
  [dimensions, weight, is_stacked].hash
end