AppConstant.swift 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. //
  2. // AppConstant.swift
  3. // Product Calculator
  4. //
  5. // Created by Suraj Kumar Mandal on 09/11/21.
  6. //
  7. import Foundation
  8. import UIKit
  9. struct AppConstant {
  10. static let GOOGLE_CLIENT_ID = "943833744003-m0b5sivh9uil14r0fuk7sa6dn79bokva.apps.googleusercontent.com"
  11. static let dateFormat1 = "yyyy-MM-dd"
  12. static let dateFormat2 = "dd/MM/yyyy"
  13. //Alert View Constants
  14. static let Ok = "OK"
  15. static let defaultTitle = "Alert"
  16. static let defaultMsg = "Something went wrong"
  17. static let internetAlertTitle = "No Internet"
  18. static let internetAlertMessage = "Internet connection is not available, please check your internet connection and try again"
  19. //Dashboard Menu Constants
  20. static let MENU_IMAGE = [
  21. "safe-deposit",
  22. "saving-money",
  23. "save-money",
  24. "salary"
  25. ]
  26. static let MENU_TITLE = [
  27. "Deposit / Bonds",
  28. "Small Savings Scheme",
  29. "Retirement Scheme",
  30. "Loans & Liabilities"
  31. ]
  32. //Sub-Menu Constants
  33. static let SUB_MENU_IMAGE_1 = [
  34. "search-1",
  35. "coins",
  36. "dollar",
  37. "cash"
  38. ]
  39. static let SUB_MENU_TITLE_1 = [
  40. "Fixed Deposit",
  41. "Bank-Recurring Deposit",
  42. "Bonds & Debentures",
  43. "CP / CD"
  44. ]
  45. static let SUB_MENU_IMAGE_2 = [
  46. "certificate",
  47. "award",
  48. "notepad",
  49. "money-bag",
  50. "coins",
  51. "profits",
  52. "locker"
  53. ]
  54. static let SUB_MENU_TITLE_2 = [
  55. "PO National Saving Certificates",
  56. "Kisan Vikas Patra",
  57. "PO Monthly Income Scheme",
  58. "PO Recurring Deposit",
  59. "PO Time Deposit",
  60. "Sukanya Samriddhi Scheme",
  61. "Senior Citizen Saving Scheme"
  62. ]
  63. static let SUB_MENU_IMAGE_3 = [
  64. "saving-money",
  65. "provident",
  66. "old-man",
  67. "pension",
  68. "armoured-van"
  69. ]
  70. static let SUB_MENU_TITLE_3 = [
  71. "Public Provident Fund",
  72. "Employee Provident Fund",
  73. "National Pension System",
  74. "Atal Pension Yojana",
  75. "Annuities"
  76. ]
  77. static let SUB_MENU_IMAGE_4 = [
  78. "calculator",
  79. "salary"
  80. ]
  81. static let SUB_MENU_TITLE_4 = [
  82. "EMI Based Loan",
  83. "Non-EMI Based Loan"
  84. ]
  85. //Fixed Deposit Picker Constants
  86. static let DEPOSIT_TYPE = [
  87. "Bank FD TDR",
  88. "Bank FD STDR"
  89. ]
  90. static let FIXED_DEPOSIT_TERM = [
  91. "Year",
  92. "Days"
  93. ]
  94. static let INTEREST_PAYOUT_FREQUENCY = [
  95. "Monthly",
  96. "Bi-Monthly",
  97. "Quarterly",
  98. "Triannually",
  99. "Half Yearly",
  100. "Annually"
  101. ]
  102. //Bank Recurring Constants
  103. static let AMOUNT_DEPOSIT_FREQUENCY = [
  104. "Monthly",
  105. "Bi-Monthly",
  106. "Quarterly",
  107. "Triannually",
  108. "Half Yearly",
  109. "Annually"
  110. ]
  111. static let TERM_YEARS = [
  112. "1",
  113. "2",
  114. "3",
  115. "4",
  116. "5",
  117. "6",
  118. "7",
  119. "8",
  120. "9",
  121. "10",
  122. ]
  123. static let TERM_MONTHS = [
  124. "0",
  125. "3",
  126. "6",
  127. "9"
  128. ]
  129. static let COMPOUND_FREQUENCY = [
  130. "Monthly",
  131. "Bi-Monthly",
  132. "Quarterly",
  133. "Triannually",
  134. "Half Yearly",
  135. "Annually"
  136. ]
  137. //EMI Based Loan Constants
  138. static let LOAN_CATEGORY = [
  139. "Home",
  140. "Auto",
  141. "Education",
  142. "Personal",
  143. "Business",
  144. "Loan Against Property",
  145. "Loan Against Shares",
  146. "Others"
  147. ]
  148. static let LOAN_AMOUNT_TYPE = [
  149. "Original Loan Amount(Rs)",
  150. "Outstanding Principal Today(Rs)"
  151. ]
  152. //PPF extension
  153. static let EXTENSION = [
  154. "Yes",
  155. "No"
  156. ]
  157. //EPF Constants
  158. static let CONTRIBUTION_AGE = [
  159. "18",
  160. "19",
  161. "20"
  162. ]
  163. static let WITHDRAWAL_AGE = [
  164. "30",
  165. "31",
  166. "32"
  167. ]
  168. }
  169. struct ApiUrl {
  170. static let BASE_URL = "https://testenvsix.finlabsindia.org/productCalculatorAPI/"
  171. static let GET_FDTDR = "getBankFDTDRDetails"
  172. static let GET_FDSTDR = "getBankFDSTDRCDCPOutputList"
  173. static let GET_RECURRING_DEPOSIT = "getRecurringDepositCalculatedList"
  174. static let GET_BOND_DEBENTURE = "getBondDebentureDetails"
  175. static let GET_BOND_DEBENTURE_OUTPUT_LIST = "getBondDebentureOutputlist"
  176. static let GET_BANK_CPCD = "getBankCDCPOutputList"
  177. static let GET_PO_NATIONAL_SAVING = "getPONSCOutputList"
  178. static let GET_PO_NATIONAL_SAVING_INTEREST_RATE = "getNSCInterestRateFromStartDate"
  179. static let GET_KVP_INTEREST_RATE = "getKVPInterestRateFromStartDate"
  180. static let GET_KISAN_VIKAS_PATRA = "getKisanVikasPatraDetails"
  181. static let GET_PO_MONTHLY_INCOME_SCHEME_INTEREST = "getPOMISInterestRateFromStartDate"
  182. static let GET_PO_MONTHLY_INCOME_SCHEME = "getPOMISDetails"
  183. static let GET_PO_RECURRING_DEPOSIT_INTEREST = "getPORDInterestRateFromStartDate"
  184. static let GET_PO_RECURRING_DEPOSIT = "getPORecurringDepositDetails"
  185. static let GET_PO_TIME_DEPOSIT = "getPOTimeDepositDetails"
  186. static let GET_SUKANYA_SAMRIDDHI_INTEREST = "getSukanyaInterestRateFromStartDate"
  187. static let GET_SUKANYA_SAMRIDDHI_OUTPUT = "getSukanyaSamriddhiDetails"
  188. static let GET_SCSS_INTEREST_RATE = "getSCSSInterestRateFromStartDate"
  189. static let GET_SCSS_OUTPUT = "getSeniorCitizenSavingDetails"
  190. static let GET_PPF_INTEREST_RATE = "getPPFInterestRate"
  191. static let GET_PPF_WITH_EXTENSION = "getPPFDetails"
  192. static let GET_PPF_WITHOUT_EXTENSION = "getPPFoutputDetails"
  193. static let GET_EPF_DETAILS = "getEPFDetails"
  194. static let GET_EPF_INTEREST_RATE = "getEPFInterestRate"
  195. static let GET_EPF_GROWTH_RATE = "getEPFGrowthRate"
  196. static let GET_EMI_LOAN = "getEMILoanDetails"
  197. static let GET_EMI_LOAN_OUTPUT_LIST = "getEMILoanOutputList"
  198. static let GET_NON_EMI_LOAN = "getnonEMIDetails"
  199. static let GET_NON_EMI_LOAN_OUTPUT_LIST = "getnonEMILoanOutputList"
  200. }