def convertDict2Attrs(self, *args, **kwargs):
for n,r in enumerate(self.attrs):<EOL><INDENT>try:<EOL><INDENT>params = self.params<EOL><DEDENT>except AttributeError as aerr:<EOL><INDENT>params = {}<EOL><DEDENT>kwargs.update(params)<EOL>try:<EOL><INDENT>repayment = self.mamburepaymentclass(urlfunc=None, entid=None, *args, **kwargs)<EOL><DEDENT>except AttributeError as ae:<EOL><INDENT>self.mamburepaymentclass = MambuRepayment<EOL>repayment = self.mamburepaymentclass(urlfunc=None, entid=None, *args, **kwargs)<EOL><DEDENT>repayment.init(r, *args, **kwargs)<EOL>self.attrs[n] = repayment<EOL><DEDENT>
The trick for iterable Mambu Objects comes here:

        You iterate over each element of the responded List from Mambu,
        and create a Mambu Repayment object for each one, initializing
        them one at a time, and changing the attrs attribute (which just
        holds a list of plain dictionaries) with a MambuRepayment just
        created.

        You send a None urlfunc and entid to each MambuRepayment,
        because there's no method to retrieve individual repayments from
        Mambu, nor each individual repayment is identified by a
        particular ID.