working code of billValidation and other api
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package com.billpaymentservice.bbps.dto;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
public class AdditionalInfoBillValidateDTO {
|
||||
String name;
|
||||
String value;
|
||||
}
|
||||
+2
-1
@@ -2,6 +2,7 @@ package com.billpaymentservice.bbps.dto.response;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.billpaymentservice.bbps.dto.AdditionalInfoBillValidateDTO;
|
||||
import com.billpaymentservice.bbps.dto.CustomerParamDAO;
|
||||
import com.billpaymentservice.bbps.dto.GeneralResp;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
@@ -28,7 +29,7 @@ public class FetchBillValidateResponse {
|
||||
private String actionType;
|
||||
private String userId;
|
||||
private String billerResponse;
|
||||
private String additionalInfo;
|
||||
private List<AdditionalInfoBillValidateDTO> additionalInfo;
|
||||
private List<CustomerParamDAO> customerParams;
|
||||
private String planInfoDaos;
|
||||
private String creationDate;
|
||||
|
||||
@@ -162,7 +162,7 @@ public class AgentServiceImpl implements AgentService {
|
||||
String txnId = helper.generateTxnId(15);
|
||||
String reqId = billFetchByBillIdRequest.getReqId();
|
||||
String billId = billFetchByBillIdRequest.getBillId();
|
||||
String fullUrl = agentDtaUrl + BBPSConstant.BILL_FETCH_BY_ID + billFetchByBillIdRequest.getBillId();
|
||||
String fullUrl = agentDtaUrl + BBPSConstant.BILL_FETCH_BY_ID + "1ced7566-1add-4e01-9ed6-04cd67ac9684";
|
||||
|
||||
helper.validateMerchant(billFetchByBillIdRequest.getMid());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user