quantity Property
Quantity of items in this statement.
Syntax
def get_quantity() -> str: ... def set_quantity(value: str) -> None: ...
quantity = property(get_quantity, set_quantity)
Default Value
""
Remarks
The quantity of the Item (specified by item_id or item_name) you're adding to the statement.
If quantity and either rate, or amount are specified, QuickBooks will automatically calculate the other.
This property is a String type in order to allow setting fractional quantities. Setting this property with non-numeric data will cause an error. Correct usage of this Property is shown below:
class.Quantity = "3.5"
Leave this property blank and no quantity will be sent to QuickBooks.