improved code and added logs in paymentserviceimpl
This commit is contained in:
@@ -109,7 +109,6 @@ public class MasterDataServiceImpl implements MasterDataService {
|
||||
String requestId = masterRequest.getReqId();
|
||||
String mid = masterRequest.getMid();
|
||||
LOGGER.info("[{}] START | reqId={} | mid={}", apiName, requestId, mid);
|
||||
|
||||
// Merchant Validation
|
||||
helper.validateMerchant(mid);
|
||||
String txnID = helper.generateTxnId(15);
|
||||
@@ -230,7 +229,7 @@ public class MasterDataServiceImpl implements MasterDataService {
|
||||
throw new CustomException("Invalid JSON received from API");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public ResponseModel getCustomerParamByBillerId(CustomParamRequest customerParamRequest) {
|
||||
String apiName = BBPSConstant.API_GET_CUSTOMER_PARAM_BY_BILLER_ID;
|
||||
@@ -481,6 +480,7 @@ public class MasterDataServiceImpl implements MasterDataService {
|
||||
if (entities != null) {
|
||||
dispositionRepository.saveAll(entities);
|
||||
} else {
|
||||
|
||||
LOGGER.warn("No disposition found in response to save.");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user