quantity property
final
The quantity of the scanned item.
This represents the number of items scanned. With the delete key we can scan a product with a quantity of -1, which signifies the removal of a scanned item.
Implementation
final int quantity;