12345678910111213141516171819202122232425262728293031323334353637383940 |
- //
- // FDTDRDetailsModel.swift
- // Product Calculator
- //
- // Created by Suraj Kumar Mandal on 17/11/21.
- //
- import Foundation
- // MARK: - FDTDRDetails
- class FDTDRDetailsModel {
- var maturityDate, maturityDisplayDate : String?
- var interestReceived, totalInterestReceived : Int?
- var bankFdTdrLookupList = [FDTDRLookupList]()
-
- init(maturityDate:String, maturityDisplayDate:String, interestReceived:Int, totalInterestReceived:Int) {
- self.maturityDate = maturityDate
- self.maturityDisplayDate = maturityDisplayDate
- self.interestReceived = interestReceived
- self.totalInterestReceived = totalInterestReceived
- }
- }
- class FDTDRLookupList {
- let serialNo, amountDeposited, interestReceived, interestAccrued, totalInterestAccrued, daysToMaturity : Int?
- let referenceDate, referenceMonth, financialYear : String?
-
- init(serialNo:Int, amountDeposited:Int, interestReceived:Int, interestAccrued:Int, totalInterestAccrued:Int, daysToMaturity:Int, referenceDate:String, referenceMonth:String, financialYear:String) {
- self.serialNo = serialNo
- self.amountDeposited = amountDeposited
- self.interestReceived = interestReceived
- self.interestAccrued = interestAccrued
- self.totalInterestAccrued = totalInterestAccrued
- self.daysToMaturity = daysToMaturity
- self.referenceDate = referenceDate
- self.referenceMonth = referenceMonth
- self.financialYear = financialYear
- }
- }
|