What variable type should quantity and price be?
Its depend on your Use case, It could be as a string or Int32 or Int64
In most case, it’s good to use Int32.
If there is possibility it has decimal point, should use Double or Decimal.
If your need to handle large number (more than 2147483647) , should use Int64 or Decimal.