// // POMonthlyIncomeSchemeModel.swift // Product Calculator // // Created by Suraj Kumar Mandal on 03/12/21. // import Foundation // MARK: - POMonthlyIncomeSchemeModel class POMonthlyIncomeSchemeModel { var maturityDate, maturityDisplayDate : String? var interestReceived, totalInterestReceived, interestRate : Double? var postOfficeMISLookupList = [PostOfficeMISLookupList]() init(maturityDate:String, maturityDisplayDate:String, interestReceived:Double, totalInterestReceived:Double, interestRate:Double) { self.maturityDate = maturityDate self.maturityDisplayDate = maturityDisplayDate self.interestReceived = interestReceived self.totalInterestReceived = totalInterestReceived self.interestRate = interestRate } } class PostOfficeMISLookupList { let serialNo, daysToMaturity : Int? let referenceDate, referenceMonth, financialYear : String? let amountDeposited, totalInterestReceived, interestReceived : Double? init(serialNo:Int, amountDeposited:Double, totalInterestReceived:Double, interestReceived:Double, daysToMaturity:Int, referenceDate:String, referenceMonth:String, financialYear:String) { self.serialNo = serialNo self.amountDeposited = amountDeposited self.interestReceived = interestReceived self.totalInterestReceived = totalInterestReceived self.daysToMaturity = daysToMaturity self.referenceDate = referenceDate self.referenceMonth = referenceMonth self.financialYear = financialYear } }