added initatePayment and checkTxnStatus
This commit is contained in:
@@ -4,7 +4,7 @@ import java.util.List;
|
||||
|
||||
import com.billpaymentservice.bbps.dto.AdditionalInfoBill;
|
||||
import com.billpaymentservice.bbps.dto.BillerResponseBill;
|
||||
import com.billpaymentservice.bbps.dto.CustomerParamBill;
|
||||
import com.billpaymentservice.bbps.dto.CustomerParamDAO;
|
||||
import com.billpaymentservice.bbps.dto.GeneralResp;
|
||||
import com.billpaymentservice.bbps.dto.GeneralResponse;
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
@@ -31,7 +31,7 @@ public class BillDataResponse {
|
||||
|
||||
private BillerResponseBill billerResponse; // nested object
|
||||
private List<AdditionalInfoBill> additionalInfo; // array of objects
|
||||
private List<CustomerParamBill> customerParams; // array of objects
|
||||
private List<CustomerParamDAO> customerParams; // array of objects
|
||||
|
||||
private String creationDate;
|
||||
private String modifiedDate;
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
package com.billpaymentservice.bbps.dto.response;
|
||||
|
||||
import com.billpaymentservice.bbps.dto.GeneralResp;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
public class BillPaymentResponse {
|
||||
|
||||
private String txnId;
|
||||
private String refId;
|
||||
private String billerId;
|
||||
private String billerCategory;
|
||||
private String actionType;
|
||||
private String status;
|
||||
private double txnAmount;
|
||||
private String paymentMode;
|
||||
private String currency;
|
||||
private GeneralResp genericResponse; // ✅ Common response block
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
package com.billpaymentservice.bbps.dto.response;
|
||||
|
||||
import com.billpaymentservice.bbps.dto.AgentFundTransfer;
|
||||
import com.billpaymentservice.bbps.dto.GeneralResp;
|
||||
import com.billpaymentservice.bbps.dto.TransactionDAO;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
public class TransactionStatusResponse {
|
||||
|
||||
@JsonProperty("transactionDAO")
|
||||
private TransactionDAO transactionDAO;
|
||||
|
||||
@JsonProperty("agentFundTransfer")
|
||||
private AgentFundTransfer agentFundTransfer;
|
||||
|
||||
@JsonProperty("generalResp")
|
||||
private GeneralResp generalResp;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user