Which of the logic is based on repayment flows that contain the payment date, payment amount and currency?