Function will return the amount paid per payment based on the frequency.

def get_mortgage_payment_per_payment_frequency(self):
        """
        Function will return the amount paid per payment based on the frequency.
        """
        # Calculate the interest rate per the payment parameters:
        r = self.get_interest_rate_per_payment_frequency()

        # Calculate the total number of payments given the parameters:
        n = self.get_total_number_of_payments_per_frequency()

        # Variables used as number holders.
        p = self._loan_amount
        mortgage = None
        top = None
        bottom = None

        top = r + 1
        top = math.pow(top, n)
        top = r * top

        bottom = r + 1
        bottom = math.pow(bottom, n)
        bottom = bottom - 1

        if bottom == 0:
            return Money(amount=0.00, currency=self._currency)

        mortgage = (top / bottom)
        mortgage = mortgage * p

        return mortgage