'Return all payment tied to a specific transaction.'

def get_payments(self, transaction_id):

    db_result = self.execute(u'SELECT    *    FROM    payments    WHERE    transaction_trader_id    =    ?    AND    transaction_number    =    ?ORDER    BY    timestamp    ASC', (unicode(transaction_id.trader_id), unicode(transaction_id.transaction_number))).fetchall()
    return [Payment.from_database(db_item) for db_item in db_result]
