Account Fixed Costs

class moco_wrapper.models.AccountFixedCost(moco)

Class for handling the fixed costs

Example Usage:

import datetime
from moco_wrapper import Moco

m = Moco()

costs = m.AccountFixedCost.getlist(year=2020)
static endpoints() → List[moco_wrapper.util.endpoint.endpoint.Endpoint]

Returns all endpoints associated with the model

Returns:List of Endpoint objects
Return type:moco_wrapper.util.endpoint.Endpoint
getlist(year: int = None, sort_by: str = None, sort_order: str = 'asc', page: int = 1)

Retrieve a list of fixed costs

Parameters:
  • year (int) – The year to retrieve the fixed costs for (default None)
  • sort_by (str) – Field to the results by (default None)
  • sort_order (str) – asc or desc (default "asc")
  • page (str) – Page number (default 1)
Returns:

List of fixed costs

Return type:

moco_wrapper.util.response.PagedListResponse