imroved webbased datasaved

This commit is contained in:
Lincpay Tech
2025-12-05 11:55:49 +05:30
parent 66fceb95a1
commit 1e38efe3c0
13 changed files with 59 additions and 36 deletions
@@ -1,8 +1,13 @@
package com.billpaymentservice.bbps.dto.request;
import jakarta.validation.constraints.NotBlank;
public class CallbackRequest {
@NotBlank(message = "mid is mandatory")
private String mid;
@NotBlank(message = "data is mandatory")
private String data;
@NotBlank(message = "signature is mandatory")
private String signature;
public String getMid() {
@@ -2,6 +2,7 @@ package com.billpaymentservice.bbps.dto.request;
import java.io.Serializable;
import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
@@ -13,14 +14,21 @@ import lombok.Setter;
@AllArgsConstructor
// DTO representing the user request payload described by the user
public class PaymentStartUserRequest extends BaseClass implements Serializable {
@NotBlank(message = "amount can not be null")
private String amount;
private String currency;
private String emailId;
@NotBlank(message = "currency can not be null")
String currency;
@NotBlank(message = "customerVpa can not be null")
private String customerVpa;
private String mobileNo;
private String respUrl;
@NotBlank(message = "txnReqType can not be null")
private String txnReqType;
@NotBlank(message = "udf1(Latitude) can not be null")
private String udf1;
@NotBlank(message = "udf2(Longitude) can not be null")
private String udf2;
private String emailId;
private String mobileNo;
private String name;
}