TP-12345 | Added accountType in add bank api (#11694)

This commit is contained in:
shankar yadav
2024-07-04 14:26:13 +05:30
committed by GitHub
parent d0c51efdf8
commit 5b63e6c688
3 changed files with 3 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ data class AddAccountRequest(
@SerializedName("udfParameters") val udfParameters: String = "{}",
@SerializedName("merchantCustomerId") val merchantCustomerId: String,
@SerializedName("bankAccountUniqueId") val bankAccountUniqueId: String,
@SerializedName("accountType") val accountType: String,
@SerializedName("setDefault") val setDefault: Boolean,
@SerializedName("creditLineAccSubType") val creditLineAccSubType: String? = null,
@SerializedName("creditLineAllowedMCC") val creditLineAllowedMCC: List<String>? = null,

View File

@@ -441,6 +441,7 @@ constructor(
AddAccountRequest(
deviceData = deviceInfoProvider.getDeviceData(),
bankAccountUniqueId = selectedAccount.accountId,
accountType = selectedAccount.accountType,
customerVpa = selectedVpa,
merchantCustomerId = deviceInfoProvider.getMerchantCustomerId(),
setDefault = !isCreditCardOrCreditLine(),

View File

@@ -386,6 +386,7 @@ constructor(
AddAccountRequest(
deviceData = deviceInfoProvider.getDeviceData(),
bankAccountUniqueId = selectedAccount.bankAccountUniqueId,
accountType = selectedAccount.type,
customerVpa = selectedVpa,
merchantCustomerId = deviceInfoProvider.getMerchantCustomerId(),
setDefault =