updating currency conversion logic
This commit is contained in:
@@ -185,11 +185,11 @@ public class HotRechargeIntegrationProcessor implements TransactionProcessorInte
|
|||||||
}
|
}
|
||||||
|
|
||||||
List<Map<String, String>> rechargeOptions = new ArrayList<>();
|
List<Map<String, String>> rechargeOptions = new ArrayList<>();
|
||||||
if (transaction.getDebitPhone() != null) {
|
if (transaction.getCreditPhone() != null) {
|
||||||
Map<String, String> option = new LinkedHashMap<>();
|
Map<String, String> option = new LinkedHashMap<>();
|
||||||
option.put("Name", "NotifyNumber");
|
option.put("Name", "NotifyNumber");
|
||||||
option.put("ParameterType", "String");
|
option.put("ParameterType", "String");
|
||||||
option.put("Value", transaction.getDebitPhone());
|
option.put("Value", transaction.getCreditPhone());
|
||||||
rechargeOptions.add(option);
|
rechargeOptions.add(option);
|
||||||
}
|
}
|
||||||
if (!rechargeOptions.isEmpty()) {
|
if (!rechargeOptions.isEmpty()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user