adding FetchbillByBillId
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package com.billpaymentservice.bbps.dto;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
public class AdditionalInfo {
|
||||
private String paramConfigId;
|
||||
private String paramName;
|
||||
private String dataTypeDAO;
|
||||
private String dataTypeModel;
|
||||
private boolean optional;
|
||||
private boolean visibility;
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package com.billpaymentservice.bbps.dto;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
public class AmountOption {
|
||||
private String amountOptionId;
|
||||
private List<String> amountBreakupSets;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
package com.billpaymentservice.bbps.dto;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class BillerDAO {
|
||||
private String billerId;
|
||||
private String billerName;
|
||||
private String billerAliasName;
|
||||
private String billerCategoryName;
|
||||
private String billerMode;
|
||||
private boolean billerAcceptsAdhoc;
|
||||
private boolean parentBiller;
|
||||
private String parentBillerId;
|
||||
private String billerOwnerShp;
|
||||
private String billerCoverage;
|
||||
private String fetchRequirement;
|
||||
private String paymentAmountExactness;
|
||||
private String supportBillValidation;
|
||||
private String billerEffctvFrom;
|
||||
private String billerEffctvTo;
|
||||
private String billerTempDeactivationStart;
|
||||
private String billerTempDeactivationEnd;
|
||||
|
||||
private List<PaymentMode> billerPaymentModes;
|
||||
private List<PaymentChannel> billerPaymentChannels;
|
||||
private List<CustomerParam> billerCustomerParams;
|
||||
private CustomerParamGroups customerParamGroups;
|
||||
private BillerResponseParams billerResponseParams;
|
||||
private List<AdditionalInfo> billerAdditionalInfos;
|
||||
private List<AdditionalInfo> billerAdditionalInfoPayments;
|
||||
private List<InterchangeFeeConf> interchangeFeeConves;
|
||||
private List<InterchangeFee> interchangeFees;
|
||||
|
||||
private String status;
|
||||
private String billerDescription;
|
||||
private String supportDeemed;
|
||||
private String supportPendingStatus;
|
||||
private String billerTimeOut;
|
||||
private String routeUrl;
|
||||
private String billerResponseType;
|
||||
private BillerPlanResponseParams billerPlanResponseParams;
|
||||
private String planMDMRequirement;
|
||||
private List<Object> planAdditionalInfos;
|
||||
private String upmsEnabled;
|
||||
private String clickpayEnabled;
|
||||
private String deemedSuccessEnabled;
|
||||
private String selectionType;
|
||||
|
||||
// getters and setters
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package com.billpaymentservice.bbps.dto;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
public class BillerPlanResponseParams {
|
||||
private String billerPlanResponseId;
|
||||
private List<Object> params;
|
||||
private List<Object> amountOptions;
|
||||
|
||||
// getters and setters
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package com.billpaymentservice.bbps.dto;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
public class BillerResponseParams {
|
||||
private String billerResponseId;
|
||||
private List<Object> params;
|
||||
private List<AmountOption> amountOptions;
|
||||
|
||||
// getters and setters
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package com.billpaymentservice.bbps.dto;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
public class CustomerParam {
|
||||
private String paramConfigId;
|
||||
private String paramName;
|
||||
private String dataTypeDAO;
|
||||
private String dataTypeModel;
|
||||
private boolean optional;
|
||||
private int minLength;
|
||||
private int maxLength;
|
||||
private String regex;
|
||||
private boolean visibility;
|
||||
|
||||
// getters and setters
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
package com.billpaymentservice.bbps.dto;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
public class CustomerParamGroups {
|
||||
private List<Group> groups;
|
||||
|
||||
// getters and setters
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
package com.billpaymentservice.bbps.dto;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
public class GeneralResp {
|
||||
private String statusCode;
|
||||
private String status;
|
||||
private String message;
|
||||
private String remarks;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.billpaymentservice.bbps.dto;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
public class Group {
|
||||
private String groupId;
|
||||
private List<String> params; // e.g., ["Admission No/Application No/GR No"]
|
||||
private List<Group> groups; // nested groups
|
||||
private String name; // group name
|
||||
private String input; // input count as string
|
||||
// getters and setters
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package com.billpaymentservice.bbps.dto;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
public class InterchangeFee {
|
||||
private String interchangeFeeId;
|
||||
private String feeCode;
|
||||
private String feeDesc;
|
||||
private String feeDirection;
|
||||
private List<InterchangeFeeDetail> interchangeFeeDetails;
|
||||
|
||||
// getters and setters
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package com.billpaymentservice.bbps.dto;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
public class InterchangeFeeConf {
|
||||
private String interChangeFeeConfId;
|
||||
private String mti;
|
||||
private String paymentMode;
|
||||
private String paymentChannel;
|
||||
private String responseCode;
|
||||
private List<String> fees;
|
||||
private boolean defaultFee;
|
||||
private String effctvFrom;
|
||||
private String effctvTo;
|
||||
|
||||
// getters and setters
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.billpaymentservice.bbps.dto;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
public class InterchangeFeeDetail {
|
||||
private String interchangeFeeDetId;
|
||||
private long tranAmtRangeMax;
|
||||
private long tranAmtRangeMin;
|
||||
private double percentFee;
|
||||
private double flatFee;
|
||||
private String effctvFrom;
|
||||
|
||||
// getters and setters
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.billpaymentservice.bbps.dto;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
public class PaymentChannel {
|
||||
private String paymentChannelLimitId;
|
||||
private String paymentChannel;
|
||||
private long maxLimit;
|
||||
private long minLimit;
|
||||
private String supportPendingStatus;
|
||||
|
||||
// getters and setters
|
||||
}
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
package com.billpaymentservice.bbps.dto;
|
||||
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
public class PaymentMode {
|
||||
private String paymentModelLimitId;
|
||||
private String paymentMode;
|
||||
private long maxLimit;
|
||||
private long minLimit;
|
||||
private String supportPendingStatus;
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -2,8 +2,15 @@ package com.billpaymentservice.bbps.dto.request;
|
||||
|
||||
import com.billpaymentservice.bbps.entites.BaseClass;
|
||||
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
public class BillerDetailRequest extends BaseClass{
|
||||
|
||||
@NotNull
|
||||
private String billerId;
|
||||
|
||||
}
|
||||
|
||||
@@ -1,5 +1,17 @@
|
||||
package com.billpaymentservice.bbps.dto.response;
|
||||
|
||||
public class BillerDataResponse {
|
||||
import com.billpaymentservice.bbps.dto.BillerDAO;
|
||||
import com.billpaymentservice.bbps.dto.GeneralResp;
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class BillerDataResponse {
|
||||
private BillerDAO billerDAO;
|
||||
|
||||
private GeneralResp generalResp;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user