update code complaint code

This commit is contained in:
Mohd-Arham
2025-11-21 09:54:43 +05:30
parent 1aedfd890d
commit 32a42284f8
54 changed files with 1907 additions and 1189 deletions
@@ -6,8 +6,9 @@ import lombok.Setter;
@Getter
@Setter
public class ViewComplainByIdRequest extends BaseClass {
public class BillFetchbyClientIdRequest extends BaseClass{
@NotBlank(message = "client Req Id is not be null")
private String clientReqId;
@NotBlank(message = "Complain ID cannot be blank")
private String complaintId;
}
@@ -13,6 +13,6 @@ import lombok.Setter;
@NoArgsConstructor
public class ComplainStatusRequest extends BaseClass {
@NotBlank(message = "Complaint Id cannot be null or blank")
private String complaintId;
@NotBlank(message = "ticketId Id cannot be null or blank")
private String ticketId;
}
@@ -7,9 +7,11 @@ import lombok.Setter;
@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)
private String ticketDescription; // Complaint description that the user enters
private String ticketDisposition; // Complaint disposition
private String ticketDispositionCode; // Type of complaint
private String txnId; // Transaction ID (optional)
private String billerId; // Client Req ID (optional);
private String billerName;
}
@@ -0,0 +1,25 @@
package com.billpaymentservice.bbps.dto.request;
import com.fasterxml.jackson.annotation.JsonIgnore;
import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class GetTicketLatestStausRequest extends BaseClass {
@NotBlank(message = "txnNpciId Id cannot be null or blank")
private String txnNpciId;
@NotBlank(message = "ticketId Id cannot be null or blank")
private String ticketId;
private String tenantId;
}
@@ -0,0 +1,15 @@
package com.billpaymentservice.bbps.dto.request;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
public class ViewAllComplaintsTicketsRequest extends BaseClass{
private String statusType; // e.g. COMPLAINT_OPEN_SUCCESS
private Integer pageNo; // default 0
private Integer pageSize; // default 10
private String ticketType; // default 10
}