55 lines
1.1 KiB
Java
55 lines
1.1 KiB
Java
package com.billpaymentservice.bbps.dto.request;
|
||
|
||
import com.billpaymentservice.bbps.dto.DeviceDetail;
|
||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||
|
||
import jakarta.validation.constraints.NotBlank;
|
||
import lombok.AllArgsConstructor;
|
||
import lombok.Getter;
|
||
import lombok.NoArgsConstructor;
|
||
import lombok.Setter;
|
||
import lombok.ToString;
|
||
|
||
@Getter
|
||
@Setter
|
||
@AllArgsConstructor
|
||
@NoArgsConstructor
|
||
@ToString
|
||
public abstract class BaseClass {
|
||
|
||
@NotBlank(message = "MID cannot be null or blank")
|
||
private String mid;
|
||
|
||
@NotBlank(message = "Secret key cannot be null or blank")
|
||
private String secretKey;
|
||
@NotBlank(message = "Request ID cannot be null or blank")
|
||
private String reqId;
|
||
|
||
private String txnId;
|
||
|
||
private DeviceDetail deviceDetial;
|
||
|
||
// ✅ 10 User Defined Fields (UDF1–UDF10)
|
||
private String udf1;
|
||
|
||
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
|
||
private String udf2;
|
||
|
||
private String udf3;
|
||
|
||
private String udf4;
|
||
|
||
private String udf5;
|
||
|
||
private String udf6;
|
||
|
||
private String udf7;
|
||
|
||
private String udf8;
|
||
|
||
private String udf9;
|
||
|
||
private String udf10;
|
||
}
|
||
|