Account Internal Hourly Rate Item Generator¶
-
class
moco_wrapper.util.generator.
AccountInternalHourlyRateItemGenerator
¶ -
generate
(user_id: int, rate: float)¶ Generates an item than can be used to update an internal rate
Parameters: - user_id (int) – User id to apply the rate
- rate (float) – Rate to apply
Returns: Item to update the interal rates of a user
Return type: dict
-