This commit is contained in:
Mohd-Arham
2025-12-01 18:45:31 +05:30
parent ff97877997
commit 3e0a04e390
19 changed files with 463 additions and 106 deletions
@@ -0,0 +1,23 @@
package com.billpaymentservice.bbps.dto;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
public class TransactionHistoryParticularDetailsDTO {
private String billerCategory;
private String billerName;
private Double totalTxnAmount;
private String bankTxnId;
private String txnId;
private String creationDate;
private String status;
}
@@ -18,6 +18,4 @@ public class UserDetailsDTO {
private String userMobNo;
private String userName;
private String userAge;
}
@@ -1,14 +1,16 @@
package com.billpaymentservice.bbps.dto.auth;
import com.billpaymentservice.bbps.dto.request.BaseClass;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
public class RegisterRequest {
private String mobile;
private String name;
private String email;
private String age;
public class RegisterRequest extends BaseClass {
private String mobile;
private String name;
private String email;
private String registrationToken;
}
@@ -10,11 +10,9 @@ import lombok.Setter;
@NoArgsConstructor
@AllArgsConstructor
public class UserDto {
private Long id;
private String mobile;
private String name;
private String email;
private String age;
private Long id;
private String mobile;
private String name;
private String email;
}
@@ -0,0 +1,13 @@
package com.billpaymentservice.bbps.dto.request;
import jakarta.validation.constraints.NotBlank;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
public class PaymentHistoryByTxnRequest extends BaseClass {
@NotBlank(message = "txn Id not be null")
private String txnId;
}
@@ -23,6 +23,8 @@ public class AuthResponses {
private String anotherData;
private String registrationToken;
// Constructor
public AuthResponses(String status, String message, int statusCode, String token) {
@@ -32,12 +34,14 @@ public class AuthResponses {
this.token = token;
}
public AuthResponses(String token, String status, String message, int statusCode, Object data) {
public AuthResponses(String token, String status, String message, int statusCode, Object data,
String registrationToken) {
this.token = token;
this.status = status;
this.message = message;
this.statusCode = statusCode;
this.data = data;
this.registrationToken = registrationToken;
}
}