|
|
@ -191,8 +191,9 @@ class StepOneBajajFDFragment : Fragment() { |
|
|
|
|
|
|
|
private fun maturityAmountApi(tenure: Int, interest: Double) { |
|
|
|
if (Common.isNetworkAvailable(activity as BajajFdMainActivity)) { |
|
|
|
if (binding.edtAmount.text.toString().isNotEmpty() && interest.toString() |
|
|
|
.isNotEmpty() && tenure.toString().isNotEmpty() |
|
|
|
if ( |
|
|
|
|
|
|
|
binding.edtAmount.text.toString().isNotEmpty() && interest != 0.0 && tenure != 0 |
|
|
|
) { |
|
|
|
val maturityAmountRequest = GetMaturityAmountRequest() |
|
|
|
maturityAmountRequest.FDProvider = getString(R.string.bajaj) |
|
|
|