✨ 新增业财融合(BFI)A103付款接口返回结果VO

This commit is contained in:
刘泉佳
2026-09-15 18:48:09 +08:00
parent e50d519700
commit f54b73364b
10 changed files with 2171 additions and 0 deletions
@@ -0,0 +1,75 @@
/**
* BladeX Commercial License Agreement
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
* <p>
* Use of this software is governed by the Commercial License Agreement
* obtained after purchasing a license from BladeX.
* <p>
* 1. This software is for development use only under a valid license
* from BladeX.
* <p>
* 2. Redistribution of this software's source code to any third party
* without a commercial license is strictly prohibited.
* <p>
* 3. Licensees may copyright their own code but cannot use segments
* from this software for such purposes. Copyright of this software
* remains with BladeX.
* <p>
* Using this software signifies agreement to this License, and the software
* must not be used for illegal purposes.
* <p>
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
* not liable for any claims arising from secondary or illegal development.
* <p>
* Author: Chill Zhuang (bladejava@qq.com)
*/
package org.springblade.thirdparty.bfi.pojo.vo;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import java.io.Serial;
import java.io.Serializable;
import java.util.List;
import java.util.Map;
/**
* 业财融合(BFI)A103-1 / A103-3 付款申请保存返回结果明细
*
* @author Chill
*/
@Data
public class BfiBillSaveResultItemVO implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
* 单据序号
*/
private Integer billIndex;
/**
* 单据是否保存成功
*/
private Boolean billStatus;
/**
* 错误信息
*/
private List<String> errors;
/**
* 单据id
*/
@JsonSerialize(using = ToStringSerializer.class)
private Long id;
/**
* 单据键值,含 awrp_src_code、awrp_src_sys
*/
private Map<String, String> keys;
/**
* 单据编号
*/
private String number;
/**
* 操作类型:Add 新增、Push 下推
*/
private String type;
}
@@ -0,0 +1,65 @@
/**
* BladeX Commercial License Agreement
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
* <p>
* Use of this software is governed by the Commercial License Agreement
* obtained after purchasing a license from BladeX.
* <p>
* 1. This software is for development use only under a valid license
* from BladeX.
* <p>
* 2. Redistribution of this software's source code to any third party
* without a commercial license is strictly prohibited.
* <p>
* 3. Licensees may copyright their own code but cannot use segments
* from this software for such purposes. Copyright of this software
* remains with BladeX.
* <p>
* Using this software signifies agreement to this License, and the software
* must not be used for illegal purposes.
* <p>
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
* not liable for any claims arising from secondary or illegal development.
* <p>
* Author: Chill Zhuang (bladejava@qq.com)
*/
package org.springblade.thirdparty.bfi.pojo.vo;
import lombok.Data;
import java.io.Serial;
import java.io.Serializable;
import java.util.List;
/**
* 业财融合(BFI)A103-1 / A103-3 付款申请保存返回结果
*
* @author Chill
*/
@Data
public class BfiBillSaveResultVO implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
* 操作失败数量
*/
private String failCount;
/**
* 操作成功数量
*/
private String successCount;
/**
* 返回结果详细信息
*/
private List<BfiBillSaveResultItemVO> result;
/**
* 是否全部单据保存成功
*
* @return true-全部成功
*/
public boolean isAllSuccess() {
return result != null && !result.isEmpty()
&& result.stream().allMatch(item -> Boolean.TRUE.equals(item.getBillStatus()));
}
}
@@ -0,0 +1,68 @@
/**
* BladeX Commercial License Agreement
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
* <p>
* Use of this software is governed by the Commercial License Agreement
* obtained after purchasing a license from BladeX.
* <p>
* 1. This software is for development use only under a valid license
* from BladeX.
* <p>
* 2. Redistribution of this software's source code to any third party
* without a commercial license is strictly prohibited.
* <p>
* 3. Licensees may copyright their own code but cannot use segments
* from this software for such purposes. Copyright of this software
* remains with BladeX.
* <p>
* Using this software signifies agreement to this License, and the software
* must not be used for illegal purposes.
* <p>
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
* not liable for any claims arising from secondary or illegal development.
* <p>
* Author: Chill Zhuang (bladejava@qq.com)
*/
package org.springblade.thirdparty.bfi.pojo.vo;
import lombok.Data;
import java.io.Serial;
import java.io.Serializable;
import java.util.List;
/**
* 业财融合(BFI)分页查询返回结果
*
* @param <T> 数据行类型
* @author Chill
*/
@Data
public class BfiPageVO<T> implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
* 查询条件
*/
private String filter;
/**
* 是否最后一页
*/
private Boolean lastPage;
/**
* 页码
*/
private Integer pageNo;
/**
* 页数
*/
private Integer pageSize;
/**
* 总数
*/
private Integer totalCount;
/**
* 数据行
*/
private List<T> rows;
}
@@ -0,0 +1,250 @@
/**
* BladeX Commercial License Agreement
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
* <p>
* Use of this software is governed by the Commercial License Agreement
* obtained after purchasing a license from BladeX.
* <p>
* 1. This software is for development use only under a valid license
* from BladeX.
* <p>
* 2. Redistribution of this software's source code to any third party
* without a commercial license is strictly prohibited.
* <p>
* 3. Licensees may copyright their own code but cannot use segments
* from this software for such purposes. Copyright of this software
* remains with BladeX.
* <p>
* Using this software signifies agreement to this License, and the software
* must not be used for illegal purposes.
* <p>
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
* not liable for any claims arising from secondary or illegal development.
* <p>
* Author: Chill Zhuang (bladejava@qq.com)
*/
package org.springblade.thirdparty.bfi.pojo.vo;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
/**
* 业财融合(BFI)A103-2 付款申请单查询明细返回结果
*
* @author Chill
*/
@Data
public class BfiPayApplyEntryVO implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
* id
*/
@JsonSerialize(using = ToStringSerializer.class)
private Long id;
/**
* 核心单据类型
*/
@JsonProperty("e_corebilltype")
private String eCorebilltype;
/**
* 源单id
*/
@JsonProperty("e_srcbillid")
@JsonSerialize(using = ToStringSerializer.class)
private Long eSrcbillid;
/**
* 源单分录id
*/
@JsonProperty("e_srcbillentryid")
@JsonSerialize(using = ToStringSerializer.class)
private Long eSrcbillentryid;
/**
* 业务协同号
*/
private String bizcoopno;
/**
* 业务协同行ID
*/
@JsonSerialize(using = ToStringSerializer.class)
private Long bizcoopentryid;
/**
* 成组号
*/
private String groupnumber;
/**
* 成组行号
*/
private String groupseq;
/**
* 核心单据号
*/
@JsonProperty("e_corebillno")
private String eCorebillno;
/**
* 备注
*/
@JsonProperty("e_remark")
private String eRemark;
/**
* 核心单据ID
*/
@JsonProperty("e_corebillid")
@JsonSerialize(using = ToStringSerializer.class)
private Long eCorebillid;
/**
* 往来账户
*/
@JsonProperty("e_assacct")
private String eAssacct;
/**
* 应付金额
*/
@JsonProperty("e_payamount")
private BigDecimal ePayamount;
/**
* 申请金额
*/
@JsonProperty("e_applyamount")
private BigDecimal eApplyamount;
/**
* 申请金额折结算币
*/
@JsonProperty("e_appseleamount")
private BigDecimal eAppseleamount;
/**
* 核准金额
*/
@JsonProperty("e_approvedamt")
private BigDecimal eApprovedamt;
/**
* 核准金额折结算币
*/
@JsonProperty("e_approvedseleamt")
private BigDecimal eApprovedseleamt;
/**
* 到期日
*/
@JsonProperty("e_duedate")
private String eDuedate;
/**
* 已付金额
*/
@JsonProperty("e_paidamt")
private BigDecimal ePaidamt;
/**
* 核心单据行号
*/
@JsonProperty("e_corebillentryseq")
private Integer eCorebillentryseq;
/**
* 冻结状态[unfreeze:未冻结, allfreeze:已冻结]
*/
@JsonProperty("e_freezestate")
private String eFreezestate;
/**
* 规格型号
*/
@JsonProperty("e_spectype")
private String eSpectype;
/**
* 合同
*/
@JsonProperty("e_contract")
private String eContract;
/**
* 创建时间
*/
@JsonProperty("e_createtime")
private String eCreatetime;
/**
* 修改时间
*/
@JsonProperty("e_modifytime")
private String eModifytime;
/**
* 已退票
*/
private Boolean isrefund;
/**
* 关闭状态[A:正常, B:已关闭]
*/
@JsonProperty("e_closestatus")
private String eClosestatus;
/**
* 利润中心.编码
*/
@JsonProperty("profitcenter_number")
private String profitcenterNumber;
/**
* 对方利润中心.编码
*/
@JsonProperty("cprofitcenter_number")
private String cprofitcenterNumber;
/**
* 付款类型.编码
*/
@JsonProperty("e_paymenttype_number")
private String ePaymenttypeNumber;
/**
* 往来户.编码
*/
@JsonProperty("e_asstact_number")
private String eAsstactNumber;
/**
* 结算方式.编码
*/
@JsonProperty("e_settlementtype_number")
private String eSettlementtypeNumber;
/**
* 源单币种.货币代码
*/
@JsonProperty("e_sourcecurrency_number")
private String eSourcecurrencyNumber;
/**
* 往来银行.编码(行号)
*/
@JsonProperty("e_bebank_number")
private String eBebankNumber;
/**
* 项目.项目编码
*/
@JsonProperty("project_number")
private String projectNumber;
/**
* 物料编码.编码
*/
@JsonProperty("e_material_number")
private String eMaterialNumber;
/**
* 费用项目.编码
*/
@JsonProperty("e_expenseitem_number")
private String eExpenseitemNumber;
/**
* 合同实体.编码
*/
@JsonProperty("e_conbillentity_number")
private String eConbillentityNumber;
/**
* 成本中心.编码
*/
@JsonProperty("e_costcenter_number")
private String eCostcenterNumber;
/**
* 产品线.编码
*/
@JsonProperty("e_productline_number")
private String eProductlineNumber;
/**
* 商品类别.编码
*/
@JsonProperty("awrp_splb_number")
private String awrpSplbNumber;
}
@@ -0,0 +1,69 @@
/**
* BladeX Commercial License Agreement
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
* <p>
* Use of this software is governed by the Commercial License Agreement
* obtained after purchasing a license from BladeX.
* <p>
* 1. This software is for development use only under a valid license
* from BladeX.
* <p>
* 2. Redistribution of this software's source code to any third party
* without a commercial license is strictly prohibited.
* <p>
* 3. Licensees may copyright their own code but cannot use segments
* from this software for such purposes. Copyright of this software
* remains with BladeX.
* <p>
* Using this software signifies agreement to this License, and the software
* must not be used for illegal purposes.
* <p>
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
* not liable for any claims arising from secondary or illegal development.
* <p>
* Author: Chill Zhuang (bladejava@qq.com)
*/
package org.springblade.thirdparty.bfi.pojo.vo;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import java.io.Serial;
import java.io.Serializable;
/**
* 业财融合(BFI)A103-2 付款申请单查询发票明细返回结果
*
* @author Chill
*/
@Data
public class BfiPayApplyInvoiceVO implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
* id
*/
@JsonSerialize(using = ToStringSerializer.class)
private Long id;
/**
* 分录行号
*/
private Integer seq;
/**
* 流水号
*/
@JsonProperty("i_serialno")
private String iSerialno;
/**
* 发票ID
*/
@JsonSerialize(using = ToStringSerializer.class)
private Long invid;
/**
* 行来源[1:发票采集, 2:指定发票]
*/
@JsonProperty("i_srctype")
private String iSrctype;
}
@@ -0,0 +1,224 @@
/**
* BladeX Commercial License Agreement
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
* <p>
* Use of this software is governed by the Commercial License Agreement
* obtained after purchasing a license from BladeX.
* <p>
* 1. This software is for development use only under a valid license
* from BladeX.
* <p>
* 2. Redistribution of this software's source code to any third party
* without a commercial license is strictly prohibited.
* <p>
* 3. Licensees may copyright their own code but cannot use segments
* from this software for such purposes. Copyright of this software
* remains with BladeX.
* <p>
* Using this software signifies agreement to this License, and the software
* must not be used for illegal purposes.
* <p>
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
* not liable for any claims arising from secondary or illegal development.
* <p>
* Author: Chill Zhuang (bladejava@qq.com)
*/
package org.springblade.thirdparty.bfi.pojo.vo;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
/**
* 业财融合(BFI)A103-2 付款申请单查询返回结果
*
* @author Chill
*/
@Data
public class BfiPayApplyVO implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
* id
*/
@JsonSerialize(using = ToStringSerializer.class)
private Long id;
/**
* 单据编号
*/
private String billno;
/**
* 状态[A:暂存, B:已提交, C:已审核, D:已关闭, E:部分关闭]
*/
private String billstatus;
/**
* 状态标题
*/
@JsonProperty("billstatus_title")
private String billstatusTitle;
/**
* 创建时间
*/
private String createtime;
/**
* 修改时间
*/
private String modifytime;
/**
* 审核时间
*/
private String auditdate;
/**
* 请款事由
*/
private String applycause;
/**
* 申请日期
*/
private String applydate;
/**
* 汇率
*/
private BigDecimal exchangerate;
/**
* 申请金额
*/
private BigDecimal applyamount;
/**
* 申请金额折结算币
*/
private BigDecimal appseleamount;
/**
* 核准金额
*/
private BigDecimal approvalamount;
/**
* 核准金额折结算币
*/
private BigDecimal aprseleamount;
/**
* 付款状态[Norequired:无需付款, Alreadypay:已付款, Unpaid:未付款, Inpayment:部分付款]
*/
private String paystatus;
/**
* 源单类型[ap_invoice:发票, ap_finapbill:财务应付单, ar_finarbill:财务应收单等]
*/
private String sourcebilltype;
/**
* 源单id
*/
@JsonSerialize(using = ToStringSerializer.class)
private Long sourcebillid;
/**
* 汇率日期
*/
private String exratedate;
/**
* 影像编号
*/
private String imageno;
/**
* 冻结状态[unfreeze:未冻结, allfreeze:已冻结]
*/
private String freezestate;
/**
* 换算方式[0:直接汇率, 1:间接汇率]
*/
private String quotation;
/**
* 单据来源类型[0:手工新增, 1:导入生成, 2:后台生成, fromeas:EAS集成, 21:跨租户同步]
*/
private String billsrctype;
/**
* 到票预付
*/
private Boolean isprepayinvoice;
/**
* 生成凭证
*/
private Boolean isvoucher;
/**
* 申请人.工号
*/
@JsonProperty("creator_number")
private String creatorNumber;
/**
* 修改人.工号
*/
@JsonProperty("modifier_number")
private String modifierNumber;
/**
* 审核人.工号
*/
@JsonProperty("auditor_number")
private String auditorNumber;
/**
* 单据类型.编码
*/
@JsonProperty("billtype_number")
private String billtypeNumber;
/**
* 申请组织.编码
*/
@JsonProperty("applyorg_number")
private String applyorgNumber;
/**
* 结算组织.编码
*/
@JsonProperty("settleorg_number")
private String settleorgNumber;
/**
* 采购组织.编码
*/
@JsonProperty("purorg_number")
private String purorgNumber;
/**
* 付款组织.编码
*/
@JsonProperty("payorg_number")
private String payorgNumber;
/**
* 采购组.编码
*/
@JsonProperty("purdept_number")
private String purdeptNumber;
/**
* 付款币种.货币代码
*/
@JsonProperty("paycurrency_number")
private String paycurrencyNumber;
/**
* 结算币.货币代码
*/
@JsonProperty("settlecurrency_number")
private String settlecurrencyNumber;
/**
* 汇率表.编码
*/
@JsonProperty("exratetable_number")
private String exratetableNumber;
/**
* 外部系统来源单据号
*/
@JsonProperty("awrp_src_code")
private String awrpSrcCode;
/**
* 外部系统编号
*/
@JsonProperty("awrp_src_sys")
private String awrpSrcSys;
/**
* 明细
*/
private List<BfiPayApplyEntryVO> entry;
/**
* 发票明细
*/
private List<BfiPayApplyInvoiceVO> inventry;
}
@@ -0,0 +1,86 @@
/**
* BladeX Commercial License Agreement
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
* <p>
* Use of this software is governed by the Commercial License Agreement
* obtained after purchasing a license from BladeX.
* <p>
* 1. This software is for development use only under a valid license
* from BladeX.
* <p>
* 2. Redistribution of this software's source code to any third party
* without a commercial license is strictly prohibited.
* <p>
* 3. Licensees may copyright their own code but cannot use segments
* from this software for such purposes. Copyright of this software
* remains with BladeX.
* <p>
* Using this software signifies agreement to this License, and the software
* must not be used for illegal purposes.
* <p>
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
* not liable for any claims arising from secondary or illegal development.
* <p>
* Author: Chill Zhuang (bladejava@qq.com)
*/
package org.springblade.thirdparty.bfi.pojo.vo;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
/**
* 业财融合(BFI)A103-4 付款处理查询交易明细关联返回结果
*
* @author Chill
*/
@Data
public class BfiPayBillBankCheckVO implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
* id
*/
@JsonSerialize(using = ToStringSerializer.class)
private Long id;
/**
* 分录行号
*/
private Integer seq;
/**
* 对账标识码
*/
private String ebankcheckflag;
/**
* 交易明细编号
*/
private String edetailbillno;
/**
* 交易日期
*/
private String ebizdate;
/**
* 付款金额
*/
private BigDecimal edebitamount;
/**
* 收款金额
*/
private BigDecimal ecreditamount;
/**
* 交易明细ID
*/
@JsonSerialize(using = ToStringSerializer.class)
private Long edetailid;
/**
* 电子回单
*/
@JsonProperty("awrp_receiptno")
private List<BfiPayBillReceiptVO> awrpReceiptno;
}
@@ -0,0 +1,223 @@
/**
* BladeX Commercial License Agreement
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
* <p>
* Use of this software is governed by the Commercial License Agreement
* obtained after purchasing a license from BladeX.
* <p>
* 1. This software is for development use only under a valid license
* from BladeX.
* <p>
* 2. Redistribution of this software's source code to any third party
* without a commercial license is strictly prohibited.
* <p>
* 3. Licensees may copyright their own code but cannot use segments
* from this software for such purposes. Copyright of this software
* remains with BladeX.
* <p>
* Using this software signifies agreement to this License, and the software
* must not be used for illegal purposes.
* <p>
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
* not liable for any claims arising from secondary or illegal development.
* <p>
* Author: Chill Zhuang (bladejava@qq.com)
*/
package org.springblade.thirdparty.bfi.pojo.vo;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
/**
* 业财融合(BFI)A103-4 付款处理查询分录返回结果
*
* @author Chill
*/
@Data
public class BfiPayBillEntryVO implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
* id
*/
@JsonSerialize(using = ToStringSerializer.class)
private Long id;
/**
* 分录行号
*/
private Integer seq;
/**
* 备注
*/
@JsonProperty("e_remark")
private String eRemark;
/**
* 实付金额
*/
@JsonProperty("e_actamt")
private BigDecimal eActamt;
/**
* 实付折本币
*/
@JsonProperty("e_localamt")
private BigDecimal eLocalamt;
/**
* 源单ID
*/
@JsonProperty("e_sourcebillid")
@JsonSerialize(using = ToStringSerializer.class)
private Long eSourcebillid;
/**
* 源单分录ID
*/
@JsonProperty("e_sourcebillentryid")
@JsonSerialize(using = ToStringSerializer.class)
private Long eSourcebillentryid;
/**
* 应付金额
*/
@JsonProperty("e_payableamt")
private BigDecimal ePayableamt;
/**
* 应付折本币
*/
@JsonProperty("e_payablelocamt")
private BigDecimal ePayablelocamt;
/**
* 折扣金额
*/
@JsonProperty("e_discountamt")
private BigDecimal eDiscountamt;
/**
* 折扣折本币
*/
@JsonProperty("e_discountlocamt")
private BigDecimal eDiscountlocamt;
/**
* 核心单据类型
*/
@JsonProperty("e_corebilltype")
private String eCorebilltype;
/**
* 核心单据号
*/
@JsonProperty("e_corebillno")
private String eCorebillno;
/**
* 核心单据行号
*/
@JsonProperty("e_corebillentryseq")
private Integer eCorebillentryseq;
/**
* 已锁定金额
*/
@JsonProperty("e_lockamt")
private BigDecimal eLockamt;
/**
* 未锁定金额
*/
@JsonProperty("e_unlockamt")
private BigDecimal eUnlockamt;
/**
* 已结算金额
*/
@JsonProperty("e_settledamt")
private BigDecimal eSettledamt;
/**
* 未结算金额
*/
@JsonProperty("e_unsettledamt")
private BigDecimal eUnsettledamt;
/**
* 税率
*/
private BigDecimal taxrate;
/**
* 税额
*/
private BigDecimal taxamt;
/**
* 合同号
*/
private String contractnumber;
/**
* 退款金额
*/
@JsonProperty("e_refundamt")
private BigDecimal eRefundamt;
/**
* 退款说明
*/
@JsonProperty("e_refunddes")
private String eRefunddes;
/**
* 排程id
*/
@JsonProperty("e_scheid")
private String eScheid;
/**
* 是否冻结
*/
@JsonProperty("e_isfreeze")
private Boolean eIsfreeze;
/**
* 冻结金额
*/
@JsonProperty("e_freezeamt")
private BigDecimal eFreezeamt;
/**
* 业务日期
*/
private String entrybizdate;
/**
* 已结算金额折本币
*/
@JsonProperty("e_settledlocalamt")
private BigDecimal eSettledlocalamt;
/**
* 未结算金额折本位币
*/
@JsonProperty("e_unsettledlocalamt")
private BigDecimal eUnsettledlocalamt;
/**
* 合同行号
*/
private String conbillrownum;
/**
* 合同编号
*/
private String conbillnumber;
/**
* 合同ID
*/
@JsonSerialize(using = ToStringSerializer.class)
private Long conbillid;
/**
* 合同行ID
*/
@JsonSerialize(using = ToStringSerializer.class)
private Long conbillentryid;
/**
* 核心单据行id
*/
@JsonProperty("e_corebillentryid")
@JsonSerialize(using = ToStringSerializer.class)
private Long eCorebillentryid;
/**
* 核心单据id
*/
@JsonProperty("e_corebillid")
@JsonSerialize(using = ToStringSerializer.class)
private Long eCorebillid;
/**
* 合同实体.id
*/
@JsonProperty("conbillentity_id")
private String conbillentityId;
}
@@ -0,0 +1,187 @@
/**
* BladeX Commercial License Agreement
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
* <p>
* Use of this software is governed by the Commercial License Agreement
* obtained after purchasing a license from BladeX.
* <p>
* 1. This software is for development use only under a valid license
* from BladeX.
* <p>
* 2. Redistribution of this software's source code to any third party
* without a commercial license is strictly prohibited.
* <p>
* 3. Licensees may copyright their own code but cannot use segments
* from this software for such purposes. Copyright of this software
* remains with BladeX.
* <p>
* Using this software signifies agreement to this License, and the software
* must not be used for illegal purposes.
* <p>
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
* not liable for any claims arising from secondary or illegal development.
* <p>
* Author: Chill Zhuang (bladejava@qq.com)
*/
package org.springblade.thirdparty.bfi.pojo.vo;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
/**
* 业财融合(BFI)A103-4 付款处理查询电子回单返回结果
*
* @author Chill
*/
@Data
public class BfiPayBillReceiptVO implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
* id
*/
@JsonSerialize(using = ToStringSerializer.class)
private Long id;
/**
* 对账标识码
*/
private String bankcheckflag;
/**
* 单据编号
*/
private String billno;
/**
* 状态[A:暂存, B:已提交, C:已审核]
*/
private String billstatus;
/**
* 业务日期
*/
private String bizdate;
/**
* 明细日期
*/
private String detaildatetime;
/**
* 交易明细ID
*/
@JsonSerialize(using = ToStringSerializer.class)
private Long detailid;
/**
* 金额
*/
private BigDecimal amount;
/**
* 付款金额
*/
private BigDecimal debitamount;
/**
* 收款金额
*/
private BigDecimal creditamount;
/**
* 收付标志[0:收款, 1:付款]
*/
private String creditdebitflag;
/**
* 摘要
*/
private String description;
/**
* 用途
*/
private String use;
/**
* 收款人名称
*/
private String recname;
/**
* 收款人账号
*/
private String recno;
/**
* 收款银行名称
*/
private String recbankname;
/**
* 对方单位
*/
private String oppunit;
/**
* 对方银行名称
*/
private String oppbankname;
/**
* 对方银行账号
*/
private String oppbanknumber;
/**
* 账户名称
*/
private String accname;
/**
* 账号
*/
private String accno;
/**
* 本方银行名称
*/
private String bankname;
/**
* 电子回单号
*/
private String receiptno;
/**
* 回单文件路径
*/
private String filepath;
/**
* 文件服务地址
*/
private String fileserverurl;
/**
* 是否是文件
*/
private Boolean fileflag;
/**
* 文件url
*/
private String uploadfilename;
/**
* 回单文件打开密码
*/
private String password;
/**
* 是否匹配
*/
private Boolean match;
/**
* 匹配时间
*/
private String matchtime;
/**
* 匹配类型
*/
private String matchtype;
/**
* 数据来源
*/
private String datasource;
/**
* 是否完整
*/
private Boolean completeflag;
/**
* 创建时间
*/
private String createtime;
/**
* 修改时间
*/
private String modifytime;
}
@@ -0,0 +1,924 @@
/**
* BladeX Commercial License Agreement
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
* <p>
* Use of this software is governed by the Commercial License Agreement
* obtained after purchasing a license from BladeX.
* <p>
* 1. This software is for development use only under a valid license
* from BladeX.
* <p>
* 2. Redistribution of this software's source code to any third party
* without a commercial license is strictly prohibited.
* <p>
* 3. Licensees may copyright their own code but cannot use segments
* from this software for such purposes. Copyright of this software
* remains with BladeX.
* <p>
* Using this software signifies agreement to this License, and the software
* must not be used for illegal purposes.
* <p>
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
* not liable for any claims arising from secondary or illegal development.
* <p>
* Author: Chill Zhuang (bladejava@qq.com)
*/
package org.springblade.thirdparty.bfi.pojo.vo;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
/**
* 业财融合(BFI)A103-4 付款处理查询返回结果
*
* @author Chill
*/
@Data
public class BfiPayBillVO implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
* id
*/
@JsonSerialize(using = ToStringSerializer.class)
private Long id;
/**
* 单据编号
*/
private String billno;
/**
* 单据状态[A:暂存, B:已提交, C:已审核, D:已收款(已付款), E:变更中, G:已退单]
*/
private String billstatus;
/**
* 审核日期
*/
private String auditdate;
/**
* 修改时间
*/
private String modifytime;
/**
* 创建时间
*/
private String createtime;
/**
* 业务日期
*/
private String bizdate;
/**
* 收款人类型[bd_customer:客户, bd_supplier:供应商, bos_org:公司, bos_user:职员, other:其他]
*/
private String payeetype;
/**
* 摘要
*/
private String description;
/**
* 多分录
*/
private Boolean issingle;
/**
* 付款金额折本位币
*/
private BigDecimal localamt;
/**
* 付款汇率
*/
private BigDecimal exchangerate;
/**
* 付款金额
*/
private BigDecimal actpayamt;
/**
* 结算号
*/
private String settletnumber;
/**
* 转账附言
*/
private String usage;
/**
* 收款人实名
*/
private String recaccbankname;
/**
* 收款行行号
*/
private String recbanknumber;
/**
* 收款人名称
*/
private String payeename;
/**
* 收款人基础资料标识
*/
private String payeeformid;
/**
* 付款日期
*/
private String paydate;
/**
* 源单ID
*/
@JsonSerialize(using = ToStringSerializer.class)
private Long sourcebillid;
/**
* 收款人ID
*/
@JsonSerialize(using = ToStringSerializer.class)
private Long payee;
/**
* 收款账号
*/
private String payeebanknum;
/**
* 收款账户ID
*/
@JsonSerialize(using = ToStringSerializer.class)
private Long payeeacctbank;
/**
* 收款账户基础资料标识
*/
private String payeeaccformid;
/**
* 是否提交银企
*/
private Boolean iscommitbe;
/**
* 提交银企批次流水
*/
private String batchseqid;
/**
* 交易明细流水
*/
private String detailseqid;
/**
* 银行付款单ID
*/
@JsonSerialize(using = ToStringSerializer.class)
private Long bankpayingid;
/**
* 新增入口
*/
private String entrance;
/**
* 收款银行名称
*/
private String payeebankname;
/**
* 银行返回信息
*/
private String bankreturnmsg;
/**
* 提交银企时间
*/
private String commitbetime;
/**
* 对账标识码(旧)
*/
@JsonProperty("bankcheckflag_old")
private String bankcheckflagOld;
/**
* 付款方式
*/
private String paymentmode;
/**
* 银行付款单状态
*/
private String bankpaystatus;
/**
* 来源系统
*/
private String sourcetype;
/**
* 生成凭证
*/
private Boolean isvoucher;
/**
* 付款人
*/
private String orgv;
/**
* 收款人
*/
private String payeenamev;
/**
* 是否退票
*/
private Boolean isrefund;
/**
* 是否归档
*/
private Boolean isarchive;
/**
* 源单编码
*/
private String sourcebillnumber;
/**
* 源单类型
*/
private String sourcebilltype;
/**
* 退单原因
*/
private String reason;
/**
* 退单时间
*/
private String backdate;
/**
* 期望付款日期
*/
private String expectdate;
/**
* 汇率日期
*/
private String exratedate;
/**
* 支付渠道
*/
private String paymentchannel;
/**
* 补充合同号
*/
private Boolean issupplecontract;
/**
* 凭证号
*/
private String vouchernum;
/**
* 收款人类型
*/
private String itempayeetype;
/**
* 是否加签
*/
private Boolean issingleca;
/**
* 对私支付
*/
private Boolean ispersonpay;
/**
* 跨境支付
*/
private Boolean iscrosspay;
/**
* 异币别付款
*/
private Boolean isdiffcur;
/**
* 异币别付款汇率日期
*/
private String dpexratedate;
/**
* 异币别付款汇率
*/
private BigDecimal dpexchangerate;
/**
* 异币别付款金额
*/
private BigDecimal dpamt;
/**
* 异币别付款金额折本位币
*/
private BigDecimal dplocalamt;
/**
* 兑换汇率
*/
private BigDecimal agreedrate;
/**
* 汇兑损益
*/
private BigDecimal lossamt;
/**
* 手续费
*/
private BigDecimal fee;
/**
* 兑换合约号
*/
private String contractno;
/**
* 手续费承担方
*/
private String feepayer;
/**
* 收款账号币别
*/
@JsonSerialize(using = ToStringSerializer.class)
private Long payeecurrency;
/**
* 待排程
*/
private Boolean iswaitsche;
/**
* 影像编号
*/
private String imageno;
/**
* 是否整单下推
*/
private Boolean isheadpush;
/**
* 源单分录ID
*/
@JsonSerialize(using = ToStringSerializer.class)
private Long sourceentryid;
/**
* 源单分录标识
*/
private String sourceentry;
/**
* 业务类型
*/
private String businesstype;
/**
* 收款现金账户ID
*/
@JsonSerialize(using = ToStringSerializer.class)
private Long payeeacctcash;
/**
* 付款人编码
*/
private String payernumber;
/**
* 付款人组织机构代码(统一社会信用编码)
*/
private String uniformsocialcreditcode;
/**
* 收款人编码
*/
private String payeenumber;
/**
* 实际交易日期
*/
private String acttradedate;
/**
* 紧急程度
*/
private String priority;
/**
* 是否置顶
*/
private Boolean istop;
/**
* 红冲标识
*/
private String hotaccount;
/**
* 币别
*/
private String inneraccountcurrency;
/**
* 收款金额
*/
private BigDecimal inneraccountamount;
/**
* 退收款单ID
*/
@JsonSerialize(using = ToStringSerializer.class)
private Long refundbillid;
/**
* 对账标识码
*/
private String bankcheckflag;
/**
* 对账标识码详情
*/
@JsonProperty("bankcheckflag_tag")
private String bankcheckflagTag;
/**
* 付款金额(含手续费)
*/
private BigDecimal totalpayamt;
/**
* 付款汇率换算方式
*/
private String payquotation;
/**
* 异币别付款汇率换算方式
*/
private String dppayquotation;
/**
* 兑换汇率换算方式
*/
private String agreedquotation;
/**
* 手续费付款
*/
private Boolean feepay;
/**
* 手续费独立流水
*/
private Boolean singlestream;
/**
* 手续费付款日期
*/
private String feepaydate;
/**
* 收款方省
*/
private String recprovince;
/**
* 收款方市县
*/
private String reccity;
/**
* 收款方邮箱
*/
private String recemail;
/**
* 收款行地址
*/
private String recbankaddress;
/**
* 清算要求参数
*/
private String auditparam;
/**
* 付款方式
*/
private String paymethod;
/**
* 服务级别
*/
private String serlevel;
/**
* 支票类型
*/
private String checktype;
/**
* 寄送方式
*/
private String sendway;
/**
* 支票用途
*/
private String checkuse;
/**
* 收款行Swift Code
*/
private String recswiftcode;
/**
* 收款行Routing Number
*/
private String recroutingnum;
/**
* 收款行其他行号
*/
private String recothercode;
/**
* 电文指示
*/
private String instructmsg;
/**
* 收款方地址
*/
private String recaddress;
/**
* 清算方式
*/
private String settlementmethod;
/**
* 收款人电话
*/
private String mobile;
/**
* 收款方式
*/
private String paymentterm;
/**
* 收款人FPS账号
*/
private String paymentfps;
/**
* 收款人地区码
*/
private String paymentareacode;
/**
* 通知收款人
*/
private Boolean inforpayment;
/**
* 通知收款人邮箱
*/
private String informrecemail;
/**
* 匹配标识
*/
private String matchflag;
/**
* 已匹配收款金额
*/
private BigDecimal matchamountrec;
/**
* 未匹配收款金额
*/
private BigDecimal unmatchamountrec;
/**
* 需关联对方流水
*/
private Boolean relateotherflow;
/**
* 已匹配付款金额
*/
private BigDecimal matchamountpay;
/**
* 未匹配付款金额
*/
private BigDecimal unmatchamountpay;
/**
* 匹配异常原因
*/
private String matchflagmsg;
/**
* 票据找零
*/
private Boolean isbilldibs;
/**
* 交易时间
*/
private String transtime;
/**
* 交易状态
*/
private String transstatus;
/**
* 单据同步id
*/
private String transbillid;
/**
* 分录
*/
private List<BfiPayBillEntryVO> entry;
/**
* 交易明细关联
*/
private List<BfiPayBillBankCheckVO> bankcheckentity;
/**
* 创建人.id
*/
@JsonProperty("creator_id")
@JsonSerialize(using = ToStringSerializer.class)
private Long creatorId;
/**
* 创建人.姓名
*/
@JsonProperty("creator_name")
private String creatorName;
/**
* 最后修改人.id
*/
@JsonProperty("modifier_id")
@JsonSerialize(using = ToStringSerializer.class)
private Long modifierId;
/**
* 最后修改人.姓名
*/
@JsonProperty("modifier_name")
private String modifierName;
/**
* 审核人.id
*/
@JsonProperty("auditor_id")
@JsonSerialize(using = ToStringSerializer.class)
private Long auditorId;
/**
* 审核人.姓名
*/
@JsonProperty("auditor_name")
private String auditorName;
/**
* 付款人(公司).id
*/
@JsonProperty("org_id")
@JsonSerialize(using = ToStringSerializer.class)
private Long orgId;
/**
* 付款人(公司).名称
*/
@JsonProperty("org_name")
private String orgName;
/**
* 银行账号.id
*/
@JsonProperty("payeracctbank_id")
@JsonSerialize(using = ToStringSerializer.class)
private Long payeracctbankId;
/**
* 银行账号.银行账号
*/
@JsonProperty("payeracctbank_bankaccountnumber")
private String payeracctbankBankaccountnumber;
/**
* 付款银行.id
*/
@JsonProperty("payerbank_id")
@JsonSerialize(using = ToStringSerializer.class)
private Long payerbankId;
/**
* 付款银行.名称
*/
@JsonProperty("payerbank_name")
private String payerbankName;
/**
* 收款银行.id
*/
@JsonProperty("payeebank_id")
@JsonSerialize(using = ToStringSerializer.class)
private Long payeebankId;
/**
* 收款银行.名称
*/
@JsonProperty("payeebank_name")
private String payeebankName;
/**
* 付款币别.id
*/
@JsonProperty("currency_id")
@JsonSerialize(using = ToStringSerializer.class)
private Long currencyId;
/**
* 付款币别.名称
*/
@JsonProperty("currency_name")
private String currencyName;
/**
* 结算方式.id
*/
@JsonProperty("settletype_id")
@JsonSerialize(using = ToStringSerializer.class)
private Long settletypeId;
/**
* 结算方式.名称
*/
@JsonProperty("settletype_name")
private String settletypeName;
/**
* 资金流量项目.id
*/
@JsonProperty("fundflowitem_id")
@JsonSerialize(using = ToStringSerializer.class)
private Long fundflowitemId;
/**
* 资金流量项目.名称
*/
@JsonProperty("fundflowitem_name")
private String fundflowitemName;
/**
* 付款类型.id
*/
@JsonProperty("paymenttype_id")
@JsonSerialize(using = ToStringSerializer.class)
private Long paymenttypeId;
/**
* 付款类型.名称
*/
@JsonProperty("paymenttype_name")
private String paymenttypeName;
/**
* 出纳.id
*/
@JsonProperty("cashier_id")
@JsonSerialize(using = ToStringSerializer.class)
private Long cashierId;
/**
* 出纳.姓名
*/
@JsonProperty("cashier_name")
private String cashierName;
/**
* 公司本位币.id
*/
@JsonProperty("basecurrency_id")
@JsonSerialize(using = ToStringSerializer.class)
private Long basecurrencyId;
/**
* 公司本位币.名称
*/
@JsonProperty("basecurrency_name")
private String basecurrencyName;
/**
* 单据类型.id
*/
@JsonProperty("billtype_id")
@JsonSerialize(using = ToStringSerializer.class)
private Long billtypeId;
/**
* 现金账号.id
*/
@JsonProperty("payeracctcash_id")
@JsonSerialize(using = ToStringSerializer.class)
private Long payeracctcashId;
/**
* 现金账号.账户名称
*/
@JsonProperty("payeracctcash_name")
private String payeracctcashName;
/**
* 核算组织.id
*/
@JsonProperty("openorg_id")
@JsonSerialize(using = ToStringSerializer.class)
private Long openorgId;
/**
* 核算组织.名称
*/
@JsonProperty("openorg_name")
private String openorgName;
/**
* 账号.id
*/
@JsonProperty("inneraccount_id")
@JsonSerialize(using = ToStringSerializer.class)
private Long inneraccountId;
/**
* 账号.银行账号
*/
@JsonProperty("inneraccount_bankaccountnumber")
private String inneraccountBankaccountnumber;
/**
* 退单人.id
*/
@JsonProperty("backuser_id")
@JsonSerialize(using = ToStringSerializer.class)
private Long backuserId;
/**
* 退单人.姓名
*/
@JsonProperty("backuser_name")
private String backuserName;
/**
* 委托付款组织.id
*/
@JsonProperty("entrustorg_id")
@JsonSerialize(using = ToStringSerializer.class)
private Long entrustorgId;
/**
* 委托付款组织.名称
*/
@JsonProperty("entrustorg_name")
private String entrustorgName;
/**
* 申请付款组织.id
*/
@JsonProperty("applyorg_id")
@JsonSerialize(using = ToStringSerializer.class)
private Long applyorgId;
/**
* 申请付款组织.名称
*/
@JsonProperty("applyorg_name")
private String applyorgName;
/**
* 汇率表.id
*/
@JsonProperty("exratetable_id")
@JsonSerialize(using = ToStringSerializer.class)
private Long exratetableId;
/**
* 汇率表.名称
*/
@JsonProperty("exratetable_name")
private String exratetableName;
/**
* 网银子账户.id
*/
@JsonProperty("netbankacct_id")
@JsonSerialize(using = ToStringSerializer.class)
private Long netbankacctId;
/**
* 网银子账户.子账户名称
*/
@JsonProperty("netbankacct_name")
private String netbankacctName;
/**
* 收款人.id
*/
@JsonProperty("itempayee_id")
@JsonSerialize(using = ToStringSerializer.class)
private Long itempayeeId;
/**
* 收款人.名称
*/
@JsonProperty("itempayee_name")
private String itempayeeName;
/**
* 异币别付款币别.id
*/
@JsonProperty("dpcurrency_id")
@JsonSerialize(using = ToStringSerializer.class)
private Long dpcurrencyId;
/**
* 异币别付款币别.名称
*/
@JsonProperty("dpcurrency_name")
private String dpcurrencyName;
/**
* 异币别付款汇率表.id
*/
@JsonProperty("dpexratetable_id")
@JsonSerialize(using = ToStringSerializer.class)
private Long dpexratetableId;
/**
* 异币别付款汇率表.名称
*/
@JsonProperty("dpexratetable_name")
private String dpexratetableName;
/**
* 手续费账户.id
*/
@JsonProperty("feeactbank_id")
@JsonSerialize(using = ToStringSerializer.class)
private Long feeactbankId;
/**
* 手续费账户.银行账号
*/
@JsonProperty("feeactbank_bankaccountnumber")
private String feeactbankBankaccountnumber;
/**
* 手续费币别.id
*/
@JsonProperty("feecurrency_id")
@JsonSerialize(using = ToStringSerializer.class)
private Long feecurrencyId;
/**
* 手续费币别.名称
*/
@JsonProperty("feecurrency_name")
private String feecurrencyName;
/**
* 付款方国家或地区.id
*/
@JsonProperty("paycountry_id")
@JsonSerialize(using = ToStringSerializer.class)
private Long paycountryId;
/**
* 付款方国家或地区.名称
*/
@JsonProperty("paycountry_name")
private String paycountryName;
/**
* 付款标识.id
*/
@JsonProperty("paymentidentify_id")
@JsonSerialize(using = ToStringSerializer.class)
private Long paymentidentifyId;
/**
* 付款标识.名称
*/
@JsonProperty("paymentidentify_name")
private String paymentidentifyName;
/**
* 收款方国家或地区.id
*/
@JsonProperty("reccountry_id")
@JsonSerialize(using = ToStringSerializer.class)
private Long reccountryId;
/**
* 收款方国家或地区.名称
*/
@JsonProperty("reccountry_name")
private String reccountryName;
/**
* 交易类型.id
*/
@JsonProperty("crosstrantype_id")
@JsonSerialize(using = ToStringSerializer.class)
private Long crosstrantypeId;
/**
* 交易类型.名称
*/
@JsonProperty("crosstrantype_name")
private String crosstrantypeName;
/**
* 交易种类.id
*/
@JsonProperty("transtype_id")
@JsonSerialize(using = ToStringSerializer.class)
private Long transtypeId;
/**
* 交易种类.名称
*/
@JsonProperty("transtype_name")
private String transtypeName;
/**
* 付款代理行.id
*/
@JsonProperty("payproxybank_id")
@JsonSerialize(using = ToStringSerializer.class)
private Long payproxybankId;
/**
* 付款代理行.名称
*/
@JsonProperty("payproxybank_name")
private String payproxybankName;
}