entity update with audit
This commit is contained in:
@@ -11,43 +11,33 @@ import lombok.Setter;
|
||||
@Setter
|
||||
public class BillPaymentRequest extends BaseClass {
|
||||
|
||||
@NotBlank(message = "ref id cannot be null or empty")
|
||||
private String refId;
|
||||
|
||||
@NotBlank(message = "bill id cannot be null or empty")
|
||||
private String billId;
|
||||
|
||||
// Change the field to Boolean (wrapper) type to allow @NotNull validation
|
||||
@NotNull(message = "Amount options cannot be null.")
|
||||
private boolean amountOptions; // Changed to Boolean (wrapper type)
|
||||
|
||||
@NotBlank(message = "payment mode cannot be null or empty")
|
||||
private String paymentMode;
|
||||
|
||||
@NotBlank(message = "payment information cannot be null or empty")
|
||||
private String paymentInformation;
|
||||
|
||||
@NotBlank(message = "biller id cannot be null or empty")
|
||||
private String billerId;
|
||||
|
||||
@NotBlank(message = "biller name cannot be null or empty")
|
||||
private String billerName;
|
||||
|
||||
@NotBlank(message = "biller category cannot be null or empty")
|
||||
private String billerCategory;
|
||||
|
||||
private String macAdress;
|
||||
|
||||
private String customerMobNo;
|
||||
|
||||
@NotNull(message = "Transaction amount cannot be null.")
|
||||
private Integer txnAmount; // Changed to @NotNull as it's an Integer (non-nullable)
|
||||
private String txnAmount; // Changed to @NotNull as it's an Integer (non-nullable)
|
||||
|
||||
private String paymentRefId;
|
||||
|
||||
private String clientReqId;
|
||||
|
||||
@NotBlank(message = "payment channel cannot be null or empty")
|
||||
private String paymentChannel;
|
||||
|
||||
private List<DeviceBlockTagRequest> deviceBlockTags;
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@ public class BillPaymentForwardRequest {
|
||||
private String billerCategory;
|
||||
private String macAdress;
|
||||
private String customerMobNo;
|
||||
private Integer txnAmount;
|
||||
private String txnAmount;
|
||||
private String paymentRefId;
|
||||
private String clientReqId;
|
||||
private String paymentChannel;
|
||||
|
||||
Reference in New Issue
Block a user