imroved webbased datasaved
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user