This commit is contained in:
Mohd-Arham
2025-11-03 10:50:07 +05:30
parent 6ec6847ad2
commit 2f33b306ae
24 changed files with 937 additions and 393 deletions
@@ -11,11 +11,8 @@ import lombok.Setter;
@AllArgsConstructor
@NoArgsConstructor
public class BillFetchByBillIdRequest extends BaseClass {
@NotNull
private String billId;
private String tenantId;
private String digiledgeKey;
private String agentId;
}
@@ -0,0 +1,30 @@
package com.billpaymentservice.bbps.dto.request;
import com.billpaymentservice.bbps.dto.CustomerParamsRequest;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class FetchBillValidatestRequest extends BaseClass {
@NotNull
private String billerId; // Alphanumeric, Unique ID assigned by NPCI
@NotNull
private String billerName; // String, Name of the biller
@NotNull
private String billerCategory; // String, Category of the biller
@NotNull
private String customerMobNo; // String, Mobile of the Customer
// Optional Fields
private String macAddress; // Alphanumeric MAC Address of the Agent Server
//private String clientReqId; // String, Unique id provided by the client
private CustomerParamsRequest customerParamsRequest; // Customer parameters for identifying the bill
}
@@ -0,0 +1,24 @@
package com.billpaymentservice.bbps.dto.request;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class MasterCategoryRequest extends BaseClass {
private String billerName;
@NotNull
private String category;
private Integer pageStart = 0;
private Integer pageEnd = 10;
}
@@ -1,15 +1,12 @@
package com.billpaymentservice.bbps.dto.request;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class MasterRequest extends BaseClass {
@NotNull
private String tenantId;
}