Package stocks3 :: Package core :: Module stock :: Class Unit
[hide private]
[frames] | no frames]

Class Unit

source code

Единица измерения количества довара, например, доллар.

Instance Methods [hide private]
 
__init__(self, unitId, scale)
Конструктор единицы товара.
source code
 
_get_unitid(self) source code
 
unitId(self) source code
 
_get_scale(self) source code
 
scale(self) source code
Method Details [hide private]

__init__(self, unitId, scale)
(Constructor)

source code 

Конструктор единицы товара.

Parameters:
  • unitId - Идентификатор единицы товара.
  • scale (number) - Показывает, сколько единиц товара содержится в нашей виртуальной единице.