fixed the biller Id Saving problem added 404 not found url

This commit is contained in:
Lincpay Tech
2025-11-12 16:46:59 +05:30
parent d24d920cce
commit 84ad9a2dec
15 changed files with 377 additions and 18 deletions
@@ -0,0 +1,32 @@
package com.billpaymentservice.bbps.dto;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
@JsonIgnoreProperties(ignoreUnknown = true)
public class ComplaintDetailsDTO {
private String complaintId; // UUID
private String complaintDescr; // Complaint description
private String complaintDispos; // Complaint disposition
private String complaintType;
// Complaint type
@JsonProperty("txnId")
private String bankTxnId; // Transaction ID
private String txnNpciId; // Transaction NPCI ID
private String assignedTo; // Assigned person
private String complaintNpciId; // Complaint NPCI ID
private String complaintRaisedFrom; // Who raised the complaint
private String userId; // User ID
private String status; // Complaint status
private String refId; // Reference ID
private String estimated_TAT; // Estimated Turnaround Time
private String creationDate; // ISO timestamp
private String modifiedDate; // ISO timestamp
private Long createdEpochDate; // Epoch creation time
private Long modifiedEpochDate; // Epoch modified time
}
@@ -1,6 +1,7 @@
package com.billpaymentservice.bbps.dto.request;
import com.billpaymentservice.bbps.dto.DeviceDetail;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import jakarta.validation.constraints.NotBlank;
@@ -15,37 +16,53 @@ import lombok.ToString;
@AllArgsConstructor
@NoArgsConstructor
@ToString
@JsonIgnoreProperties(ignoreUnknown = true)
public abstract class BaseClass {
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
@NotBlank(message = "MID cannot be null or blank")
private String mid;
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
@NotBlank(message = "Secret key cannot be null or blank")
private String secretKey;
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
@NotBlank(message = "Request ID cannot be null or blank")
private String reqId;
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
private DeviceDetail deviceDetial;
// ✅ 10 User Defined Fields (UDF1–UDF10)
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
private String udf1;
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
private String udf2;
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
private String udf3;
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
private String udf4;
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
private String udf5;
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
private String udf6;
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
private String udf7;
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
private String udf8;
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
private String udf9;
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
private String udf10;
}
@@ -0,0 +1,15 @@
package com.billpaymentservice.bbps.dto.request;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
public class ComplaintRequestDTO extends BaseClass {
private String complaintDescription; // Complaint description that the user enters
private String complaintDisposition; // Complaint disposition
private String complaintType; // Type of complaint
private String txnId; // Transaction ID (optional)
private String clientReqId; // Client Req ID (optional)
}
@@ -0,0 +1,16 @@
package com.billpaymentservice.bbps.dto.response;
import java.util.List;
import com.billpaymentservice.bbps.dto.ComplaintDetailsDTO;
import com.billpaymentservice.bbps.dto.GeneralResp;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
public class ComplaintResponse {
private ComplaintDetailsDTO complaints; // multiple complaints
private GeneralResp generalResp;
}