Method: SquareConnect::BatchRetrieveInventoryChangesRequest#==

Defined in:
lib/square_connect/models/batch_retrieve_inventory_changes_request.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



124
125
126
127
128
129
130
131
132
133
134
# File 'lib/square_connect/models/batch_retrieve_inventory_changes_request.rb', line 124

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      catalog_object_ids == o.catalog_object_ids &&
      location_ids == o.location_ids &&
      types == o.types &&
      states == o.states &&
      updated_after == o.updated_after &&
      updated_before == o.updated_before &&
      cursor == o.cursor
end