NTP-4790 | Mehul | added deviceDetails to paybill request (#14519)
This commit is contained in:
@@ -57,6 +57,7 @@ import com.navi.bbps.feature.category.BillCategoriesRepository
|
||||
import com.navi.bbps.feature.category.model.network.RewardDetailsResponse
|
||||
import com.navi.bbps.feature.category.model.view.BillCategoryEntity
|
||||
import com.navi.bbps.feature.contactlist.model.view.PhoneContactEntity
|
||||
import com.navi.bbps.feature.customerinput.model.network.DeviceDetails
|
||||
import com.navi.bbps.feature.customerinput.model.view.BillDetailsEntity
|
||||
import com.navi.bbps.feature.customerinput.model.view.BillerAdditionalParamsEntity
|
||||
import com.navi.bbps.feature.customerinput.model.view.BillerDetailsEntity
|
||||
@@ -712,6 +713,7 @@ constructor(
|
||||
notes = "",
|
||||
referenceId = billDetailsEntity.referenceId,
|
||||
isConsentProvided = isConsentProvided.value,
|
||||
deviceDetails = DeviceDetails(ip = naviNetworkConnectivity.getIpAddress()),
|
||||
)
|
||||
val payBillResponse =
|
||||
payBillRepository.fetchPaymentToken(
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
*
|
||||
* * Copyright © 2024 by Navi Technologies Limited
|
||||
* * Copyright © 2024-2025 by Navi Technologies Limited
|
||||
* * All rights reserved. Strictly confidential
|
||||
*
|
||||
*/
|
||||
@@ -8,10 +8,12 @@
|
||||
package com.navi.bbps.feature.paybill.model.network
|
||||
|
||||
import com.google.gson.annotations.SerializedName
|
||||
import com.navi.bbps.feature.customerinput.model.network.DeviceDetails
|
||||
|
||||
data class PayBillRequest(
|
||||
@SerializedName("paymentAmount") val paymentAmount: String,
|
||||
@SerializedName("notes") val notes: String,
|
||||
@SerializedName("referenceId") val referenceId: String,
|
||||
@SerializedName("isConsentProvided") val isConsentProvided: Boolean,
|
||||
@SerializedName("deviceDetails") val deviceDetails: DeviceDetails,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user