diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 5bb67f9..c41654c 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -5,8 +5,7 @@
-
+
@@ -33,9 +32,10 @@
android:theme="@style/Theme.NiveshFDSDK"
tools:targetApi="31">
+
@@ -44,7 +44,25 @@
+
+
+
+
+
+
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/NiveshFdApplication.kt b/app/src/main/java/com/nivesh/production/niveshfd/NiveshFdApplication.kt
index 740572d..70cc618 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/NiveshFdApplication.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/NiveshFdApplication.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd
+package com.nivesh.production.niveshfd.fd
import android.app.Application
import android.content.Context
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/adapter/BankListAdapter.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/adapter/BankListAdapter.kt
similarity index 96%
rename from app/src/main/java/com/nivesh/production/niveshfd/adapter/BankListAdapter.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/adapter/BankListAdapter.kt
index 6536925..dae92e6 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/adapter/BankListAdapter.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/adapter/BankListAdapter.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.adapter
+package com.nivesh.production.niveshfd.fd.adapter
import android.view.LayoutInflater
import android.view.View
@@ -7,7 +7,7 @@ import android.widget.ImageView
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.nivesh.production.niveshfd.R
-import com.nivesh.production.niveshfd.model.ClientBanklist
+import com.nivesh.production.niveshfd.fd.model.ClientBanklist
class BankListAdapter(
private val bankList: List?,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/adapter/CustomerListAdapter.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/adapter/CustomerListAdapter.kt
similarity index 94%
rename from app/src/main/java/com/nivesh/production/niveshfd/adapter/CustomerListAdapter.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/adapter/CustomerListAdapter.kt
index 434cfbf..6398fa0 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/adapter/CustomerListAdapter.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/adapter/CustomerListAdapter.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.adapter
+package com.nivesh.production.niveshfd.fd.adapter
import android.view.LayoutInflater
import android.view.View
@@ -7,7 +7,7 @@ import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.google.android.material.switchmaterial.SwitchMaterial
import com.nivesh.production.niveshfd.R
-import com.nivesh.production.niveshfd.model.GetCodes
+import com.nivesh.production.niveshfd.fd.model.GetCodes
class CustomerListAdapter(
private val customerList: MutableList?
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/adapter/DisableAdapter.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/adapter/DisableAdapter.kt
similarity index 93%
rename from app/src/main/java/com/nivesh/production/niveshfd/adapter/DisableAdapter.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/adapter/DisableAdapter.kt
index f3e4d00..e1c4a8e 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/adapter/DisableAdapter.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/adapter/DisableAdapter.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.adapter
+package com.nivesh.production.niveshfd.fd.adapter
import android.annotation.SuppressLint
import android.content.Context
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/adapter/HorizontalRecyclerViewAdapter.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/adapter/HorizontalRecyclerViewAdapter.kt
similarity index 93%
rename from app/src/main/java/com/nivesh/production/niveshfd/adapter/HorizontalRecyclerViewAdapter.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/adapter/HorizontalRecyclerViewAdapter.kt
index 381c31b..2ae0dc2 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/adapter/HorizontalRecyclerViewAdapter.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/adapter/HorizontalRecyclerViewAdapter.kt
@@ -1,6 +1,6 @@
-package com.nivesh.production.niveshfd.adapter
+package com.nivesh.production.niveshfd.fd.adapter
-import ROIDataList
+import com.nivesh.production.niveshfd.fd.model.ROIDataList
import android.annotation.SuppressLint
import android.app.Activity
import android.view.LayoutInflater
@@ -12,8 +12,8 @@ import androidx.core.content.ContextCompat
import androidx.core.content.res.ResourcesCompat
import androidx.recyclerview.widget.RecyclerView
import com.nivesh.production.niveshfd.R
-import com.nivesh.production.niveshfd.adapter.HorizontalRecyclerViewAdapter.HistoryAdapterViewHolder2
-import com.nivesh.production.niveshfd.interfaces.OnClickListener
+import com.nivesh.production.niveshfd.fd.adapter.HorizontalRecyclerViewAdapter.HistoryAdapterViewHolder2
+import com.nivesh.production.niveshfd.fd.interfaces.OnClickListener
class HorizontalRecyclerViewAdapter(
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/adapter/PaymentModeAdapter.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/adapter/PaymentModeAdapter.kt
similarity index 96%
rename from app/src/main/java/com/nivesh/production/niveshfd/adapter/PaymentModeAdapter.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/adapter/PaymentModeAdapter.kt
index 361de45..fb162b5 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/adapter/PaymentModeAdapter.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/adapter/PaymentModeAdapter.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.adapter
+package com.nivesh.production.niveshfd.fd.adapter
import android.view.LayoutInflater
import android.view.View
@@ -7,7 +7,7 @@ import android.widget.ImageView
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.nivesh.production.niveshfd.R
-import com.nivesh.production.niveshfd.model.GetCodes
+import com.nivesh.production.niveshfd.fd.model.GetCodes
class PaymentModeAdapter(
private val listOfPayMode: MutableList,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/adapter/RecommendedBankListAdapter.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/adapter/RecommendedBankListAdapter.kt
similarity index 90%
rename from app/src/main/java/com/nivesh/production/niveshfd/adapter/RecommendedBankListAdapter.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/adapter/RecommendedBankListAdapter.kt
index de8cad8..64e6217 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/adapter/RecommendedBankListAdapter.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/adapter/RecommendedBankListAdapter.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.adapter
+package com.nivesh.production.niveshfd.fd.adapter
import android.view.LayoutInflater
import android.view.View
@@ -6,7 +6,7 @@ import android.view.ViewGroup
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.nivesh.production.niveshfd.R
-import com.nivesh.production.niveshfd.model.Bank
+import com.nivesh.production.niveshfd.fd.model.Bank
class RecommendedBankListAdapter(
private val bankList: List
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/adapter/SectionsPagerAdapter.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/adapter/SectionsPagerAdapter.kt
similarity index 91%
rename from app/src/main/java/com/nivesh/production/niveshfd/adapter/SectionsPagerAdapter.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/adapter/SectionsPagerAdapter.kt
index cb29eea..359b008 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/adapter/SectionsPagerAdapter.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/adapter/SectionsPagerAdapter.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.adapter
+package com.nivesh.production.niveshfd.fd.adapter
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentManager
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/api/ApiCallback.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/api/ApiCallback.kt
similarity index 90%
rename from app/src/main/java/com/nivesh/production/niveshfd/api/ApiCallback.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/api/ApiCallback.kt
index 60cb275..c5a6669 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/api/ApiCallback.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/api/ApiCallback.kt
@@ -1,6 +1,6 @@
-package com.nivesh.production.niveshfd.api
+package com.nivesh.production.niveshfd.fd.api
-import com.nivesh.production.niveshfd.util.Resource
+import com.nivesh.production.niveshfd.fd.util.Resource
import retrofit2.Call
import retrofit2.Callback
import retrofit2.Response
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/api/ApiClient.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/api/ApiClient.kt
similarity index 90%
rename from app/src/main/java/com/nivesh/production/niveshfd/api/ApiClient.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/api/ApiClient.kt
index 4c7bfa6..c386360 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/api/ApiClient.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/api/ApiClient.kt
@@ -1,8 +1,8 @@
-package com.nivesh.production.niveshfd.api
+package com.nivesh.production.niveshfd.fd.api
-import com.nivesh.production.niveshfd.NiveshFdApplication
-import com.nivesh.production.niveshfd.interfaces.ApiInterface
-import com.nivesh.production.niveshfd.util.Constants.Companion.BASE_URL
+import com.nivesh.production.niveshfd.fd.NiveshFdApplication
+import com.nivesh.production.niveshfd.fd.interfaces.ApiInterface
+import com.nivesh.production.niveshfd.fd.util.Constants.Companion.BASE_URL
import okhttp3.OkHttpClient
import okhttp3.logging.HttpLoggingInterceptor
import retrofit2.Retrofit
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/api/TokenAuthenticator.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/api/TokenAuthenticator.kt
similarity index 90%
rename from app/src/main/java/com/nivesh/production/niveshfd/api/TokenAuthenticator.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/api/TokenAuthenticator.kt
index 72bffdf..32e2814 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/api/TokenAuthenticator.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/api/TokenAuthenticator.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.api
+package com.nivesh.production.niveshfd.fd.api
import okhttp3.Authenticator
import okhttp3.Request
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/db/PreferenceManager.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/db/PreferenceManager.kt
similarity index 97%
rename from app/src/main/java/com/nivesh/production/niveshfd/db/PreferenceManager.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/db/PreferenceManager.kt
index c2a7fea..f65057f 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/db/PreferenceManager.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/db/PreferenceManager.kt
@@ -1,8 +1,8 @@
-package com.nivesh.production.niveshfd.db
+package com.nivesh.production.niveshfd.fd.db
import android.content.Context
import android.content.SharedPreferences
-import com.nivesh.production.niveshfd.interfaces.IPreferenceHelper
+import com.nivesh.production.niveshfd.fd.interfaces.IPreferenceHelper
open class PreferenceManager(context: Context) : IPreferenceHelper {
private val preferenceName = "NiveshFDSDK"
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/interfaces/ApiInterface.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/interfaces/ApiInterface.kt
similarity index 97%
rename from app/src/main/java/com/nivesh/production/niveshfd/interfaces/ApiInterface.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/interfaces/ApiInterface.kt
index ca1f6c6..4f435b3 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/interfaces/ApiInterface.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/interfaces/ApiInterface.kt
@@ -1,7 +1,7 @@
-package com.nivesh.production.niveshfd.interfaces
+package com.nivesh.production.niveshfd.fd.interfaces
import com.google.gson.JsonObject
-import com.nivesh.production.niveshfd.model.*
+import com.nivesh.production.niveshfd.fd.model.*
import okhttp3.RequestBody
import retrofit2.Response
import retrofit2.http.*
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/interfaces/IPreferenceHelper.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/interfaces/IPreferenceHelper.kt
similarity index 91%
rename from app/src/main/java/com/nivesh/production/niveshfd/interfaces/IPreferenceHelper.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/interfaces/IPreferenceHelper.kt
index 9f86f3c..5a98806 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/interfaces/IPreferenceHelper.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/interfaces/IPreferenceHelper.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.interfaces
+package com.nivesh.production.niveshfd.fd.interfaces
interface IPreferenceHelper {
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/interfaces/OnClickListener.java b/app/src/main/java/com/nivesh/production/niveshfd/fd/interfaces/OnClickListener.java
similarity index 59%
rename from app/src/main/java/com/nivesh/production/niveshfd/interfaces/OnClickListener.java
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/interfaces/OnClickListener.java
index 0c0bcac..75d6b4a 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/interfaces/OnClickListener.java
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/interfaces/OnClickListener.java
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.interfaces;
+package com.nivesh.production.niveshfd.fd.interfaces;
public interface OnClickListener {
void onclickCategory(int position);
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/interfaces/SendData.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/interfaces/SendData.kt
similarity index 54%
rename from app/src/main/java/com/nivesh/production/niveshfd/interfaces/SendData.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/interfaces/SendData.kt
index c50bc11..e952475 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/interfaces/SendData.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/interfaces/SendData.kt
@@ -1,6 +1,6 @@
-package com.nivesh.production.niveshfd.interfaces
+package com.nivesh.production.niveshfd.fd.interfaces
-import com.nivesh.production.niveshfd.model.CreateFDApplicationResponse
+import com.nivesh.production.niveshfd.fd.model.CreateFDApplicationResponse
interface SendData {
fun sendDataFragment(message: CreateFDApplicationResponse)
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/ApplicantDetails.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ApplicantDetails.kt
similarity index 94%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/ApplicantDetails.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/ApplicantDetails.kt
index fefa1d7..252ab36 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/ApplicantDetails.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ApplicantDetails.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class ApplicantDetails(
var AnnualIncome: String?= null,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/ApplicantRelationDetails.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ApplicantRelationDetails.kt
similarity index 87%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/ApplicantRelationDetails.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/ApplicantRelationDetails.kt
index 5a91fe2..f871b4d 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/ApplicantRelationDetails.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ApplicantRelationDetails.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class ApplicantRelationDetails(
var ApplicantMotherFirstName: String? = null,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/Bank.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/Bank.kt
similarity index 59%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/Bank.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/Bank.kt
index 308d7bd..82cc887 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/Bank.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/Bank.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class Bank(
val BankName: String,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/BankList.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/BankList.kt
similarity index 85%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/BankList.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/BankList.kt
index 8b28ac3..87014f3 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/BankList.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/BankList.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
import java.io.Serializable
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/BankValidationApiRequest.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/BankValidationApiRequest.kt
similarity index 81%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/BankValidationApiRequest.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/BankValidationApiRequest.kt
index e7e600b..41673a6 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/BankValidationApiRequest.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/BankValidationApiRequest.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class BankValidationApiRequest(
var BankAccountNo: String?="",
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/BankValidationApiResponse.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/BankValidationApiResponse.kt
similarity index 76%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/BankValidationApiResponse.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/BankValidationApiResponse.kt
index 0dc36e5..bbdbf98 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/BankValidationApiResponse.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/BankValidationApiResponse.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class BankValidationApiResponse(
val DataObject: Any,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/CheckFDKYCRequest.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/CheckFDKYCRequest.kt
similarity index 75%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/CheckFDKYCRequest.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/CheckFDKYCRequest.kt
index fe4b289..ac57b79 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/CheckFDKYCRequest.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/CheckFDKYCRequest.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class CheckFDKYCRequest(
var DOB: String? ="",
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/CityListResponse.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/CityListResponse.kt
similarity index 67%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/CityListResponse.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/CityListResponse.kt
index 5a39f4a..c41a7a3 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/CityListResponse.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/CityListResponse.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class CityListResponse(
val DataObject: List,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/CityRequest.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/CityRequest.kt
similarity index 87%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/CityRequest.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/CityRequest.kt
index 0e89901..3f5ac27 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/CityRequest.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/CityRequest.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class CityRequest(
var APIName: String? = "",
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/ClientBanklist.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ClientBanklist.kt
similarity index 83%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/ClientBanklist.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/ClientBanklist.kt
index 46bf461..e58a34a 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/ClientBanklist.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ClientBanklist.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class ClientBanklist(
var AccountNumber: String?="",
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/ClientDetails.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ClientDetails.kt
similarity index 92%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/ClientDetails.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/ClientDetails.kt
index 1a50d86..27cf480 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/ClientDetails.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ClientDetails.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class ClientDetails(
val ARNexpiredFlag: Boolean,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/ClientMasterMFD.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ClientMasterMFD.kt
similarity index 95%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/ClientMasterMFD.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/ClientMasterMFD.kt
index f17a763..0422577 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/ClientMasterMFD.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ClientMasterMFD.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class ClientMasterMFD(
val CLIENT_ACCNO1: String,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/CreateFDApplicationRequest.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/CreateFDApplicationRequest.kt
similarity index 88%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/CreateFDApplicationRequest.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/CreateFDApplicationRequest.kt
index ca5c336..18a6a18 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/CreateFDApplicationRequest.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/CreateFDApplicationRequest.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class CreateFDApplicationRequest(
var ApplicantDetails: ApplicantDetails ? = null,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/CreateFDApplicationResponse.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/CreateFDApplicationResponse.kt
similarity index 61%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/CreateFDApplicationResponse.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/CreateFDApplicationResponse.kt
index ad87104..eb40b4f 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/CreateFDApplicationResponse.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/CreateFDApplicationResponse.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class CreateFDApplicationResponse(
val Response: ResponseXXXXXXXXXXX
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/CreateFDRequest.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/CreateFDRequest.kt
similarity index 67%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/CreateFDRequest.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/CreateFDRequest.kt
index 85d2fae..9f3b856 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/CreateFDRequest.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/CreateFDRequest.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class CreateFDRequest(
var CreateFDApplicationRequest: CreateFDApplicationRequest? = null
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/DataObject.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/DataObject.kt
similarity index 88%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/DataObject.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/DataObject.kt
index 95e6eef..8de55cc 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/DataObject.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/DataObject.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
import java.io.Serializable
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/DataObjectX.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/DataObjectX.kt
similarity index 74%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/DataObjectX.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/DataObjectX.kt
index 76bb658..e15380b 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/DataObjectX.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/DataObjectX.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class DataObjectX(
val city_id: Int,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/DeviceInfo.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/DeviceInfo.kt
similarity index 86%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/DeviceInfo.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/DeviceInfo.kt
index a32599b..db72cc0 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/DeviceInfo.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/DeviceInfo.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class DeviceInfo(
var app_version: String? = "",
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/DocumentUpload.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/DocumentUpload.kt
similarity index 84%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/DocumentUpload.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/DocumentUpload.kt
index 1aa3dfb..6d6eb22 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/DocumentUpload.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/DocumentUpload.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class DocumentUpload(
var Description: String? = null,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/Errors.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/Errors.kt
similarity index 59%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/Errors.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/Errors.kt
index f6857fd..eb709d5 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/Errors.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/Errors.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class Errors(
val ErrorCode: Int,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/FDCreationDetailsResponse.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/FDCreationDetailsResponse.kt
similarity index 70%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/FDCreationDetailsResponse.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/FDCreationDetailsResponse.kt
index c2f9d1d..e78e205 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/FDCreationDetailsResponse.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/FDCreationDetailsResponse.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class FDCreationDetailsResponse(
val DocumentUploadFlag: Int,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/FDDataResponse.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/FDDataResponse.kt
similarity index 83%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/FDDataResponse.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/FDDataResponse.kt
index a47833c..912dcd3 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/FDDataResponse.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/FDDataResponse.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class FDDataResponse(
val FDAmount: Double,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/FDInvestmentDetails.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/FDInvestmentDetails.kt
similarity index 91%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/FDInvestmentDetails.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/FDInvestmentDetails.kt
index 0035226..60e0c4a 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/FDInvestmentDetails.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/FDInvestmentDetails.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class FDInvestmentDetails(
var CKYCNumber: String? = null,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/FDStepsCountRequest.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/FDStepsCountRequest.kt
similarity index 68%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/FDStepsCountRequest.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/FDStepsCountRequest.kt
index 1a6eeb1..5594f46 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/FDStepsCountRequest.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/FDStepsCountRequest.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class FDStepsCountRequest(
var FDProvider: String? = "",
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/FdBankDetails.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/FdBankDetails.kt
similarity index 82%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/FdBankDetails.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/FdBankDetails.kt
index c778cda..7341474 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/FdBankDetails.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/FdBankDetails.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class FdBankDetails(
var AccountNumber: String?= null,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/FinaliseFD.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/FinaliseFD.kt
similarity index 72%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/FinaliseFD.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/FinaliseFD.kt
index c8b09ff..650a45f 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/FinaliseFD.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/FinaliseFD.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class FinaliseFD(
var FDProvider: String? = "",
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/FinalizeFDRequest.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/FinalizeFDRequest.kt
similarity index 58%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/FinalizeFDRequest.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/FinalizeFDRequest.kt
index 12f991b..cdf23ed 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/FinalizeFDRequest.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/FinalizeFDRequest.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class FinalizeFDRequest(
var FinaliseFD: FinaliseFD? = null
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/FinalizeFDResponse.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/FinalizeFDResponse.kt
similarity index 60%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/FinalizeFDResponse.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/FinalizeFDResponse.kt
index 7070db1..12b0c7c 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/FinalizeFDResponse.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/FinalizeFDResponse.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class FinalizeFDResponse(
val Response: ResponseXXXXXXXXXXXXXXXX
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/FinalizeKYCRequest.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/FinalizeKYCRequest.kt
similarity index 73%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/FinalizeKYCRequest.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/FinalizeKYCRequest.kt
index 65c87da..271d506 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/FinalizeKYCRequest.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/FinalizeKYCRequest.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class FinalizeKYCRequest(
var FDProvider: String? = "",
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/GetCalculateMaturityAmountResponse.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/GetCalculateMaturityAmountResponse.kt
similarity index 61%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/GetCalculateMaturityAmountResponse.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/GetCalculateMaturityAmountResponse.kt
index 6fc5693..cc51c66 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/GetCalculateMaturityAmountResponse.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/GetCalculateMaturityAmountResponse.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class GetCalculateMaturityAmountResponse(
val Response: ResponseXX
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/GetCodeRequest.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/GetCodeRequest.kt
similarity index 77%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/GetCodeRequest.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/GetCodeRequest.kt
index 9f60c1d..ea289e0 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/GetCodeRequest.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/GetCodeRequest.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class GetCodeRequest(
var Category: String ? = null,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/GetCodeResponse.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/GetCodeResponse.kt
similarity index 53%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/GetCodeResponse.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/GetCodeResponse.kt
index a5c2769..a354e56 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/GetCodeResponse.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/GetCodeResponse.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class GetCodeResponse(
val Response: ResponseX
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/GetCodes.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/GetCodes.kt
similarity index 77%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/GetCodes.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/GetCodes.kt
index 26747eb..7e5ef1a 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/GetCodes.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/GetCodes.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class GetCodes(
val Label: String,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/GetFDBankListResponse.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/GetFDBankListResponse.kt
similarity index 58%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/GetFDBankListResponse.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/GetFDBankListResponse.kt
index fe53b46..bc05683 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/GetFDBankListResponse.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/GetFDBankListResponse.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class GetFDBankListResponse(
val Response: ResponseXXXXXXXX
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/GetFDDetailsRequest.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/GetFDDetailsRequest.kt
similarity index 73%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/GetFDDetailsRequest.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/GetFDDetailsRequest.kt
index 121b07f..ddf5bd3 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/GetFDDetailsRequest.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/GetFDDetailsRequest.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class GetFDDetailsRequest(
var FDProvider: String? = "",
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/GetFDDetailsResponse.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/GetFDDetailsResponse.kt
similarity index 59%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/GetFDDetailsResponse.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/GetFDDetailsResponse.kt
index fed5d3b..afe61cc 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/GetFDDetailsResponse.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/GetFDDetailsResponse.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class GetFDDetailsResponse(
val Response: ResponseXXXXXXXXXXXX
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/GetIFSCCodeListResponse.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/GetIFSCCodeListResponse.kt
similarity index 69%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/GetIFSCCodeListResponse.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/GetIFSCCodeListResponse.kt
index 8050a33..dbc616b 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/GetIFSCCodeListResponse.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/GetIFSCCodeListResponse.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class GetIFSCCodeListResponse(
val IFSCCodes: MutableList,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/GetIFSCCodeResponse.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/GetIFSCCodeResponse.kt
similarity index 65%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/GetIFSCCodeResponse.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/GetIFSCCodeResponse.kt
index 42f119e..a58cd9b 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/GetIFSCCodeResponse.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/GetIFSCCodeResponse.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class GetIFSCCodeResponse(
val IFSCCODEServiceResult: List
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/GetMaturityAmountRequest.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/GetMaturityAmountRequest.kt
similarity index 79%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/GetMaturityAmountRequest.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/GetMaturityAmountRequest.kt
index 3d02be0..8898e06 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/GetMaturityAmountRequest.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/GetMaturityAmountRequest.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class GetMaturityAmountRequest(
var FDAmount: Int? = 0,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/GetRatesRequest.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/GetRatesRequest.kt
similarity index 84%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/GetRatesRequest.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/GetRatesRequest.kt
index 7db281e..8118874 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/GetRatesRequest.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/GetRatesRequest.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
import com.google.gson.annotations.SerializedName
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/GetRatesResponse.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/GetRatesResponse.kt
similarity index 52%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/GetRatesResponse.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/GetRatesResponse.kt
index 2db5422..eee3ae5 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/GetRatesResponse.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/GetRatesResponse.kt
@@ -1,3 +1,5 @@
+package com.nivesh.production.niveshfd.fd.model
+
data class GetRatesResponse(
val Response: Response
)
\ No newline at end of file
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/IFSCCODEServiceResult.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/IFSCCODEServiceResult.kt
similarity index 80%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/IFSCCODEServiceResult.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/IFSCCODEServiceResult.kt
index 1c2626c..0f1c418 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/IFSCCODEServiceResult.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/IFSCCODEServiceResult.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class IFSCCODEServiceResult(
val BankBranch: String,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/Nominee.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/Nominee.kt
similarity index 85%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/Nominee.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/Nominee.kt
index 43e5628..1afb890 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/Nominee.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/Nominee.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class Nominee(
val NomineeApplicablePercent: Double,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/NomineeDetails.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/NomineeDetails.kt
similarity index 92%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/NomineeDetails.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/NomineeDetails.kt
index 36c2714..ab83dd2 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/NomineeDetails.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/NomineeDetails.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class NomineeDetails(
var NomineeAddress1: String?= null,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/NomineeGuardianDetails.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/NomineeGuardianDetails.kt
similarity index 89%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/NomineeGuardianDetails.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/NomineeGuardianDetails.kt
index a76b4db..9f1764c 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/NomineeGuardianDetails.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/NomineeGuardianDetails.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class NomineeGuardianDetails(
var GuardianAddress1: String?= null,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/ObjectResponse.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ObjectResponse.kt
similarity index 80%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/ObjectResponse.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/ObjectResponse.kt
index 5aab4be..908f534 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/ObjectResponse.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ObjectResponse.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class ObjectResponse(
val TransactionCount: Int,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/PanCheckRequest.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/PanCheckRequest.kt
similarity index 88%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/PanCheckRequest.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/PanCheckRequest.kt
index 61c75de..970e1c8 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/PanCheckRequest.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/PanCheckRequest.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
import com.google.gson.annotations.SerializedName
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/PanCheckResponse.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/PanCheckResponse.kt
similarity index 55%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/PanCheckResponse.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/PanCheckResponse.kt
index ff3a603..3f266c6 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/PanCheckResponse.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/PanCheckResponse.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class PanCheckResponse(
val response: ResponseXXX
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/PaymentReQueryRequest.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/PaymentReQueryRequest.kt
similarity index 68%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/PaymentReQueryRequest.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/PaymentReQueryRequest.kt
index 128b543..6bcb24a 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/PaymentReQueryRequest.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/PaymentReQueryRequest.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class PaymentReQueryRequest(
var NiveshClientCode: String? = "",
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/PaymentReQueryResponse.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/PaymentReQueryResponse.kt
similarity index 61%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/PaymentReQueryResponse.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/PaymentReQueryResponse.kt
index 7bc7a37..bbc8030 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/PaymentReQueryResponse.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/PaymentReQueryResponse.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class PaymentReQueryResponse(
val Response: ResponseXXXXXXXXXXXXXXX
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/ROIDataList.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ROIDataList.kt
similarity index 84%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/ROIDataList.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/ROIDataList.kt
index c568b3c..fdf77f9 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/ROIDataList.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ROIDataList.kt
@@ -1,3 +1,5 @@
+package com.nivesh.production.niveshfd.fd.model
+
data class ROIDataList(
val Frequency: String,
val Provider: String,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/Response.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/Response.kt
similarity index 62%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/Response.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/Response.kt
index 039c987..99d7db9 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/Response.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/Response.kt
@@ -1,4 +1,6 @@
-import com.nivesh.production.niveshfd.model.Errors
+package com.nivesh.production.niveshfd.fd.model
+
+import com.nivesh.production.niveshfd.fd.model.Errors
data class Response(
val Errors: List,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/ResponseX.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseX.kt
similarity index 77%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/ResponseX.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseX.kt
index ba40f7f..0d9f528 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/ResponseX.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseX.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class ResponseX(
val Errors: List,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/ResponseXX.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseXX.kt
similarity index 76%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/ResponseXX.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseXX.kt
index 82b31ca..8aed9bf 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/ResponseXX.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseXX.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class ResponseXX(
val Errors: List,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/ResponseXXX.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseXXX.kt
similarity index 66%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/ResponseXXX.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseXXX.kt
index 0fd918c..8fec636 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/ResponseXXX.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseXXX.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class ResponseXXX(
val message: String,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/ResponseXXXX.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseXXXX.kt
similarity index 75%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/ResponseXXXX.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseXXXX.kt
index 03c4245..8ccd6cf 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/ResponseXXXX.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseXXXX.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class ResponseXXXX(
val Errors: List,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/ResponseXXXXX.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseXXXXX.kt
similarity index 67%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/ResponseXXXXX.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseXXXXX.kt
index e0470e2..5edfa7f 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/ResponseXXXXX.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseXXXXX.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class ResponseXXXXX(
val message: String,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/ResponseXXXXXX.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseXXXXXX.kt
similarity index 67%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/ResponseXXXXXX.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseXXXXXX.kt
index 6e2a109..8978bf0 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/ResponseXXXXXX.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseXXXXXX.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class ResponseXXXXXX(
val message: String,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/ResponseXXXXXXX.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseXXXXXXX.kt
similarity index 67%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/ResponseXXXXXXX.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseXXXXXXX.kt
index 258b005..0c6cb79 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/ResponseXXXXXXX.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseXXXXXXX.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class ResponseXXXXXXX(
val message: String,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/ResponseXXXXXXXX.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseXXXXXXXX.kt
similarity index 76%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/ResponseXXXXXXXX.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseXXXXXXXX.kt
index 39b2c4a..dd3406a 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/ResponseXXXXXXXX.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseXXXXXXXX.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class ResponseXXXXXXXX(
val BankList: List,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/ResponseXXXXXXXXX.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseXXXXXXXXX.kt
similarity index 68%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/ResponseXXXXXXXXX.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseXXXXXXXXX.kt
index 57e251c..9d04f0b 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/ResponseXXXXXXXXX.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseXXXXXXXXX.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class ResponseXXXXXXXXX(
val message: String,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/ResponseXXXXXXXXXX.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseXXXXXXXXXX.kt
similarity index 68%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/ResponseXXXXXXXXXX.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseXXXXXXXXXX.kt
index 7afd560..6b10d8d 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/ResponseXXXXXXXXXX.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseXXXXXXXXXX.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class ResponseXXXXXXXXXX(
val message: String,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/ResponseXXXXXXXXXXX.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseXXXXXXXXXXX.kt
similarity index 80%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/ResponseXXXXXXXXXXX.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseXXXXXXXXXXX.kt
index 2a2852d..2cf920c 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/ResponseXXXXXXXXXXX.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseXXXXXXXXXXX.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class ResponseXXXXXXXXXXX(
val Errors: List,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/ResponseXXXXXXXXXXXX.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseXXXXXXXXXXXX.kt
similarity index 63%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/ResponseXXXXXXXXXXXX.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseXXXXXXXXXXXX.kt
index b6f77ff..a76524a 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/ResponseXXXXXXXXXXXX.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseXXXXXXXXXXXX.kt
@@ -1,6 +1,6 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
-import com.nivesh.production.niveshfd.util.Resource
+import com.nivesh.production.niveshfd.fd.util.Resource
data class ResponseXXXXXXXXXXXX(
val Errors: List,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/ResponseXXXXXXXXXXXXX.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseXXXXXXXXXXXXX.kt
similarity index 73%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/ResponseXXXXXXXXXXXXX.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseXXXXXXXXXXXXX.kt
index 5f2e8e5..9282411 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/ResponseXXXXXXXXXXXXX.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseXXXXXXXXXXXXX.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class ResponseXXXXXXXXXXXXX(
val Errors: List,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/ResponseXXXXXXXXXXXXXX.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseXXXXXXXXXXXXXX.kt
similarity index 69%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/ResponseXXXXXXXXXXXXXX.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseXXXXXXXXXXXXXX.kt
index e5c840e..9d63740 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/ResponseXXXXXXXXXXXXXX.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseXXXXXXXXXXXXXX.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class ResponseXXXXXXXXXXXXXX(
val message: String,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/ResponseXXXXXXXXXXXXXXX.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseXXXXXXXXXXXXXXX.kt
similarity index 74%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/ResponseXXXXXXXXXXXXXXX.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseXXXXXXXXXXXXXXX.kt
index 97c4faa..d46306c 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/ResponseXXXXXXXXXXXXXXX.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseXXXXXXXXXXXXXXX.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class ResponseXXXXXXXXXXXXXXX(
val Errors: List,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/ResponseXXXXXXXXXXXXXXXX.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseXXXXXXXXXXXXXXXX.kt
similarity index 79%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/ResponseXXXXXXXXXXXXXXXX.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseXXXXXXXXXXXXXXXX.kt
index cd87d86..34df53f 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/ResponseXXXXXXXXXXXXXXXX.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/ResponseXXXXXXXXXXXXXXXX.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class ResponseXXXXXXXXXXXXXXXX(
val Errors: List,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/SaveFDOtherDataRequest.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/SaveFDOtherDataRequest.kt
similarity index 77%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/SaveFDOtherDataRequest.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/SaveFDOtherDataRequest.kt
index c3fd43d..cfc420b 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/SaveFDOtherDataRequest.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/SaveFDOtherDataRequest.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class SaveFDOtherDataRequest(
var FDProvider: String?= "",
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/SaveFDOtherDataResponse.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/SaveFDOtherDataResponse.kt
similarity index 61%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/SaveFDOtherDataResponse.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/SaveFDOtherDataResponse.kt
index 87e7cb0..b6178c1 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/SaveFDOtherDataResponse.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/SaveFDOtherDataResponse.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class SaveFDOtherDataResponse(
val Response: ResponseXXXXXXXXXXXXX
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/StateListResponse.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/StateListResponse.kt
similarity index 75%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/StateListResponse.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/StateListResponse.kt
index a5a1318..93bed5b 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/StateListResponse.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/StateListResponse.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class StateListResponse(
val DataObject: List,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/StepsCountResponse.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/StepsCountResponse.kt
similarity index 56%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/StepsCountResponse.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/StepsCountResponse.kt
index de23e9e..3669447 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/StepsCountResponse.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/StepsCountResponse.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class StepsCountResponse(
val Response: ResponseXXXX
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/UploadResponse.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/UploadResponse.kt
similarity index 57%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/UploadResponse.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/UploadResponse.kt
index c45e362..f3b63c1 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/UploadResponse.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/UploadResponse.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class UploadResponse(
val Response: ResponseXXXXXXXXXXXX
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/UserRequest.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/UserRequest.kt
similarity index 81%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/UserRequest.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/UserRequest.kt
index 8af2431..4941ab0 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/UserRequest.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/UserRequest.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class UserRequest(
var AppOrWeb: String? = "",
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/getClientDetailsRequest.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/getClientDetailsRequest.kt
similarity index 78%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/getClientDetailsRequest.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/getClientDetailsRequest.kt
index 9f368ae..12d39c2 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/getClientDetailsRequest.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/getClientDetailsRequest.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class getClientDetailsRequest(
var AppOrWeb: String? = "",
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/model/getClientDetailsResponse.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/getClientDetailsResponse.kt
similarity index 78%
rename from app/src/main/java/com/nivesh/production/niveshfd/model/getClientDetailsResponse.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/model/getClientDetailsResponse.kt
index 8514198..fec61c6 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/model/getClientDetailsResponse.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/model/getClientDetailsResponse.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.model
+package com.nivesh.production.niveshfd.fd.model
data class getClientDetailsResponse(
// val DataObject: Any ?,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/repositories/MainRepository.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/repositories/MainRepository.kt
similarity index 96%
rename from app/src/main/java/com/nivesh/production/niveshfd/repositories/MainRepository.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/repositories/MainRepository.kt
index 6532291..e9d5273 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/repositories/MainRepository.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/repositories/MainRepository.kt
@@ -1,7 +1,8 @@
-package com.nivesh.production.niveshfd.repositories
+package com.nivesh.production.niveshfd.fd.repositories
+
+import com.nivesh.production.niveshfd.fd.interfaces.ApiInterface
+import com.nivesh.production.niveshfd.fd.model.*
-import com.nivesh.production.niveshfd.interfaces.ApiInterface
-import com.nivesh.production.niveshfd.model.*
class MainRepository constructor(private val apiInterface: ApiInterface) {
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/ui/activity/BaseActivity.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/ui/activity/BaseActivity.kt
similarity index 85%
rename from app/src/main/java/com/nivesh/production/niveshfd/ui/activity/BaseActivity.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/ui/activity/BaseActivity.kt
index 1ac77d4..b6c2ffd 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/ui/activity/BaseActivity.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/ui/activity/BaseActivity.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.ui.activity
+package com.nivesh.production.niveshfd.fd.ui.activity
import android.app.Activity
import android.os.Bundle
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/ui/activity/NiveshFdMainActivity.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/ui/activity/NiveshFdMainActivity.kt
similarity index 93%
rename from app/src/main/java/com/nivesh/production/niveshfd/ui/activity/NiveshFdMainActivity.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/ui/activity/NiveshFdMainActivity.kt
index dece4ea..7f72314 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/ui/activity/NiveshFdMainActivity.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/ui/activity/NiveshFdMainActivity.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.ui.activity
+package com.nivesh.production.niveshfd.fd.ui.activity
import android.annotation.SuppressLint
import android.app.Dialog
@@ -17,23 +17,27 @@ import androidx.lifecycle.ViewModelProvider
import androidx.viewpager.widget.ViewPager
import com.google.gson.Gson
import com.nivesh.production.niveshfd.R
-import com.nivesh.production.niveshfd.adapter.DisableAdapter
-import com.nivesh.production.niveshfd.adapter.SectionsPagerAdapter
-import com.nivesh.production.niveshfd.api.ApiClient
import com.nivesh.production.niveshfd.databinding.ActivityNiveshFdBinding
-import com.nivesh.production.niveshfd.db.PreferenceManager
-import com.nivesh.production.niveshfd.model.*
-import com.nivesh.production.niveshfd.repositories.MainRepository
-import com.nivesh.production.niveshfd.ui.fragment.*
-import com.nivesh.production.niveshfd.ui.providerfactory.*
-import com.nivesh.production.niveshfd.util.Common
-import com.nivesh.production.niveshfd.util.Common.Companion.defaultShape
-import com.nivesh.production.niveshfd.util.Common.Companion.selectedShape
-import com.nivesh.production.niveshfd.util.Common.Companion.showDialogValidation
-import com.nivesh.production.niveshfd.util.ProgressUtil.hideLoading
-import com.nivesh.production.niveshfd.util.ProgressUtil.showLoading
-import com.nivesh.production.niveshfd.util.Resource
-import com.nivesh.production.niveshfd.viewModel.*
+import com.nivesh.production.niveshfd.fd.adapter.DisableAdapter
+import com.nivesh.production.niveshfd.fd.adapter.SectionsPagerAdapter
+import com.nivesh.production.niveshfd.fd.api.ApiClient
+import com.nivesh.production.niveshfd.fd.db.PreferenceManager
+import com.nivesh.production.niveshfd.fd.model.CreateFDRequest
+import com.nivesh.production.niveshfd.fd.model.FdBankDetails
+import com.nivesh.production.niveshfd.fd.model.NomineeDetails
+import com.nivesh.production.niveshfd.fd.model.*
+import com.nivesh.production.niveshfd.fd.repositories.MainRepository
+import com.nivesh.production.niveshfd.fd.ui.fragment.*
+import com.nivesh.production.niveshfd.fd.ui.providerfactory.*
+import com.nivesh.production.niveshfd.fd.util.Common
+import com.nivesh.production.niveshfd.fd.util.Common.Companion.defaultShape
+import com.nivesh.production.niveshfd.fd.util.Common.Companion.selectedShape
+import com.nivesh.production.niveshfd.fd.util.Common.Companion.showDialogValidation
+import com.nivesh.production.niveshfd.fd.util.ProgressUtil.hideLoading
+import com.nivesh.production.niveshfd.fd.util.ProgressUtil.showLoading
+import com.nivesh.production.niveshfd.fd.util.Resource
+import com.nivesh.production.niveshfd.fd.viewModel.*
+import com.nivesh.production.niveshfd.fd.ui.fragment.StepThreeNiveshFDFragment
class NiveshFdMainActivity : BaseActivity() {
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/ui/activity/PaymentActivity.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/ui/activity/PaymentActivity.kt
similarity index 90%
rename from app/src/main/java/com/nivesh/production/niveshfd/ui/activity/PaymentActivity.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/ui/activity/PaymentActivity.kt
index fd74a3e..2a98259 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/ui/activity/PaymentActivity.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/ui/activity/PaymentActivity.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.ui.activity
+package com.nivesh.production.niveshfd.fd.ui.activity
import android.app.Dialog
import android.graphics.Bitmap
@@ -13,18 +13,18 @@ import androidx.core.content.ContextCompat
import androidx.lifecycle.ViewModelProvider
import com.google.gson.Gson
import com.nivesh.production.niveshfd.R
-import com.nivesh.production.niveshfd.api.ApiClient
import com.nivesh.production.niveshfd.databinding.FragmentNiveshfdStepFiveBinding
-import com.nivesh.production.niveshfd.db.PreferenceManager
-import com.nivesh.production.niveshfd.model.PaymentReQueryRequest
-import com.nivesh.production.niveshfd.model.PaymentReQueryResponse
-import com.nivesh.production.niveshfd.repositories.MainRepository
-import com.nivesh.production.niveshfd.ui.providerfactory.FDModelProviderFactory
-import com.nivesh.production.niveshfd.util.Common
-import com.nivesh.production.niveshfd.util.Constants
-import com.nivesh.production.niveshfd.util.ProgressUtil
-import com.nivesh.production.niveshfd.util.Resource
-import com.nivesh.production.niveshfd.viewModel.BajajFDViewModel
+import com.nivesh.production.niveshfd.fd.api.ApiClient
+import com.nivesh.production.niveshfd.fd.db.PreferenceManager
+import com.nivesh.production.niveshfd.fd.model.PaymentReQueryRequest
+import com.nivesh.production.niveshfd.fd.model.PaymentReQueryResponse
+import com.nivesh.production.niveshfd.fd.repositories.MainRepository
+import com.nivesh.production.niveshfd.fd.ui.providerfactory.FDModelProviderFactory
+import com.nivesh.production.niveshfd.fd.util.Common
+import com.nivesh.production.niveshfd.fd.util.Constants
+import com.nivesh.production.niveshfd.fd.util.ProgressUtil
+import com.nivesh.production.niveshfd.fd.util.Resource
+import com.nivesh.production.niveshfd.fd.viewModel.BajajFDViewModel
class PaymentActivity : BaseActivity() {
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/ui/fragment/StepFiveNiveshFDFragment.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/ui/fragment/StepFiveNiveshFDFragment.kt
similarity index 95%
rename from app/src/main/java/com/nivesh/production/niveshfd/ui/fragment/StepFiveNiveshFDFragment.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/ui/fragment/StepFiveNiveshFDFragment.kt
index 49d3f04..c97801f 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/ui/fragment/StepFiveNiveshFDFragment.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/ui/fragment/StepFiveNiveshFDFragment.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.ui.fragment
+package com.nivesh.production.niveshfd.fd.ui.fragment
import android.app.Activity
import android.os.Bundle
@@ -11,11 +11,11 @@ import androidx.fragment.app.Fragment
import com.google.gson.Gson
import com.nivesh.production.niveshfd.R
import com.nivesh.production.niveshfd.databinding.FragmentNiveshfdStepFiveBinding
-import com.nivesh.production.niveshfd.db.PreferenceManager
-import com.nivesh.production.niveshfd.model.*
-import com.nivesh.production.niveshfd.ui.activity.NiveshFdMainActivity
-import com.nivesh.production.niveshfd.util.Common
-import com.nivesh.production.niveshfd.util.Resource
+import com.nivesh.production.niveshfd.fd.db.PreferenceManager
+import com.nivesh.production.niveshfd.fd.model.*
+import com.nivesh.production.niveshfd.fd.ui.activity.NiveshFdMainActivity
+import com.nivesh.production.niveshfd.fd.util.Common
+import com.nivesh.production.niveshfd.fd.util.Resource
class StepFiveNiveshFDFragment : Fragment() {
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/ui/fragment/StepFourNiveshFDFragment.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/ui/fragment/StepFourNiveshFDFragment.kt
similarity index 96%
rename from app/src/main/java/com/nivesh/production/niveshfd/ui/fragment/StepFourNiveshFDFragment.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/ui/fragment/StepFourNiveshFDFragment.kt
index 08146c1..a8fa3f7 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/ui/fragment/StepFourNiveshFDFragment.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/ui/fragment/StepFourNiveshFDFragment.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.ui.fragment
+package com.nivesh.production.niveshfd.fd.ui.fragment
import android.os.Bundle
import android.util.Log
@@ -10,14 +10,14 @@ import androidx.fragment.app.Fragment
import androidx.recyclerview.widget.LinearLayoutManager
import com.google.gson.Gson
import com.nivesh.production.niveshfd.R
-import com.nivesh.production.niveshfd.adapter.CustomerListAdapter
import com.nivesh.production.niveshfd.databinding.FragmentNiveshfdStepFourBinding
-import com.nivesh.production.niveshfd.db.PreferenceManager
-import com.nivesh.production.niveshfd.model.*
-import com.nivesh.production.niveshfd.ui.activity.NiveshFdMainActivity
-import com.nivesh.production.niveshfd.util.Common
-import com.nivesh.production.niveshfd.util.Common.Companion.showDialogValidation
-import com.nivesh.production.niveshfd.util.Resource
+import com.nivesh.production.niveshfd.fd.adapter.CustomerListAdapter
+import com.nivesh.production.niveshfd.fd.db.PreferenceManager
+import com.nivesh.production.niveshfd.fd.model.*
+import com.nivesh.production.niveshfd.fd.ui.activity.NiveshFdMainActivity
+import com.nivesh.production.niveshfd.fd.util.Common
+import com.nivesh.production.niveshfd.fd.util.Common.Companion.showDialogValidation
+import com.nivesh.production.niveshfd.fd.util.Resource
class StepFourNiveshFDFragment : Fragment() {
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/ui/fragment/StepOneNiveshFDFragment.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/ui/fragment/StepOneNiveshFDFragment.kt
similarity index 97%
rename from app/src/main/java/com/nivesh/production/niveshfd/ui/fragment/StepOneNiveshFDFragment.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/ui/fragment/StepOneNiveshFDFragment.kt
index 0466e7a..02059f5 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/ui/fragment/StepOneNiveshFDFragment.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/ui/fragment/StepOneNiveshFDFragment.kt
@@ -1,7 +1,5 @@
-package com.nivesh.production.niveshfd.ui.fragment
+package com.nivesh.production.niveshfd.fd.ui.fragment
-import GetRatesResponse
-import ROIDataList
import android.os.Bundle
import android.text.Editable
import android.text.InputFilter
@@ -19,16 +17,16 @@ import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView.LayoutManager
import com.google.gson.Gson
import com.nivesh.production.niveshfd.R
-import com.nivesh.production.niveshfd.adapter.HorizontalRecyclerViewAdapter
import com.nivesh.production.niveshfd.databinding.FragmentNiveshfdStepOneBinding
-import com.nivesh.production.niveshfd.db.PreferenceManager
-import com.nivesh.production.niveshfd.model.*
-import com.nivesh.production.niveshfd.ui.activity.NiveshFdMainActivity
-import com.nivesh.production.niveshfd.util.Common
-import com.nivesh.production.niveshfd.util.Common.Companion.commonErrorMethod
-import com.nivesh.production.niveshfd.util.Common.Companion.removeError
-import com.nivesh.production.niveshfd.util.Resource
-import com.nivesh.production.niveshfd.viewModel.MyObseravble
+import com.nivesh.production.niveshfd.fd.adapter.HorizontalRecyclerViewAdapter
+import com.nivesh.production.niveshfd.fd.db.PreferenceManager
+import com.nivesh.production.niveshfd.fd.model.*
+import com.nivesh.production.niveshfd.fd.ui.activity.NiveshFdMainActivity
+import com.nivesh.production.niveshfd.fd.util.Common
+import com.nivesh.production.niveshfd.fd.util.Common.Companion.commonErrorMethod
+import com.nivesh.production.niveshfd.fd.util.Common.Companion.removeError
+import com.nivesh.production.niveshfd.fd.util.Resource
+import com.nivesh.production.niveshfd.fd.viewModel.MyObseravble
class StepOneNiveshFDFragment : Fragment() {
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/ui/fragment/StepThreeNiveshFDFragment.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/ui/fragment/StepThreeNiveshFDFragment.kt
similarity index 97%
rename from app/src/main/java/com/nivesh/production/niveshfd/ui/fragment/StepThreeNiveshFDFragment.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/ui/fragment/StepThreeNiveshFDFragment.kt
index f8a7cdb..a4e4a8d 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/ui/fragment/StepThreeNiveshFDFragment.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/ui/fragment/StepThreeNiveshFDFragment.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.ui.fragment
+package com.nivesh.production.niveshfd.fd.ui.fragment
import android.Manifest
import android.annotation.SuppressLint
@@ -30,14 +30,14 @@ import com.google.gson.Gson
import com.nivesh.production.niveshfd.BuildConfig
import com.nivesh.production.niveshfd.R
import com.nivesh.production.niveshfd.databinding.FragmentNiveshfdStepThreeBinding
-import com.nivesh.production.niveshfd.db.PreferenceManager
-import com.nivesh.production.niveshfd.model.*
-import com.nivesh.production.niveshfd.ui.activity.NiveshFdMainActivity
-import com.nivesh.production.niveshfd.util.Common
-import com.nivesh.production.niveshfd.util.Common.Companion.getFileExtension
-import com.nivesh.production.niveshfd.util.Common.Companion.showDialogWithTwoButtons
-import com.nivesh.production.niveshfd.util.ImageUtil
-import com.nivesh.production.niveshfd.util.Resource
+import com.nivesh.production.niveshfd.fd.db.PreferenceManager
+import com.nivesh.production.niveshfd.fd.model.*
+import com.nivesh.production.niveshfd.fd.ui.activity.NiveshFdMainActivity
+import com.nivesh.production.niveshfd.fd.util.Common
+import com.nivesh.production.niveshfd.fd.util.Common.Companion.getFileExtension
+import com.nivesh.production.niveshfd.fd.util.Common.Companion.showDialogWithTwoButtons
+import com.nivesh.production.niveshfd.fd.util.ImageUtil
+import com.nivesh.production.niveshfd.fd.util.Resource
import java.io.*
import java.util.*
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/ui/fragment/StepTwoNiveshFDFragment.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/ui/fragment/StepTwoNiveshFDFragment.kt
similarity index 97%
rename from app/src/main/java/com/nivesh/production/niveshfd/ui/fragment/StepTwoNiveshFDFragment.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/ui/fragment/StepTwoNiveshFDFragment.kt
index a4c3891..39f1b92 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/ui/fragment/StepTwoNiveshFDFragment.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/ui/fragment/StepTwoNiveshFDFragment.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.ui.fragment
+package com.nivesh.production.niveshfd.fd.ui.fragment
import android.app.DatePickerDialog
import android.app.Dialog
@@ -24,29 +24,28 @@ import androidx.recyclerview.widget.RecyclerView
import com.google.android.material.textfield.TextInputEditText
import com.google.gson.Gson
import com.nivesh.production.niveshfd.R
-import com.nivesh.production.niveshfd.adapter.BankListAdapter
-import com.nivesh.production.niveshfd.adapter.PaymentModeAdapter
-import com.nivesh.production.niveshfd.adapter.RecommendedBankListAdapter
import com.nivesh.production.niveshfd.databinding.FragmentNiveshfdStepTwoBinding
-import com.nivesh.production.niveshfd.db.PreferenceManager
-import com.nivesh.production.niveshfd.model.*
-import com.nivesh.production.niveshfd.ui.activity.NiveshFdMainActivity
-import com.nivesh.production.niveshfd.util.Common
-import com.nivesh.production.niveshfd.util.Common.Companion.commonErrorAutoCompleteMethod
-import com.nivesh.production.niveshfd.util.Common.Companion.commonErrorMethod
-import com.nivesh.production.niveshfd.util.Common.Companion.commonSpinnerErrorMethod
-import com.nivesh.production.niveshfd.util.Common.Companion.getDate
-import com.nivesh.production.niveshfd.util.Common.Companion.isIndianMobileNo
-import com.nivesh.production.niveshfd.util.Common.Companion.isMinor
-import com.nivesh.production.niveshfd.util.Common.Companion.isValidEmail
-import com.nivesh.production.niveshfd.util.Common.Companion.isValidIndividualPan
-import com.nivesh.production.niveshfd.util.Common.Companion.isValidName
-import com.nivesh.production.niveshfd.util.Common.Companion.isValidPan
-import com.nivesh.production.niveshfd.util.Common.Companion.removeError
-import com.nivesh.production.niveshfd.util.Common.Companion.showDialogValidation
-import com.nivesh.production.niveshfd.util.ProgressUtil
-import com.nivesh.production.niveshfd.util.Resource
-import com.nivesh.production.niveshfd.viewModel.MyObseravble
+import com.nivesh.production.niveshfd.fd.adapter.BankListAdapter
+import com.nivesh.production.niveshfd.fd.adapter.PaymentModeAdapter
+import com.nivesh.production.niveshfd.fd.adapter.RecommendedBankListAdapter
+import com.nivesh.production.niveshfd.fd.db.PreferenceManager
+import com.nivesh.production.niveshfd.fd.model.*
+import com.nivesh.production.niveshfd.fd.ui.activity.NiveshFdMainActivity
+import com.nivesh.production.niveshfd.fd.util.Common.Companion.commonErrorAutoCompleteMethod
+import com.nivesh.production.niveshfd.fd.util.Common.Companion.commonErrorMethod
+import com.nivesh.production.niveshfd.fd.util.Common.Companion.commonSpinnerErrorMethod
+import com.nivesh.production.niveshfd.fd.util.Common.Companion.getDate
+import com.nivesh.production.niveshfd.fd.util.Common.Companion.isIndianMobileNo
+import com.nivesh.production.niveshfd.fd.util.Common.Companion.isMinor
+import com.nivesh.production.niveshfd.fd.util.Common.Companion.isValidEmail
+import com.nivesh.production.niveshfd.fd.util.Common.Companion.isValidIndividualPan
+import com.nivesh.production.niveshfd.fd.util.Common.Companion.isValidName
+import com.nivesh.production.niveshfd.fd.util.Common.Companion.isValidPan
+import com.nivesh.production.niveshfd.fd.util.Common.Companion.removeError
+import com.nivesh.production.niveshfd.fd.util.Common.Companion.showDialogValidation
+import com.nivesh.production.niveshfd.fd.util.ProgressUtil
+import com.nivesh.production.niveshfd.fd.util.Resource
+import com.nivesh.production.niveshfd.fd.viewModel.MyObseravble
import java.util.*
@@ -458,7 +457,7 @@ class StepTwoNiveshFDFragment : Fragment() {
}
})
- rbBank.setText( getString(R.string.savingsAccount))
+ rbBank.setText(getString(R.string.savingsAccount))
binding.rgBank.setOnCheckedChangeListener { group, checkedId ->
rbBank = group.findViewById(checkedId)
Log.e("BankType", "-->" + rbBank.text)
@@ -525,14 +524,15 @@ class StepTwoNiveshFDFragment : Fragment() {
.plus(binding.edtMiddleName.text.toString()).plus(" ")
.plus(binding.edtLastName.text.toString()),
binding.edtMobileNumber.text.toString(),
- PreferenceManager(activity as NiveshFdMainActivity).getLoginRole(), rbBank.text.toString()
+ PreferenceManager(activity as NiveshFdMainActivity).getLoginRole(),
+ rbBank.text.toString()
)
}
}
binding.tvEligibleBankOption.setOnClickListener {
// apiForEligibleBankList()
- if (listOfEligibleBank.isNotEmpty()){
+ if (listOfEligibleBank.isNotEmpty()) {
dialogForBankList(listOfEligibleBank)
}
}
@@ -730,7 +730,7 @@ class StepTwoNiveshFDFragment : Fragment() {
}
private fun eligibleBank(): String {
- val enterIfsc = bankListAdapter.getSelected()?.IFSCCode?.substring(0,4)
+ val enterIfsc = bankListAdapter.getSelected()?.IFSCCode?.substring(0, 4)
for (bankList in listOfEligibleBank) {
if (enterIfsc.equals(bankList.IFSCInitials)) {
return bankList.BankName
@@ -775,7 +775,7 @@ class StepTwoNiveshFDFragment : Fragment() {
activity as NiveshFdMainActivity,
getCodeResponse.Response.Errors[0].ErrorMessage
)
- }else{
+ } else {
showDialogValidation(
activity as NiveshFdMainActivity,
"".plus(getCodeResponse.Response.Message)
@@ -835,7 +835,7 @@ class StepTwoNiveshFDFragment : Fragment() {
activity as NiveshFdMainActivity,
createFDApplicationResponse.Response.Errors[0].ErrorMessage
)
- }else{
+ } else {
showDialogValidation(
activity as NiveshFdMainActivity,
"".plus(createFDApplicationResponse.Response.Message)
@@ -975,7 +975,12 @@ class StepTwoNiveshFDFragment : Fragment() {
}
private fun verifyAccountNo(
- bankAccount: String, Ifsc: String, name: String, phoneNumber: String, loginRole: Int, accountType: String
+ bankAccount: String,
+ Ifsc: String,
+ name: String,
+ phoneNumber: String,
+ loginRole: Int,
+ accountType: String
) {
val bankValidationApiRequest = BankValidationApiRequest()
@@ -1008,7 +1013,10 @@ class StepTwoNiveshFDFragment : Fragment() {
}
when (code) {
200 -> {
- if (getBankValidationApiResponse.Message == getString(R.string.accountVerified) || getBankValidationApiResponse.Message == getString(R.string.accountVerified1)) {
+ if (getBankValidationApiResponse.Message == getString(R.string.accountVerified) || getBankValidationApiResponse.Message == getString(
+ R.string.accountVerified1
+ )
+ ) {
val clientBankList = ClientBanklist()
clientBankList.AccountNumber = bankAccount
clientBankList.AccountType = accountType
@@ -1236,7 +1244,7 @@ class StepTwoNiveshFDFragment : Fragment() {
activity as NiveshFdMainActivity,
getCodeResponse.Response.Errors[0].ErrorMessage
)
- }else{
+ } else {
showDialogValidation(
activity as NiveshFdMainActivity,
"".plus(getCodeResponse.Response.Message)
@@ -1296,7 +1304,7 @@ class StepTwoNiveshFDFragment : Fragment() {
activity as NiveshFdMainActivity,
getCodeResponse.Response.Errors[0].ErrorMessage
)
- }else{
+ } else {
showDialogValidation(
activity as NiveshFdMainActivity,
"".plus(getCodeResponse.Response.Message)
@@ -1395,7 +1403,7 @@ class StepTwoNiveshFDFragment : Fragment() {
activity as NiveshFdMainActivity,
getCodeResponse.Response.Errors[0].ErrorMessage
)
- }else{
+ } else {
showDialogValidation(
activity as NiveshFdMainActivity,
"".plus(getCodeResponse.Response.Message)
@@ -1487,7 +1495,7 @@ class StepTwoNiveshFDFragment : Fragment() {
activity as NiveshFdMainActivity,
getCodeResponse.Response.Errors[0].ErrorMessage
)
- }else{
+ } else {
showDialogValidation(
activity as NiveshFdMainActivity,
"".plus(getCodeResponse.Response.Message)
@@ -1557,7 +1565,7 @@ class StepTwoNiveshFDFragment : Fragment() {
activity as NiveshFdMainActivity,
getCodeResponse.Response.Errors[0].ErrorMessage
)
- }else{
+ } else {
showDialogValidation(
activity as NiveshFdMainActivity,
"".plus(getCodeResponse.Response.Message)
@@ -1639,7 +1647,7 @@ class StepTwoNiveshFDFragment : Fragment() {
activity as NiveshFdMainActivity,
getCodeResponse.Response.Errors[0].ErrorMessage
)
- }else{
+ } else {
showDialogValidation(
activity as NiveshFdMainActivity,
"".plus(getCodeResponse.Response.Message)
@@ -1708,7 +1716,7 @@ class StepTwoNiveshFDFragment : Fragment() {
activity as NiveshFdMainActivity,
getCodeResponse.Response.Errors[0].ErrorMessage
)
- }else{
+ } else {
showDialogValidation(
activity as NiveshFdMainActivity,
"".plus(getCodeResponse.Response.Message)
@@ -1928,7 +1936,7 @@ class StepTwoNiveshFDFragment : Fragment() {
activity as NiveshFdMainActivity,
getFDBankListResponse.Response.Errors[0].ErrorMessage
)
- }else{
+ } else {
showDialogValidation(
activity as NiveshFdMainActivity,
"".plus(getFDBankListResponse.Response.Message)
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/ui/providerfactory/FDModelProviderFactory.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/ui/providerfactory/FDModelProviderFactory.kt
similarity index 61%
rename from app/src/main/java/com/nivesh/production/niveshfd/ui/providerfactory/FDModelProviderFactory.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/ui/providerfactory/FDModelProviderFactory.kt
index de3b853..7886ee6 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/ui/providerfactory/FDModelProviderFactory.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/ui/providerfactory/FDModelProviderFactory.kt
@@ -1,9 +1,9 @@
-package com.nivesh.production.niveshfd.ui.providerfactory
+package com.nivesh.production.niveshfd.fd.ui.providerfactory
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
-import com.nivesh.production.niveshfd.repositories.MainRepository
-import com.nivesh.production.niveshfd.viewModel.BajajFDViewModel
+import com.nivesh.production.niveshfd.fd.repositories.MainRepository
+import com.nivesh.production.niveshfd.fd.viewModel.BajajFDViewModel
class FDModelProviderFactory(private val mainRepository: MainRepository) :
ViewModelProvider.Factory {
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/util/Colors.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/util/Colors.kt
similarity index 57%
rename from app/src/main/java/com/nivesh/production/niveshfd/util/Colors.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/util/Colors.kt
index 3ae1625..8ac474f 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/util/Colors.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/util/Colors.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.util
+package com.nivesh.production.niveshfd.fd.util
object Colors {
const val colorDefault: String = "#17A31D"
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/util/Common.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/util/Common.kt
similarity index 98%
rename from app/src/main/java/com/nivesh/production/niveshfd/util/Common.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/util/Common.kt
index f1ca97b..609b3d1 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/util/Common.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/util/Common.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.util
+package com.nivesh.production.niveshfd.fd.util
import android.Manifest
import android.annotation.SuppressLint
@@ -25,8 +25,8 @@ import com.google.android.material.textfield.TextInputEditText
import com.google.android.material.textfield.TextInputLayout
import com.google.gson.JsonObject
import com.nivesh.production.niveshfd.R
-import com.nivesh.production.niveshfd.model.DeviceInfo
-import com.nivesh.production.niveshfd.ui.activity.NiveshFdMainActivity
+import com.nivesh.production.niveshfd.fd.model.DeviceInfo
+import com.nivesh.production.niveshfd.fd.ui.activity.NiveshFdMainActivity
import kotlinx.coroutines.CoroutineExceptionHandler
import org.json.JSONObject
import retrofit2.HttpException
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/util/Constants.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/util/Constants.kt
similarity index 84%
rename from app/src/main/java/com/nivesh/production/niveshfd/util/Constants.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/util/Constants.kt
index d9df416..8cebc6f 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/util/Constants.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/util/Constants.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.util
+package com.nivesh.production.niveshfd.fd.util
class Constants() {
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/util/ImageUtil.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/util/ImageUtil.kt
similarity index 94%
rename from app/src/main/java/com/nivesh/production/niveshfd/util/ImageUtil.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/util/ImageUtil.kt
index 6326dae..092a38f 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/util/ImageUtil.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/util/ImageUtil.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.util
+package com.nivesh.production.niveshfd.fd.util
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/util/ProgressUtil.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/util/ProgressUtil.kt
similarity index 97%
rename from app/src/main/java/com/nivesh/production/niveshfd/util/ProgressUtil.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/util/ProgressUtil.kt
index 52b21a2..93a3cbb 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/util/ProgressUtil.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/util/ProgressUtil.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.util
+package com.nivesh.production.niveshfd.fd.util
import android.annotation.SuppressLint
import android.app.AlertDialog
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/util/Resource.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/util/Resource.kt
similarity index 89%
rename from app/src/main/java/com/nivesh/production/niveshfd/util/Resource.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/util/Resource.kt
index 09c85aa..45d82cd 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/util/Resource.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/util/Resource.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.util
+package com.nivesh.production.niveshfd.fd.util
sealed class Resource(
val data: T? = null,
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/viewModel/BajajFDViewModel.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/viewModel/BajajFDViewModel.kt
similarity index 97%
rename from app/src/main/java/com/nivesh/production/niveshfd/viewModel/BajajFDViewModel.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/viewModel/BajajFDViewModel.kt
index cc4e94f..79e930f 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/viewModel/BajajFDViewModel.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/viewModel/BajajFDViewModel.kt
@@ -1,17 +1,17 @@
-package com.nivesh.production.niveshfd.viewModel
+package com.nivesh.production.niveshfd.fd.viewModel
import android.app.Activity
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.google.gson.JsonObject
-import com.nivesh.production.niveshfd.model.*
-import com.nivesh.production.niveshfd.repositories.MainRepository
-import com.nivesh.production.niveshfd.util.Common
-import com.nivesh.production.niveshfd.util.Common.Companion.handleError
-import com.nivesh.production.niveshfd.util.Common.Companion.handleResponse
-import com.nivesh.production.niveshfd.util.Constants
-import com.nivesh.production.niveshfd.util.Resource
+import com.nivesh.production.niveshfd.fd.model.*
+import com.nivesh.production.niveshfd.fd.repositories.MainRepository
+import com.nivesh.production.niveshfd.fd.util.Common
+import com.nivesh.production.niveshfd.fd.util.Common.Companion.handleError
+import com.nivesh.production.niveshfd.fd.util.Common.Companion.handleResponse
+import com.nivesh.production.niveshfd.fd.util.Constants
+import com.nivesh.production.niveshfd.fd.util.Resource
import kotlinx.coroutines.launch
open class BajajFDViewModel(private val mainRepository: MainRepository) : ViewModel() {
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/viewModel/MyObseravble.kt b/app/src/main/java/com/nivesh/production/niveshfd/fd/viewModel/MyObseravble.kt
similarity index 81%
rename from app/src/main/java/com/nivesh/production/niveshfd/viewModel/MyObseravble.kt
rename to app/src/main/java/com/nivesh/production/niveshfd/fd/viewModel/MyObseravble.kt
index f096ed1..94bb929 100644
--- a/app/src/main/java/com/nivesh/production/niveshfd/viewModel/MyObseravble.kt
+++ b/app/src/main/java/com/nivesh/production/niveshfd/fd/viewModel/MyObseravble.kt
@@ -1,4 +1,4 @@
-package com.nivesh.production.niveshfd.viewModel
+package com.nivesh.production.niveshfd.fd.viewModel
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/adapters1/DisableAdapter1.kt b/app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/adapters1/DisableAdapter1.kt
new file mode 100644
index 0000000..cf42cd7
--- /dev/null
+++ b/app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/adapters1/DisableAdapter1.kt
@@ -0,0 +1,24 @@
+package com.nivesh.production.niveshfd.partnerOnBoarding.adapters1
+
+import android.annotation.SuppressLint
+import android.content.Context
+import android.util.AttributeSet
+import android.view.MotionEvent
+import androidx.viewpager.widget.ViewPager
+
+
+class DisableAdapter1 (context: Context, attrs: AttributeSet) : ViewPager(context, attrs) {
+ private var isPagingEnabled = true // change this value for enable and disable the viewpager swipe
+
+ @SuppressLint("ClickableViewAccessibility")
+ override fun onTouchEvent(event: MotionEvent?): Boolean {
+ return this.isPagingEnabled && super.onTouchEvent(event)
+ }
+
+ override fun onInterceptTouchEvent(event: MotionEvent?): Boolean {
+ return this.isPagingEnabled && super.onInterceptTouchEvent(event)
+ }
+
+ fun setPagingEnabled(b: Boolean) { isPagingEnabled = b
+ }
+}
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/adapters1/SectionsPagerAdapter1.kt b/app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/adapters1/SectionsPagerAdapter1.kt
new file mode 100644
index 0000000..0320d69
--- /dev/null
+++ b/app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/adapters1/SectionsPagerAdapter1.kt
@@ -0,0 +1,18 @@
+package com.nivesh.production.niveshfd.partnerOnBoarding.adapters1
+
+import androidx.fragment.app.Fragment
+import androidx.fragment.app.FragmentManager
+import androidx.fragment.app.FragmentPagerAdapter
+
+
+class SectionsPagerAdapter1(manager: FragmentManager, private val fragments: Array) : FragmentPagerAdapter(manager, BEHAVIOR_RESUME_ONLY_CURRENT_FRAGMENT) {
+
+ private val titles = ArrayList()
+
+ override fun getItem(position: Int): Fragment = fragments[position]
+
+ override fun getCount(): Int = fragments.size
+
+ override fun getPageTitle(position: Int): CharSequence = titles[position]
+
+}
\ No newline at end of file
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/api1/ApiCallback1.kt b/app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/api1/ApiCallback1.kt
new file mode 100644
index 0000000..4e9184b
--- /dev/null
+++ b/app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/api1/ApiCallback1.kt
@@ -0,0 +1,32 @@
+package com.nivesh.production.niveshfd.partnerOnBoarding.api1
+
+import com.nivesh.production.niveshfd.fd.util.Resource
+import retrofit2.Call
+import retrofit2.Callback
+import retrofit2.Response
+
+abstract class ApiCallback1 : Callback> {
+
+ abstract fun onSuccess(response: Resource)
+
+ abstract fun onFailure(response: Resource)
+
+ override fun onResponse(call: Call>, response: Response>) {
+ if (response.isSuccessful && response.body() != null && response.code() == 200) {
+ onSuccess(response.body()!!)
+ } else if (response.code() == 650){
+ // handle 4xx & 5xx error codes here
+// val resp = Resource()
+// resp.status = false
+// resp.message = response.message()
+// onFailure(resp)
+ }
+ }
+
+ override fun onFailure(call: Call>, t: Throwable) {
+// val response = Resource()
+// response.status = false
+// response.message = t.message.toString()
+// onFailure(response)
+ }
+}
\ No newline at end of file
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/api1/ApiClient1.kt b/app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/api1/ApiClient1.kt
new file mode 100644
index 0000000..1b33ef2
--- /dev/null
+++ b/app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/api1/ApiClient1.kt
@@ -0,0 +1,66 @@
+package com.nivesh.production.niveshfd.partnerOnBoarding.api1
+
+import com.nivesh.production.niveshfd.fd.NiveshFdApplication
+import com.nivesh.production.niveshfd.fd.interfaces.ApiInterface
+import com.nivesh.production.niveshfd.fd.util.Constants.Companion.BASE_URL
+import okhttp3.OkHttpClient
+import okhttp3.logging.HttpLoggingInterceptor
+import retrofit2.Retrofit
+import retrofit2.converter.gson.GsonConverterFactory
+import java.security.KeyStore
+import java.util.*
+import java.util.concurrent.TimeUnit
+import javax.net.ssl.*
+
+class ApiClient1 {
+ val context = NiveshFdApplication.appContext
+
+ companion object {
+ private val client by lazy {
+ //lazy means we only initialize this here once
+ val logging = HttpLoggingInterceptor()
+ //loggingInterceptor use for see making request and for see what responses are
+ logging.setLevel(HttpLoggingInterceptor.Level.BODY)
+ //see the body of response
+ //create client for retrofit
+
+ val trustManagerFactory: TrustManagerFactory =
+ TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm())
+ trustManagerFactory.init(null as KeyStore?)
+ val trustManagers: Array = trustManagerFactory.getTrustManagers()
+ check(!(trustManagers.size != 1 || trustManagers[0] !is X509TrustManager)) {
+ "Unexpected default trust managers:" + Arrays.toString(
+ trustManagers
+ )
+ }
+ val trustManager: X509TrustManager = trustManagers[0] as X509TrustManager
+ val sslContext = SSLContext.getInstance("SSL")
+ sslContext.init(null, arrayOf(trustManager), null)
+ val sslSocketFactory: SSLSocketFactory = sslContext.socketFactory
+
+ val client = OkHttpClient.Builder()
+ .addInterceptor(logging)
+ .sslSocketFactory(sslSocketFactory, trustManager)
+ .retryOnConnectionFailure(true)
+ .callTimeout(2, TimeUnit.MINUTES)
+ .connectTimeout(20, TimeUnit.SECONDS)
+ .readTimeout(30, TimeUnit.SECONDS)
+ .writeTimeout(30, TimeUnit.SECONDS)
+ .build()
+
+ Retrofit.Builder()
+ .baseUrl(BASE_URL)
+ .addConverterFactory(GsonConverterFactory.create())
+ .client(client)
+ .build()
+ }
+ val getApiClient: ApiInterface by lazy {
+ client.create(ApiInterface::class.java)
+ }
+ }
+
+}
+
+
+
+
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/interfaces1/ApiInterface1.kt b/app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/interfaces1/ApiInterface1.kt
new file mode 100644
index 0000000..4ff248e
--- /dev/null
+++ b/app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/interfaces1/ApiInterface1.kt
@@ -0,0 +1,175 @@
+package com.nivesh.production.niveshfd.partnerOnBoarding.api1
+
+import com.google.gson.JsonObject
+import com.nivesh.production.niveshfd.fd.model.*
+import okhttp3.RequestBody
+import retrofit2.Response
+import retrofit2.http.*
+
+interface ApiInterface1 {
+
+ @POST("GetRates")
+ suspend fun getRates(
+ @Body getRatesRequest: GetRatesRequest,
+ @Header("token") token: String
+ ): Response
+
+ @POST("CheckFDCKYC")
+ suspend fun checkFDKYC(
+ @Body checkFDKYCRequest: CheckFDKYCRequest,
+ @Header("token") token: String
+ ): Response
+
+ @POST("CreateFDApplication")
+ suspend fun createFDApp(
+ @Body createFDRequest: CreateFDRequest,
+ @Header("token") token: String
+ ): Response
+
+ @POST("DocumentsUpload")
+ suspend fun documentsUpload(
+ @Body requestBody: DocumentUpload,
+ @Header("token") token: String
+ ): Response
+
+ @POST("SaveFDOtherData")
+ suspend fun saveFDOtherData(
+ @Body requestBody: SaveFDOtherDataRequest,
+ @Header("token") token: String
+ ): Response
+
+ @POST("GetFDDetails")
+ suspend fun getFDDetails(
+ @Body requestBody: GetFDDetailsRequest,
+ @Header("token") token: String
+ ): Response
+
+ @POST("FinaliseFD")
+ suspend fun finaliseFD(
+ @Body requestBody: FinalizeFDRequest,
+ @Header("token") token: String
+ ): Response
+
+ @POST("FinaliseKYC")
+ suspend fun finaliseKYC(
+ @Body requestBody: FinalizeKYCRequest,
+ @Header("token") token: String
+ ): Response
+
+ @POST("PaymentRequery")
+ suspend fun paymentReQuery(
+ @Body requestBody: PaymentReQueryRequest,
+ @Header("token") token: String
+ ): Response
+
+ // @FormUrlEncoded
+ @POST("GetCodes")
+ suspend fun getCodes(
+ @Body requestBody: GetCodeRequest,
+ @Header("token") token: String
+ ): Response
+
+ @POST("CalculateFDMaturityAmount")
+ suspend fun getCalculateFDMaturityAmount(
+ @Body requestBody: GetMaturityAmountRequest,
+ @Header("token") token: String
+ ): Response
+
+ @POST("PanCheck_S")
+ suspend fun panCheckApi(
+ @Body panCheck: PanCheckRequest,
+ @Header("token") token: String
+ ): Response
+
+ @POST("getFDStepsCount")
+ suspend fun getFDStepsCount(
+ @Body fdStepsCountRequest: FDStepsCountRequest,
+ @Header("token") token: String
+ ): Response
+
+ @POST("GetClientDetailV2_S")
+ suspend fun getClientDetails(
+ @Body getClientDetailsRequest: getClientDetailsRequest,
+ @Header("token") token: String
+ ): Response
+
+
+ @POST("GetCodes")
+ suspend fun titleApi(
+ @Body getCodeRequest: GetCodeRequest,
+ @Header("token") token: String
+ ): Response
+
+ @POST("GetCodes")
+ suspend fun genderApi(
+ @Body getCodeRequest: GetCodeRequest,
+ @Header("token") token: String
+ ): Response
+
+ @POST("GetCodes")
+ suspend fun annualIncomeApi(
+ @Body getCodeRequest: GetCodeRequest,
+ @Header("token") token: String
+ ): Response
+
+ @POST("GetCodes")
+ suspend fun relationShipApi(
+ @Body getCodeRequest: GetCodeRequest,
+ @Header("token") token: String
+ ): Response
+
+ @POST("GetCodes")
+ suspend fun maritalStatusApi(
+ @Body getCodeRequest: GetCodeRequest,
+ @Header("token") token: String
+ ): Response
+
+ @POST("GetCodes")
+ suspend fun occupationApi(
+ @Body getCodeRequest: GetCodeRequest,
+ @Header("token") token: String
+ ): Response
+
+ @POST("GetStateMaster")
+ suspend fun stateApi(@Header("token") token: String): Response
+
+ @POST("GetCity")
+ suspend fun cityApi(
+ @Body cityRequest: CityRequest,
+ @Header("token") token: String
+ ): Response
+
+ @GET("GetFDBankList?FDProvider=Bajaj")
+ suspend fun bankListApi(@Header("token") token: String, @Query("Language") language : String): Response
+
+ @GET("GetIFSC_Autofill?")
+ suspend fun getIFSCApi(@Query("prefix") ifsc : String): Response
+
+ @GET("GetbankNames")
+ suspend fun getIFSCBankDetailsApi(@Query( "bankname") ifsc : String, @Header("token") token: String): Response
+
+ @POST("GetCodes")
+ suspend fun payModeApi(
+ @Body getCodeRequest: GetCodeRequest,
+ @Header("token") token: String
+ ): Response
+
+ @POST("GetCodes")
+ suspend fun customerListApi(
+ @Body getCodeRequest: GetCodeRequest,
+ @Header("token") token: String
+ ): Response
+
+ @POST("BankValidationAPI_S")
+ suspend fun bankValidationApi(
+ @Body bankValidationApiRequest: BankValidationApiRequest,
+ @Header("token") token: String
+ ): Response
+
+
+ @POST("BankValidationAPI_S")
+ suspend fun getToken(
+ @Body bankValidationApiRequest: BankValidationApiRequest,
+ @Header("token") token: String
+ ): Response
+}
\ No newline at end of file
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/ui/activities1/LoginActivity.kt b/app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/ui/activities1/LoginActivity.kt
new file mode 100644
index 0000000..4890e6e
--- /dev/null
+++ b/app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/ui/activities1/LoginActivity.kt
@@ -0,0 +1,53 @@
+package com.nivesh.production.niveshfd.partnerOnBoarding.ui.activities1
+
+import android.content.Intent
+import android.os.Bundle
+import android.text.Editable
+import android.text.TextWatcher
+import com.nivesh.production.niveshfd.databinding.ActivityLoginBinding
+import com.nivesh.production.niveshfd.fd.ui.activity.BaseActivity
+import com.nivesh.production.niveshfd.fd.util.Common
+
+class LoginActivity : BaseActivity() {
+ lateinit var binding: ActivityLoginBinding
+
+ override fun onCreate(savedInstanceState: Bundle?) {
+ super.onCreate(savedInstanceState)
+ init()
+ }
+
+ private fun init() {
+ binding = ActivityLoginBinding.inflate(layoutInflater)
+ binding.apply {
+ setContentView(this.root)
+ }
+
+ binding.edtEmail.addTextChangedListener(object : TextWatcher {
+ override fun afterTextChanged(s: Editable?) {}
+ override fun beforeTextChanged(s: CharSequence?, start: Int, count: Int, after: Int) {}
+ override fun onTextChanged(s: CharSequence?, start: Int, before: Int, count: Int) {
+ Common.removeError(binding.tlEmail)
+ }
+ })
+
+ binding.edtPassword.addTextChangedListener(object : TextWatcher {
+ override fun afterTextChanged(s: Editable?) {}
+ override fun beforeTextChanged(s: CharSequence?, start: Int, count: Int, after: Int) {}
+ override fun onTextChanged(s: CharSequence?, start: Int, before: Int, count: Int) {
+ Common.removeError(binding.tlPassword)
+ }
+ })
+
+ binding.btnLogin.setOnClickListener{
+
+ }
+ binding.btnRegister.setOnClickListener{
+ intent = Intent(this@LoginActivity, RegisterActivity::class.java)
+ startActivity(intent)
+ }
+ }
+
+ private fun validate(): Boolean {
+ return false
+ }
+}
\ No newline at end of file
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/ui/activities1/RegisterActivity.kt b/app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/ui/activities1/RegisterActivity.kt
new file mode 100644
index 0000000..73558a1
--- /dev/null
+++ b/app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/ui/activities1/RegisterActivity.kt
@@ -0,0 +1,44 @@
+package com.nivesh.production.niveshfd.partnerOnBoarding.ui.activities1
+
+import android.content.Intent
+import android.os.Bundle
+import android.text.Editable
+import android.text.TextWatcher
+import com.nivesh.production.niveshfd.databinding.ActivityLoginBinding
+import com.nivesh.production.niveshfd.databinding.ActivityRegisterBinding
+import com.nivesh.production.niveshfd.fd.ui.activity.BaseActivity
+import com.nivesh.production.niveshfd.fd.util.Common
+
+class RegisterActivity : BaseActivity() {
+ lateinit var binding: ActivityRegisterBinding
+
+ override fun onCreate(savedInstanceState: Bundle?) {
+ super.onCreate(savedInstanceState)
+ init()
+ }
+
+ private fun init() {
+ binding = ActivityRegisterBinding.inflate(layoutInflater)
+ binding.apply {
+ setContentView(this.root)
+ }
+
+ binding.imgInfo.setOnClickListener{
+
+ }
+
+ binding.btnInvestor.setOnClickListener{
+ intent = Intent(this@RegisterActivity, RegisterActivity::class.java)
+ startActivity(intent)
+ }
+ binding.btnDistributor.setOnClickListener{
+ intent = Intent(this@RegisterActivity, RegisterActivity::class.java)
+ startActivity(intent)
+ }
+ binding.btnReferrer.setOnClickListener{
+ intent = Intent(this@RegisterActivity, RegisterActivity::class.java)
+ startActivity(intent)
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/ui/activities1/SignUpActivity.kt b/app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/ui/activities1/SignUpActivity.kt
new file mode 100644
index 0000000..53498e6
--- /dev/null
+++ b/app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/ui/activities1/SignUpActivity.kt
@@ -0,0 +1,30 @@
+package com.nivesh.production.niveshfd.partnerOnBoarding.ui.activities1
+
+import android.os.Bundle
+import com.nivesh.production.niveshfd.R
+import com.nivesh.production.niveshfd.databinding.ActivitySignupBinding
+import com.nivesh.production.niveshfd.fd.ui.activity.BaseActivity
+import com.nivesh.production.niveshfd.partnerOnBoarding.ui.fragments1.SignUpFragment
+
+
+class SignUpActivity : BaseActivity() {
+ lateinit var binding: ActivitySignupBinding
+
+ override fun onCreate(savedInstanceState: Bundle?) {
+ super.onCreate(savedInstanceState)
+ init()
+ }
+
+ private fun init() {
+ binding = ActivitySignupBinding.inflate(layoutInflater)
+ binding.apply {
+ setContentView(this.root)
+ }
+ supportFragmentManager.beginTransaction()
+ .add(R.id.signUpContainer, SignUpFragment())
+ .commit()
+ }
+
+
+}
+
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/ui/activities1/ViewPagerActivity.kt b/app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/ui/activities1/ViewPagerActivity.kt
new file mode 100644
index 0000000..6cfe980
--- /dev/null
+++ b/app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/ui/activities1/ViewPagerActivity.kt
@@ -0,0 +1,97 @@
+package com.nivesh.production.niveshfd.partnerOnBoarding.ui.activities1
+
+import android.content.Intent
+import android.os.Bundle
+import androidx.fragment.app.Fragment
+import androidx.viewpager.widget.ViewPager
+import com.nivesh.production.niveshfd.databinding.ActivityViewpagerBinding
+import com.nivesh.production.niveshfd.fd.ui.activity.BaseActivity
+import com.nivesh.production.niveshfd.partnerOnBoarding.adapters1.DisableAdapter1
+import com.nivesh.production.niveshfd.partnerOnBoarding.adapters1.SectionsPagerAdapter1
+import com.nivesh.production.niveshfd.partnerOnBoarding.ui.fragments1.StepOnePagerFragment
+import com.nivesh.production.niveshfd.partnerOnBoarding.ui.fragments1.StepThreePagerFragment
+import com.nivesh.production.niveshfd.partnerOnBoarding.ui.fragments1.StepTwoPagerFragment
+
+class ViewPagerActivity : BaseActivity() {
+ lateinit var binding: ActivityViewpagerBinding
+ private lateinit var fragments: Array
+ private lateinit var sectionsPagerAdapter: SectionsPagerAdapter1
+ private val stepOnePagerFragment = StepOnePagerFragment()
+ private val stepTwoPagerFragment = StepTwoPagerFragment()
+ private val stepThreePagerFragment = StepThreePagerFragment()
+ override fun onCreate(savedInstanceState: Bundle?) {
+ super.onCreate(savedInstanceState)
+ init()
+ }
+
+ private fun init() {
+ binding = ActivityViewpagerBinding.inflate(layoutInflater)
+ binding.apply {
+ setContentView(this.root)
+ }
+ setViewPager()
+ }
+
+ private fun setViewPager() {
+ fragments = arrayOf(
+ stepOnePagerFragment,
+ stepTwoPagerFragment,
+ stepThreePagerFragment
+ )
+ // set viewPager
+ sectionsPagerAdapter = SectionsPagerAdapter1(supportFragmentManager, fragments)
+ val viewPager: DisableAdapter1 = binding.viewPager1
+ viewPager.adapter = sectionsPagerAdapter
+ viewPager.setPagingEnabled(false)
+ viewPager.offscreenPageLimit = 3
+ viewPager.addOnPageChangeListener(object : ViewPager.OnPageChangeListener {
+ override fun onPageScrolled(
+ position: Int,
+ positionOffset: Float,
+ positionOffsetPixels: Int
+ ) {
+ }
+
+ override fun onPageSelected(position: Int) {
+ when (position) {
+ 0 -> {
+
+ }
+ 1 -> {
+
+ }
+ 2 -> {
+
+ }
+ }
+ }
+
+ override fun onPageScrollStateChanged(state: Int) {
+
+ }
+ })
+
+ }
+
+ // step 1 response
+ fun stepOneApi() {
+ binding.viewPager1.currentItem = 0
+ }
+
+ // step 2 response
+ fun stepTwoApi() {
+ binding.viewPager1.currentItem = 1
+ }
+
+ // step 3 response
+ fun stepThreeApi() {
+ binding.viewPager1.currentItem = 2
+ }
+
+ // step 4 response
+ fun stepFourApi() {
+ intent = Intent(this@ViewPagerActivity, SignUpActivity::class.java)
+ startActivity(intent)
+ }
+
+}
\ No newline at end of file
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/ui/fragments1/OTPFragment.kt b/app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/ui/fragments1/OTPFragment.kt
new file mode 100644
index 0000000..0286ec1
--- /dev/null
+++ b/app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/ui/fragments1/OTPFragment.kt
@@ -0,0 +1,98 @@
+package com.nivesh.production.niveshfd.partnerOnBoarding.ui.fragments1
+
+import android.os.Bundle
+import android.text.Editable
+import android.text.TextWatcher
+import android.view.KeyEvent
+import android.view.LayoutInflater
+import android.view.View
+import android.view.ViewGroup
+import android.widget.EditText
+import androidx.fragment.app.Fragment
+import com.nivesh.production.niveshfd.R
+import com.nivesh.production.niveshfd.databinding.FragmentOtpBinding
+import com.nivesh.production.niveshfd.databinding.FragmentSignupBinding
+import com.nivesh.production.niveshfd.fd.util.Common
+
+class OTPFragment : Fragment() {
+ private var _binding: FragmentOtpBinding? = null
+ private val binding get() = _binding!!
+
+ override fun onCreateView(
+ inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?
+ ): View {
+ _binding = FragmentOtpBinding.inflate(inflater, container, false)
+ return binding.root
+ }
+
+ override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
+ super.onViewCreated(view, savedInstanceState)
+ init()
+ }
+
+ private fun init() {
+ binding.edtOTP1.addTextChangedListener(GenericTextWatcher(binding.edtOTP1, binding.edtOTP2))
+ binding.edtOTP2.addTextChangedListener(GenericTextWatcher(binding.edtOTP2, binding.edtOTP3))
+ binding.edtOTP3.addTextChangedListener(GenericTextWatcher(binding.edtOTP3, binding.edtOTP4))
+ binding.edtOTP4.addTextChangedListener(GenericTextWatcher(binding.edtOTP4, binding.edtOTP5))
+ binding.edtOTP5.addTextChangedListener(GenericTextWatcher(binding.edtOTP5, binding.edtOTP6))
+ binding.edtOTP6.addTextChangedListener(GenericTextWatcher(binding.edtOTP6, null))
+
+ binding.edtOTP1.setOnKeyListener(GenericKeyEvent(binding.edtOTP1, null))
+ binding.edtOTP2.setOnKeyListener(GenericKeyEvent(binding.edtOTP2, binding.edtOTP1))
+ binding.edtOTP3.setOnKeyListener(GenericKeyEvent(binding.edtOTP3, binding.edtOTP2))
+ binding.edtOTP4.setOnKeyListener(GenericKeyEvent(binding.edtOTP4,binding.edtOTP3))
+ binding.edtOTP5.setOnKeyListener(GenericKeyEvent(binding.edtOTP5,binding.edtOTP4))
+ binding.edtOTP6.setOnKeyListener(GenericKeyEvent(binding.edtOTP6,binding.edtOTP5))
+
+ }
+
+ private fun validate(): Boolean {
+ return false;
+ }
+
+ class GenericKeyEvent internal constructor(private val currentView: EditText, private val previousView: EditText?) : View.OnKeyListener{
+ override fun onKey(p0: View?, keyCode: Int, event: KeyEvent?): Boolean {
+ if(event!!.action == KeyEvent.ACTION_DOWN && keyCode == KeyEvent.KEYCODE_DEL && currentView.id != R.id.edtOTP1 && currentView.text.isEmpty()) {
+ //If current is empty then previous EditText's number will also be deleted
+ previousView!!.text = null
+ previousView.requestFocus()
+ return true
+ }
+ return false
+ }
+ }
+
+ class GenericTextWatcher internal constructor(private val currentView: View, private val nextView: View?) : TextWatcher {
+ override fun afterTextChanged(editable: Editable) { // TODO Auto-generated method stub
+ val text = editable.toString()
+ when (currentView.id) {
+ R.id.edtOTP1 -> if (text.length == 1) nextView!!.requestFocus()
+ R.id.edtOTP2 -> if (text.length == 1) nextView!!.requestFocus()
+ R.id.edtOTP3 -> if (text.length == 1) nextView!!.requestFocus()
+ R.id.edtOTP4 -> if (text.length == 1) nextView!!.requestFocus()
+ R.id.edtOTP5 -> if (text.length == 1) nextView!!.requestFocus()
+ //You can use EditText4 same as above to hide the keyboard
+ }
+ }
+
+ override fun beforeTextChanged(
+ arg0: CharSequence,
+ arg1: Int,
+ arg2: Int,
+ arg3: Int
+ ) {
+ }
+
+ override fun onTextChanged(
+ arg0: CharSequence,
+ arg1: Int,
+ arg2: Int,
+ arg3: Int
+ ) {
+ }
+
+ }
+
+
+}
\ No newline at end of file
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/ui/fragments1/SignUpFragment.kt b/app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/ui/fragments1/SignUpFragment.kt
new file mode 100644
index 0000000..6c7b5da
--- /dev/null
+++ b/app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/ui/fragments1/SignUpFragment.kt
@@ -0,0 +1,70 @@
+package com.nivesh.production.niveshfd.partnerOnBoarding.ui.fragments1
+
+import android.os.Bundle
+import android.text.Editable
+import android.text.TextWatcher
+import android.view.LayoutInflater
+import android.view.View
+import android.view.ViewGroup
+import androidx.fragment.app.Fragment
+import com.nivesh.production.niveshfd.R
+import com.nivesh.production.niveshfd.databinding.FragmentSignupBinding
+import com.nivesh.production.niveshfd.fd.util.Common
+
+class SignUpFragment : Fragment() {
+ private var _binding: FragmentSignupBinding? = null
+ private val binding get() = _binding!!
+
+ override fun onCreateView(
+ inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?
+ ): View {
+ _binding = FragmentSignupBinding.inflate(inflater, container, false)
+ return binding.root
+ }
+
+ override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
+ super.onViewCreated(view, savedInstanceState)
+ init()
+ }
+
+ private fun init() {
+ binding.edtMobileNumber.addTextChangedListener(object : TextWatcher {
+ override fun afterTextChanged(s: Editable?) {}
+ override fun beforeTextChanged(s: CharSequence?, start: Int, count: Int, after: Int) {}
+ override fun onTextChanged(s: CharSequence?, start: Int, before: Int, count: Int) {
+ Common.removeError(binding.tlMobileNumber)
+ }
+ })
+
+ binding.btnSignUp.setOnClickListener {
+ if (validate()) {
+
+ }
+ }
+ }
+
+ private fun validate(): Boolean {
+ return if (binding.edtMobileNumber.text.toString().isEmpty()) { // EditText
+ Common.commonErrorMethod(
+ binding.edtMobileNumber,
+ binding.tlMobileNumber,
+ getString(R.string.emptyMobileNumber)
+ )
+ } else if (!Common.isIndianMobileNo(binding.edtMobileNumber.text.toString())) { // EditText
+ Common.commonErrorMethod(
+ binding.edtMobileNumber,
+ binding.tlMobileNumber,
+ getString(R.string.inValidIndianMobileNumber)
+ )
+ } else if (binding.edtMobileNumber.text?.length != 10) { // EditText
+ Common.commonErrorMethod(
+ binding.edtMobileNumber,
+ binding.tlMobileNumber,
+ getString(R.string.inValidMobileNumber)
+ )
+ } else {
+ return true
+ }
+ }
+
+}
\ No newline at end of file
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/ui/fragments1/StepOnePagerFragment.kt b/app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/ui/fragments1/StepOnePagerFragment.kt
new file mode 100644
index 0000000..989a596
--- /dev/null
+++ b/app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/ui/fragments1/StepOnePagerFragment.kt
@@ -0,0 +1,35 @@
+package com.nivesh.production.niveshfd.partnerOnBoarding.ui.fragments1
+
+import android.os.Bundle
+import android.view.LayoutInflater
+import android.view.View
+import android.view.ViewGroup
+import androidx.fragment.app.Fragment
+import com.nivesh.production.niveshfd.databinding.FragmentPagerStepOneBinding
+import com.nivesh.production.niveshfd.fd.ui.activity.NiveshFdMainActivity
+import com.nivesh.production.niveshfd.partnerOnBoarding.ui.activities1.ViewPagerActivity
+
+class StepOnePagerFragment : Fragment() {
+ private var _binding: FragmentPagerStepOneBinding? = null
+ private val binding get() = _binding!!
+
+ override fun onCreateView(
+ inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?
+ ): View {
+ _binding = FragmentPagerStepOneBinding.inflate(inflater, container, false)
+ return binding.root
+ }
+
+
+ override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
+ super.onViewCreated(view, savedInstanceState)
+ init()
+ }
+
+ private fun init() {
+ binding.btnNext.setOnClickListener{
+ (activity as ViewPagerActivity).stepTwoApi()
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/ui/fragments1/StepThreePagerFragment.kt b/app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/ui/fragments1/StepThreePagerFragment.kt
new file mode 100644
index 0000000..9a23cf3
--- /dev/null
+++ b/app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/ui/fragments1/StepThreePagerFragment.kt
@@ -0,0 +1,38 @@
+package com.nivesh.production.niveshfd.partnerOnBoarding.ui.fragments1
+
+import android.os.Bundle
+import android.view.LayoutInflater
+import android.view.View
+import android.view.ViewGroup
+import androidx.fragment.app.Fragment
+import com.nivesh.production.niveshfd.databinding.FragmentPagerStepThreeBinding
+import com.nivesh.production.niveshfd.partnerOnBoarding.ui.activities1.ViewPagerActivity
+
+class StepThreePagerFragment : Fragment() {
+ private var _binding: FragmentPagerStepThreeBinding? = null
+ private val binding get() = _binding!!
+
+ override fun onCreateView(
+ inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?
+ ): View {
+ _binding = FragmentPagerStepThreeBinding.inflate(inflater, container, false)
+ return binding.root
+ }
+
+
+ override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
+ super.onViewCreated(view, savedInstanceState)
+ init()
+ }
+
+ private fun init() {
+ binding.btnNext.setOnClickListener {
+ (activity as ViewPagerActivity).stepFourApi()
+ }
+
+ binding.btnNext.setOnClickListener {
+ (activity as ViewPagerActivity).stepThreeApi()
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/ui/fragments1/StepTwoPagerFragment.kt b/app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/ui/fragments1/StepTwoPagerFragment.kt
new file mode 100644
index 0000000..a60752e
--- /dev/null
+++ b/app/src/main/java/com/nivesh/production/niveshfd/partnerOnBoarding/ui/fragments1/StepTwoPagerFragment.kt
@@ -0,0 +1,36 @@
+package com.nivesh.production.niveshfd.partnerOnBoarding.ui.fragments1
+
+import android.os.Bundle
+import android.view.LayoutInflater
+import android.view.View
+import android.view.ViewGroup
+import androidx.fragment.app.Fragment
+import com.nivesh.production.niveshfd.databinding.FragmentPagerStepTwoBinding
+import com.nivesh.production.niveshfd.partnerOnBoarding.ui.activities1.ViewPagerActivity
+
+class StepTwoPagerFragment : Fragment() {
+ private var _binding: FragmentPagerStepTwoBinding? = null
+ private val binding get() = _binding!!
+
+ override fun onCreateView(
+ inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?
+ ): View {
+ _binding = FragmentPagerStepTwoBinding.inflate(inflater, container, false)
+ return binding.root
+ }
+
+
+ override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
+ super.onViewCreated(view, savedInstanceState)
+ init()
+ }
+
+ private fun init() {
+ binding.btnNext.setOnClickListener {
+ (activity as ViewPagerActivity).stepThreeApi()
+ }
+ binding.btnBack.setOnClickListener {
+ (activity as ViewPagerActivity).stepTwoApi()
+ }
+ }
+}
\ No newline at end of file
diff --git a/app/src/main/res/drawable/google_icon.xml b/app/src/main/res/drawable/google_icon.xml
new file mode 100644
index 0000000..b9742f8
--- /dev/null
+++ b/app/src/main/res/drawable/google_icon.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/drawable/hands.png b/app/src/main/res/drawable/hands.png
new file mode 100644
index 0000000..2de5fd4
Binary files /dev/null and b/app/src/main/res/drawable/hands.png differ
diff --git a/app/src/main/res/drawable/info.png b/app/src/main/res/drawable/info.png
new file mode 100644
index 0000000..8ac22ff
Binary files /dev/null and b/app/src/main/res/drawable/info.png differ
diff --git a/app/src/main/res/drawable/nivesh.xml b/app/src/main/res/drawable/nivesh.xml
new file mode 100644
index 0000000..0734e14
--- /dev/null
+++ b/app/src/main/res/drawable/nivesh.xml
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/activity_login.xml b/app/src/main/res/layout/activity_login.xml
new file mode 100644
index 0000000..15b248d
--- /dev/null
+++ b/app/src/main/res/layout/activity_login.xml
@@ -0,0 +1,236 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/activity_nivesh_fd.xml b/app/src/main/res/layout/activity_nivesh_fd.xml
index 3765f61..5e47de6 100644
--- a/app/src/main/res/layout/activity_nivesh_fd.xml
+++ b/app/src/main/res/layout/activity_nivesh_fd.xml
@@ -4,7 +4,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
- tools:context="com.nivesh.production.niveshfd.ui.activity.NiveshFdMainActivity">
+ tools:context="com.nivesh.production.niveshfd.fd.ui.activity.NiveshFdMainActivity">
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/activity_signup.xml b/app/src/main/res/layout/activity_signup.xml
new file mode 100644
index 0000000..4afd03f
--- /dev/null
+++ b/app/src/main/res/layout/activity_signup.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/activity_viewpager.xml b/app/src/main/res/layout/activity_viewpager.xml
new file mode 100644
index 0000000..d4e6fa9
--- /dev/null
+++ b/app/src/main/res/layout/activity_viewpager.xml
@@ -0,0 +1,56 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/fragment_niveshfd_step_five.xml b/app/src/main/res/layout/fragment_niveshfd_step_five.xml
index 8f2aae1..b190efd 100644
--- a/app/src/main/res/layout/fragment_niveshfd_step_five.xml
+++ b/app/src/main/res/layout/fragment_niveshfd_step_five.xml
@@ -6,7 +6,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/NiveshColorAppBg"
- tools:context="com.nivesh.production.niveshfd.ui.fragment.StepFiveNiveshFDFragment">
+ tools:context="com.nivesh.production.niveshfd.fd.ui.fragment.StepFiveNiveshFDFragment">
+ tools:context="com.nivesh.production.niveshfd.fd.ui.fragment.StepFourNiveshFDFragment">
+ tool:context="com.nivesh.production.niveshfd.fd.ui.fragment.StepOneNiveshFDFragment">
+ tools:context=".fd.ui.fragment.StepFourNiveshFDFragment">
+ tools:context=".fd.ui.fragment.StepThreeNiveshFDFragment">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/fragment_pager_step_one.xml b/app/src/main/res/layout/fragment_pager_step_one.xml
new file mode 100644
index 0000000..edfd79e
--- /dev/null
+++ b/app/src/main/res/layout/fragment_pager_step_one.xml
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/fragment_pager_step_three.xml b/app/src/main/res/layout/fragment_pager_step_three.xml
new file mode 100644
index 0000000..13a9930
--- /dev/null
+++ b/app/src/main/res/layout/fragment_pager_step_three.xml
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/fragment_pager_step_two.xml b/app/src/main/res/layout/fragment_pager_step_two.xml
new file mode 100644
index 0000000..bad8535
--- /dev/null
+++ b/app/src/main/res/layout/fragment_pager_step_two.xml
@@ -0,0 +1,55 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/fragment_signup.xml b/app/src/main/res/layout/fragment_signup.xml
new file mode 100644
index 0000000..6359d6c
--- /dev/null
+++ b/app/src/main/res/layout/fragment_signup.xml
@@ -0,0 +1,115 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/values-hi-rIN/strings.xml b/app/src/main/res/values-hi-rIN/strings.xml
index 67ff6e1..5ad78e7 100644
--- a/app/src/main/res/values-hi-rIN/strings.xml
+++ b/app/src/main/res/values-hi-rIN/strings.xml
@@ -261,6 +261,21 @@
Selected Bank is Not Eligible For Investment of Bajaj Fd
Sorry! We are not serving NRI residents at present.
+ Login
+ Forgot Password ?
+ Don\'t have an account?
+ Register
+ By proceeding I accept Nivesh
+
+ OR
+ WANT TO BE A DISTRIBUTOR
+ I\'M A DISTRIBUTOR (ARN HOLDER)
+ I\'M AN INVESTOR
+ Select an option below that best describes you
+ Use your Mobile number to Sign-up to manage you finance and funds!
+ Mobile Number
+ Sign Up
+ CONTINUE
\ No newline at end of file
diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml
index 07c799a..64e0f58 100644
--- a/app/src/main/res/values/colors.xml
+++ b/app/src/main/res/values/colors.xml
@@ -18,6 +18,8 @@
#757575
#D9D9D9
#E6EBE0
+ #303030
+
#FF03DAC5
#FF018786
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 5164a61..1eca968 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -262,4 +262,27 @@
Sorry! We are not serving NRI residents at present.
+
+
+
+ enter Mobile or Email
+ enter Password
+ Login
+ Forgot Password ?
+ Login With Google
+ Don\'t have an account?
+ Register
+ By proceeding I accept Nivesh
+
+ OR
+ WANT TO BE A DISTRIBUTOR
+ I\'M A DISTRIBUTOR (ARN HOLDER)
+ I\'M AN INVESTOR
+ Select an option below that best describes you
+ Use your Mobile number to Sign-up to manage you finance and funds!
+ Mobile Number
+ Sign Up
+ CONTINUE
+
+
\ No newline at end of file
diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml
index 823e501..d0a1b55 100644
--- a/app/src/main/res/values/themes.xml
+++ b/app/src/main/res/values/themes.xml
@@ -14,6 +14,35 @@
+
+
+
+
+
+
+
+
+