Method: Printful::Item#==
- Defined in:
- lib/printful_client/models/item.rb
#==(o) ⇒ Object
Checks equality by comparing each attribute.
240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 |
# File 'lib/printful_client/models/item.rb', line 240 def ==(o) return true if self.equal?(o) self.class == o.class && id == o.id && external_id == o.external_id && variant_id == o.variant_id && sync_variant_id == o.sync_variant_id && external_variant_id == o.external_variant_id && warehouse_product_variant_id == o.warehouse_product_variant_id && product_template_id == o.product_template_id && external_product_id == o.external_product_id && quantity == o.quantity && price == o.price && retail_price == o.retail_price && name == o.name && product == o.product && files == o.files && == o. && sku == o.sku && discontinued == o.discontinued && out_of_stock == o.out_of_stock end |