Quantity
Quantity
Bases: DeepDataValue[Decimal, Optional[Item], Optional[Decimal], Optional[Decimal]]
Quantity.
Parameters:
-
amount(VTQuantityContent) –Amount.
-
unit(VTItem | None, default:None) –Unit.
-
lower_bound(VTQuantityContent | None, default:None) –Lower bound.
-
upper_bound(VTQuantityContent | None, default:None) –Upper bound.
amount()
The amount of quantity.
get_amount()
get_lower_bound(default=None)
get_unit(default=None)
get_upper_bound(default=None)
lower_bound()
The lower bound of quantity.
unit()
The unit of quantity.
upper_bound()
The upper bound of quantity.