|
|
@@ -6,88 +6,79 @@ import com.google.gson.annotations.SerializedName;
|
|
|
|
|
|
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
|
public class TransferNotification {
|
|
|
- @SerializedName("out_bill_no")
|
|
|
- private String outBillNo;
|
|
|
- @SerializedName("transfer_bill_no")
|
|
|
- private String transferBillNo;
|
|
|
- @SerializedName("state")
|
|
|
- private String state;
|
|
|
-
|
|
|
- @SerializedName("mch_id")
|
|
|
- private String mchId;
|
|
|
- @SerializedName("transfer_amount")
|
|
|
- private Long transferAmount;
|
|
|
- @SerializedName("openid")
|
|
|
- private String openid;
|
|
|
- @SerializedName("fail_reason")
|
|
|
- private String failReason;
|
|
|
- @SerializedName("create_time")
|
|
|
- private String createTime;
|
|
|
+ @SerializedName("out_batch_no")
|
|
|
+ private String outBatchNo;
|
|
|
+ @SerializedName("batch_id")
|
|
|
+ private String batchId;
|
|
|
+ @SerializedName("batch_status")
|
|
|
+ private String batchStatus;
|
|
|
+ @SerializedName("total_num")
|
|
|
+ private Integer totalNum;
|
|
|
+ @SerializedName("total_amount")
|
|
|
+ private Integer totalAmount;
|
|
|
+ @SerializedName("success_amount")
|
|
|
+ private Integer successAmount;
|
|
|
+ @SerializedName("success_num")
|
|
|
+ private Integer successNum;
|
|
|
@SerializedName("update_time")
|
|
|
private String updateTime;
|
|
|
+ @SerializedName("close_reason")
|
|
|
+ private String closeReason;
|
|
|
|
|
|
- public String getOutBillNo() {
|
|
|
- return outBillNo;
|
|
|
+ public String getOutBatchNo() {
|
|
|
+ return outBatchNo;
|
|
|
}
|
|
|
|
|
|
- public void setOutBillNo(String outBillNo) {
|
|
|
- this.outBillNo = outBillNo;
|
|
|
+ public void setOutBatchNo(String outBatchNo) {
|
|
|
+ this.outBatchNo = outBatchNo;
|
|
|
}
|
|
|
|
|
|
- public String getTransferBillNo() {
|
|
|
- return transferBillNo;
|
|
|
+ public String getBatchId() {
|
|
|
+ return batchId;
|
|
|
}
|
|
|
|
|
|
- public void setTransferBillNo(String transferBillNo) {
|
|
|
- this.transferBillNo = transferBillNo;
|
|
|
+ public void setBatchId(String batchId) {
|
|
|
+ this.batchId = batchId;
|
|
|
}
|
|
|
|
|
|
- public String getState() {
|
|
|
- return state;
|
|
|
+ public String getBatchStatus() {
|
|
|
+ return batchStatus;
|
|
|
}
|
|
|
|
|
|
- public void setState(String state) {
|
|
|
- this.state = state;
|
|
|
+ public void setBatchStatus(String batchStatus) {
|
|
|
+ this.batchStatus = batchStatus;
|
|
|
}
|
|
|
|
|
|
- public String getMchId() {
|
|
|
- return mchId;
|
|
|
+ public Integer getTotalNum() {
|
|
|
+ return totalNum;
|
|
|
}
|
|
|
|
|
|
- public void setMchId(String mchId) {
|
|
|
- this.mchId = mchId;
|
|
|
+ public void setTotalNum(Integer totalNum) {
|
|
|
+ this.totalNum = totalNum;
|
|
|
}
|
|
|
|
|
|
- public Long getTransferAmount() {
|
|
|
- return transferAmount;
|
|
|
+ public Integer getTotalAmount() {
|
|
|
+ return totalAmount;
|
|
|
}
|
|
|
|
|
|
- public void setTransferAmount(Long transferAmount) {
|
|
|
- this.transferAmount = transferAmount;
|
|
|
+ public void setTotalAmount(Integer totalAmount) {
|
|
|
+ this.totalAmount = totalAmount;
|
|
|
}
|
|
|
|
|
|
- public String getOpenid() {
|
|
|
- return openid;
|
|
|
+ public Integer getSuccessAmount() {
|
|
|
+ return successAmount;
|
|
|
}
|
|
|
|
|
|
- public void setOpenid(String openid) {
|
|
|
- this.openid = openid;
|
|
|
+ public void setSuccessAmount(Integer successAmount) {
|
|
|
+ this.successAmount = successAmount;
|
|
|
}
|
|
|
|
|
|
- public String getFailReason() {
|
|
|
- return failReason;
|
|
|
+ public Integer getSuccessNum() {
|
|
|
+ return successNum;
|
|
|
}
|
|
|
|
|
|
- public void setFailReason(String failReason) {
|
|
|
- this.failReason = failReason;
|
|
|
- }
|
|
|
-
|
|
|
- public String getCreateTime() {
|
|
|
- return createTime;
|
|
|
- }
|
|
|
-
|
|
|
- public void setCreateTime(String createTime) {
|
|
|
- this.createTime = createTime;
|
|
|
+ public void setSuccessNum(Integer successNum) {
|
|
|
+ this.successNum = successNum;
|
|
|
}
|
|
|
|
|
|
public String getUpdateTime() {
|
|
|
@@ -98,54 +89,53 @@ public class TransferNotification {
|
|
|
this.updateTime = updateTime;
|
|
|
}
|
|
|
|
|
|
+ public String getCloseReason() {
|
|
|
+ return closeReason;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCloseReason(String closeReason) {
|
|
|
+ this.closeReason = closeReason;
|
|
|
+ }
|
|
|
+
|
|
|
public static class Builder {
|
|
|
private TransferNotification notification = new TransferNotification();
|
|
|
|
|
|
- public Builder outBillNo(String outBillNo) {
|
|
|
- notification.outBillNo = outBillNo;
|
|
|
+ public Builder outBatchNo(String outBatchNo) {
|
|
|
+ notification.outBatchNo = outBatchNo;
|
|
|
return this;
|
|
|
}
|
|
|
-
|
|
|
- public Builder transferBillNo(String transferBillNo) {
|
|
|
- notification.transferBillNo = transferBillNo;
|
|
|
+ public Builder batchId(String batchId) {
|
|
|
+ notification.batchId = batchId;
|
|
|
return this;
|
|
|
}
|
|
|
-
|
|
|
- public Builder state(String state) {
|
|
|
- notification.state = state;
|
|
|
+ public Builder batchStatus(String batchStatus) {
|
|
|
+ notification.batchStatus = batchStatus;
|
|
|
return this;
|
|
|
}
|
|
|
-
|
|
|
- public Builder mchId(String mchId) {
|
|
|
- notification.mchId = mchId;
|
|
|
+ public Builder totalNum(Integer totalNum) {
|
|
|
+ notification.totalNum = totalNum;
|
|
|
return this;
|
|
|
}
|
|
|
-
|
|
|
- public Builder transferAmount(Long transferAmount) {
|
|
|
- notification.transferAmount = transferAmount;
|
|
|
+ public Builder totalAmount(Integer totalAmount) {
|
|
|
+ notification.totalAmount = totalAmount;
|
|
|
return this;
|
|
|
}
|
|
|
-
|
|
|
- public Builder openid(String openid) {
|
|
|
- notification.openid = openid;
|
|
|
- return this;
|
|
|
- }
|
|
|
-
|
|
|
- public Builder failReason(String failReason) {
|
|
|
- notification.failReason = failReason;
|
|
|
+ public Builder successAmount(Integer successAmount) {
|
|
|
+ notification.successAmount = successAmount;
|
|
|
return this;
|
|
|
}
|
|
|
-
|
|
|
- public Builder createTime(String createTime) {
|
|
|
- notification.createTime = createTime;
|
|
|
+ public Builder successNum(Integer successNum) {
|
|
|
+ notification.successNum = successNum;
|
|
|
return this;
|
|
|
}
|
|
|
-
|
|
|
public Builder updateTime(String updateTime) {
|
|
|
notification.updateTime = updateTime;
|
|
|
return this;
|
|
|
}
|
|
|
-
|
|
|
+ public Builder closeReason(String closeReason) {
|
|
|
+ notification.closeReason = closeReason;
|
|
|
+ return this;
|
|
|
+ }
|
|
|
public TransferNotification build() {
|
|
|
return notification;
|
|
|
}
|