InterestAndPrincipal
    
            
    
    
    
        
        
    Table of Contents
    
    Properties
    
            - 
    $interest
    
                         : float            
- 
    $principal
    
                         : float            
    Methods
    
            - 
    __construct()
    
                                 : mixed    
- 
    interest()
    
                                 : float    
- 
    principal()
    
                                 : float    
        $interest
        
        
                                            
    
    
    
    
    
        protected
            float
    $interest
    
    
    
    
    
    
                    
    
        $principal
        
        
                                            
    
    
    
    
    
        protected
            float
    $principal
    
    
    
    
    
    
            
            
        
                    
    
        __construct()
        
    
    
    
    
    public
                    __construct([float $rate = 0.0 ][, int $period = 0 ][, int $numberOfPeriods = 0 ][, float $presentValue = 0 ][, float $futureValue = 0 ][, int $type = FinancialConstants::PAYMENT_END_OF_PERIOD ]) : mixed
    
        
    
    
        Parameters
    
                    - 
                $rate
                : float
                 = 0.0            
- 
                
            
- 
                $period
                : int
                 = 0            
- 
                
            
- 
                $numberOfPeriods
                : int
                 = 0            
- 
                
            
- 
                $presentValue
                : float
                 = 0            
- 
                
            
- 
                $futureValue
                : float
                 = 0            
- 
                
            
- 
                $type
                : int
                 = FinancialConstants::PAYMENT_END_OF_PERIOD            
- 
                
            
        interest()
        
    
    
    
    
    public
                    interest() : float
    
        
    
    
    
    
    
            
                    
    
        principal()
        
    
    
    
    
    public
                    principal() : float