Part of stoqlib.domain.commission
View In Hierarchy
API Documentation for Stoqlib, generated by pydoctor at 2009-07-14 16:00:32.
Commission Source object implementation
A CommissionSource is tied to a Category or Sellable, it's used to
determine the value of a commission for a certain item which is sold. There
are two different commission values defined here, one which is used when
the item is sold directly, eg one installment and another one which is used
when the item is sold in installments.
|Instance Variables||category||the sellable category
The category and the sellable should not exist when sellable exists and
the opposite is true.
|Class Variables||direct_value||the commission value to be used in one-installment sales
|installments_value||the commission value to be used in more than one installments sales