42 lines
1.2 KiB
Java
42 lines
1.2 KiB
Java
package com.billpaymentservice.bbps.dto.response;
|
|
|
|
import java.util.List;
|
|
|
|
import com.billpaymentservice.bbps.dto.AdditionalInfoBill;
|
|
import com.billpaymentservice.bbps.dto.BillerResponseBill;
|
|
import com.billpaymentservice.bbps.dto.CustomerParamDAO;
|
|
import com.billpaymentservice.bbps.dto.GeneralResp;
|
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
|
|
import lombok.AllArgsConstructor;
|
|
import lombok.Getter;
|
|
import lombok.NoArgsConstructor;
|
|
import lombok.Setter;
|
|
|
|
@Getter
|
|
@Setter
|
|
@AllArgsConstructor
|
|
@NoArgsConstructor
|
|
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
public class BillDataResponse {
|
|
|
|
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
|
|
private GeneralResp genericResponse;
|
|
private String billId;
|
|
private String refId;
|
|
private String billerId;
|
|
private String status;
|
|
private String actionType;
|
|
private String userId;
|
|
|
|
private BillerResponseBill billerResponse; // nested object
|
|
private List<AdditionalInfoBill> additionalInfo; // array of objects
|
|
private List<CustomerParamDAO> customerParams; // array of objects
|
|
|
|
private String creationDate;
|
|
private String modifiedDate;
|
|
private long createdEpochDate;
|
|
private long modifiedEpochDate;
|
|
}
|