added poll back
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package com.billpaymentservice.bbps.dto;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
import lombok.NoArgsConstructor;
|
||||
@@ -20,5 +22,5 @@ public class BillerResponseBill {
|
||||
private String dueDate;
|
||||
private String customerName;
|
||||
private boolean amountOption;
|
||||
private Object tagList; // null in response, so keeping Object
|
||||
private List<Detail> tagList; // null in response, so keeping Object
|
||||
}
|
||||
|
||||
@@ -1,22 +1,61 @@
|
||||
package com.billpaymentservice.bbps.dto.request;
|
||||
|
||||
import com.billpaymentservice.bbps.dto.DeviceDetail;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.Setter;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Getter
|
||||
@Setter
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class BaseClass {
|
||||
|
||||
|
||||
private String mid;
|
||||
private String secretKey;
|
||||
private String txnId;
|
||||
private DeviceDetail deviceDetial;
|
||||
public abstract class BaseClass {
|
||||
|
||||
// ✅ Request me required, response me hide honge
|
||||
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
|
||||
private String mid;
|
||||
|
||||
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
|
||||
private String secretKey;
|
||||
|
||||
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
|
||||
private String txnId;
|
||||
|
||||
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
|
||||
private DeviceDetail deviceDetial;
|
||||
|
||||
// ✅ 10 User Defined Fields (UDF1–UDF10)
|
||||
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
|
||||
private String udf1;
|
||||
|
||||
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
|
||||
private String udf2;
|
||||
|
||||
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
|
||||
private String udf3;
|
||||
|
||||
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
|
||||
private String udf4;
|
||||
|
||||
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
|
||||
private String udf5;
|
||||
|
||||
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
|
||||
private String udf6;
|
||||
|
||||
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
|
||||
private String udf7;
|
||||
|
||||
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
|
||||
private String udf8;
|
||||
|
||||
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
|
||||
private String udf9;
|
||||
|
||||
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
|
||||
private String udf10;
|
||||
}
|
||||
|
||||
|
||||
@@ -14,8 +14,8 @@ public class BillFetchByBillIdRequest extends BaseClass {
|
||||
|
||||
@NotNull
|
||||
private String billId;
|
||||
private String tenantId; // //M
|
||||
private String digiledgeKey; // M
|
||||
private String tenantId;
|
||||
private String digiledgeKey;
|
||||
private String agentId;
|
||||
|
||||
}
|
||||
|
||||
@@ -32,4 +32,5 @@ public class FetchBillRequest extends BaseClass {
|
||||
private List<Tag> deviceBlockTags; // M
|
||||
private CustomerParamsRequest customerParamsRequest; // M
|
||||
private List<RemitterIdentity> remitterIdentity; // O
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user