银盛新增加部分
This commit is contained in:
parent
10419f427d
commit
afab60e572
|
|
@ -0,0 +1,64 @@
|
||||||
|
package cn.pluss.platform.ys.impl.v20220527.entity;
|
||||||
|
|
||||||
|
import lombok.Getter;
|
||||||
|
import lombok.Setter;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author lyf
|
||||||
|
*/
|
||||||
|
@Getter
|
||||||
|
@Setter
|
||||||
|
/**
|
||||||
|
* 经营信息详情
|
||||||
|
*/
|
||||||
|
public class BusInfo {
|
||||||
|
/**
|
||||||
|
* 营业执照号,非小微必填
|
||||||
|
*/
|
||||||
|
private String busNo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 营业执照名称,非小微必填
|
||||||
|
*/
|
||||||
|
private String busNm;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 营业执照有效开始日期,非小微必填 格式为yyyyMMdd
|
||||||
|
*/
|
||||||
|
private String busCertBgn;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 营业执照有效期,非小微必填 格式为yyyyMMdd
|
||||||
|
*/
|
||||||
|
private String busCertExpire;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 营业归属省代码,通过"地区信息查询"接口获取cityCd,
|
||||||
|
*/
|
||||||
|
private String busProviceCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 营业归属市代码,通过"地区信息查询"接口获取cityCd,
|
||||||
|
*/
|
||||||
|
private String busCityCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 营业归属区(县)代码,通过"地区信息查询"接口获取cityCd,城市下有区(县必填),城市下无区(县)则不上送,如广东省中山市,广东省东莞市
|
||||||
|
*/
|
||||||
|
private String busAreaCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 营业执照证件类型,默认 19 社会统一信用代码
|
||||||
|
*/
|
||||||
|
private String busCertType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 营业详细地址,需包含省市区,示例:广东省深圳市龙华新区大道513号远景大厦
|
||||||
|
*/
|
||||||
|
private String busAddr;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 注册地址,默认 营业地址一致
|
||||||
|
*/
|
||||||
|
private String regAddr;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,51 @@
|
||||||
|
package cn.pluss.platform.ys.impl.v20220527.entity;
|
||||||
|
|
||||||
|
import com.alipay.api.domain.PersonInfo;
|
||||||
|
import lombok.Getter;
|
||||||
|
import lombok.Setter;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
/**
|
||||||
|
* 法人信息
|
||||||
|
* @author lyf
|
||||||
|
*/
|
||||||
|
@Getter
|
||||||
|
@Setter
|
||||||
|
public class CrpInfo {
|
||||||
|
private String crpCertNo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 法人证件类型,暂时只支持 00 身份证
|
||||||
|
*/
|
||||||
|
private String crpCertType = "00";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 证件开始日期,证件开始日期yyyyMMdd
|
||||||
|
*/
|
||||||
|
private String certBgn;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 证件有效期,日期格式yyyyMMdd ,如果为长期或者永久,请填值“29991231”
|
||||||
|
*/
|
||||||
|
private String certExpire;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 法人国籍,法人国籍(默认中国(249))
|
||||||
|
*/
|
||||||
|
private String crpNati;
|
||||||
|
|
||||||
|
private String crpNm;
|
||||||
|
|
||||||
|
private String crpPhone;
|
||||||
|
|
||||||
|
private String crpAddr;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 可不填
|
||||||
|
*/
|
||||||
|
private PersonInfo actContrInfo;
|
||||||
|
|
||||||
|
private PersonInfo authInfo;
|
||||||
|
|
||||||
|
private List<PersonInfo> bnfList;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,54 @@
|
||||||
|
package cn.pluss.platform.ys.impl.v20220527.entity;
|
||||||
|
|
||||||
|
import lombok.Getter;
|
||||||
|
import lombok.Setter;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 基本信息
|
||||||
|
*/
|
||||||
|
@Getter
|
||||||
|
@Setter
|
||||||
|
public class CustInfo {
|
||||||
|
/**
|
||||||
|
* 代理商编号,默认同发起方代理商编号
|
||||||
|
*/
|
||||||
|
private String agtMercId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 商户名称
|
||||||
|
*/
|
||||||
|
private String mercName;
|
||||||
|
|
||||||
|
private String mercShortName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 商户类型,2 小微 3个体 4企业
|
||||||
|
*/
|
||||||
|
private String mercType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* mcc码,通过"查询MCC码"接口获取mccCd
|
||||||
|
*/
|
||||||
|
private String mccCd;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 联系人邮箱
|
||||||
|
*/
|
||||||
|
private String contactMail;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 联系人电话, 默认同法人电话号码
|
||||||
|
*/
|
||||||
|
private String contactMan;
|
||||||
|
|
||||||
|
private String cusMgrNm;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 是否开通营销,Y开通N不开通,默认不开通
|
||||||
|
*/
|
||||||
|
private String isOpenMarket;
|
||||||
|
|
||||||
|
private String notifyUrl;
|
||||||
|
|
||||||
|
private String remark;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,16 @@
|
||||||
|
package cn.pluss.platform.ys.impl.v20220527.entity;
|
||||||
|
|
||||||
|
import lombok.Getter;
|
||||||
|
import lombok.Setter;
|
||||||
|
|
||||||
|
@Getter
|
||||||
|
@Setter
|
||||||
|
public class MercInfo {
|
||||||
|
private CustInfo custInfo;
|
||||||
|
|
||||||
|
private CrpInfo crpInfo;
|
||||||
|
|
||||||
|
private StlAccInfo stlAccInfo;
|
||||||
|
|
||||||
|
private BusInfo busInfo;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,38 @@
|
||||||
|
package cn.pluss.platform.ys.impl.v20220527.entity;
|
||||||
|
|
||||||
|
|
||||||
|
import lombok.Getter;
|
||||||
|
import lombok.Setter;
|
||||||
|
|
||||||
|
@Setter
|
||||||
|
@Getter
|
||||||
|
public class Meta {
|
||||||
|
/**
|
||||||
|
* 图片类别,A001-营业执照 A002-法人身份证正面(头像面) A003-法人身份证反面(国徽面) A004-结算账户正面(卡号面)
|
||||||
|
* A005-结算账户反面 A006-商户门头照片 A007-内景照片 A008-收银台照片 A009-手持身份证合影照片
|
||||||
|
* A010-收单协议盖章页 A011-开户许可证 A012-收单协议首页 A013-非法人身份证头像面 A014-非法人身份证国徽面
|
||||||
|
* B001-租赁合同 第一页 B002-租赁合同 第二页 B003-租赁合同 第三页 B004-法人/非法人手持授权书
|
||||||
|
* B005-法人/非法人结算授权书 B006-租赁面积图片 B007-经营业务图片 B008-其他1 B009-其他2
|
||||||
|
*/
|
||||||
|
private String picType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 文件名
|
||||||
|
*/
|
||||||
|
private String picNm;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 入网申请流水号,调用商户入网申请接口成功会返回入网申请流水号。
|
||||||
|
*/
|
||||||
|
private String sysFlowId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 入网申请流水号,调用商户入网申请接口成功会返回入网申请流水号。
|
||||||
|
*/
|
||||||
|
private String changeFlowId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 文件摘要,图片文件的文件摘要,即对图片文件的二进制内容进行sha256计算得到的值。 示例值:hjkahkjsjkfsjk78687dhjahdajhk
|
||||||
|
*/
|
||||||
|
private String sha256;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,127 @@
|
||||||
|
package cn.pluss.platform.ys.impl.v20220527.entity;
|
||||||
|
|
||||||
|
import lombok.Getter;
|
||||||
|
import lombok.Setter;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
@Setter
|
||||||
|
@Getter
|
||||||
|
public class Notify {
|
||||||
|
/**
|
||||||
|
* 商户资料确认回调
|
||||||
|
*/
|
||||||
|
public static final String TYPE_MERC_APPLY = "1";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 签约回调
|
||||||
|
*/
|
||||||
|
public static final String TYPE_MERC_SIGN = "2";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 商户资料变更回调
|
||||||
|
*/
|
||||||
|
public static final String TYPE_MERC_CHANGE = "3";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 费率变更
|
||||||
|
*/
|
||||||
|
public static final String TYPE_MERC_RATE_CHANGE = "5";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 报备
|
||||||
|
*/
|
||||||
|
public static final String TYPE_MERC_REPORT = "6";
|
||||||
|
|
||||||
|
|
||||||
|
private String notifyType;
|
||||||
|
|
||||||
|
private String status;
|
||||||
|
|
||||||
|
private Cust cust;
|
||||||
|
|
||||||
|
private Change change;
|
||||||
|
|
||||||
|
private Auth auth;
|
||||||
|
|
||||||
|
private Report report;
|
||||||
|
|
||||||
|
@Setter
|
||||||
|
@Getter
|
||||||
|
public static class Cust {
|
||||||
|
|
||||||
|
private String sysFlowId;
|
||||||
|
|
||||||
|
private String note;
|
||||||
|
|
||||||
|
private String custId;
|
||||||
|
|
||||||
|
private String status;
|
||||||
|
|
||||||
|
private String mercNm;
|
||||||
|
|
||||||
|
private String mercShortNm;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@Setter
|
||||||
|
@Getter
|
||||||
|
public static class Change {
|
||||||
|
|
||||||
|
private String changeSysFlowId;
|
||||||
|
|
||||||
|
private String note;
|
||||||
|
|
||||||
|
private String status;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Setter
|
||||||
|
@Getter
|
||||||
|
public static class Auth {
|
||||||
|
|
||||||
|
private String authId;
|
||||||
|
|
||||||
|
private String mercId;
|
||||||
|
|
||||||
|
private String note;
|
||||||
|
|
||||||
|
private String signId;
|
||||||
|
|
||||||
|
private String status;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Setter
|
||||||
|
@Getter
|
||||||
|
public static class Report {
|
||||||
|
|
||||||
|
private String authId;
|
||||||
|
|
||||||
|
private String mercId;
|
||||||
|
|
||||||
|
private String status;
|
||||||
|
|
||||||
|
private List<ThirdMerc> thridMercList;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Setter
|
||||||
|
@Getter
|
||||||
|
public static class ThirdMerc {
|
||||||
|
|
||||||
|
private String apprSts;
|
||||||
|
|
||||||
|
private String mercId;
|
||||||
|
|
||||||
|
private String thridMercId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
private String remark;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 报备渠道 NUCC_WECHAT:微信支付(网联)、CUPS_WECHAT:微信支付(银联总部)、CUPS_ALIPAY:支付宝(银联总部)、NUCC_ALIPAY:支付宝(网联)
|
||||||
|
*/
|
||||||
|
private String reportChannel;
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,41 @@
|
||||||
|
package cn.pluss.platform.ys.impl.v20220527.entity;
|
||||||
|
|
||||||
|
import lombok.Getter;
|
||||||
|
import lombok.Setter;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 身份信息
|
||||||
|
*/
|
||||||
|
@Setter
|
||||||
|
@Getter
|
||||||
|
public class PersonInfo {
|
||||||
|
/**
|
||||||
|
* 实际控制人姓名
|
||||||
|
*/
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 实际控制人证件类型
|
||||||
|
*/
|
||||||
|
private String certType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 实际控制人证件号
|
||||||
|
*/
|
||||||
|
private String certNo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 实际控制人证件起始日期,格式:YYYYMMDD
|
||||||
|
*/
|
||||||
|
private String certBgn;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 实际控制人证件有效期,格式:YYYYMMDD
|
||||||
|
*/
|
||||||
|
private String certExpire;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 实际控制人证件地址
|
||||||
|
*/
|
||||||
|
private String addr;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,22 @@
|
||||||
|
package cn.pluss.platform.ys.impl.v20220527.entity;
|
||||||
|
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.Getter;
|
||||||
|
import lombok.Setter;
|
||||||
|
|
||||||
|
@Setter
|
||||||
|
@Getter
|
||||||
|
@AllArgsConstructor
|
||||||
|
public class RateFeeDetail {
|
||||||
|
private String rateType;
|
||||||
|
|
||||||
|
private String rateFee;
|
||||||
|
|
||||||
|
private String rateBottom;
|
||||||
|
|
||||||
|
private String rateTop;
|
||||||
|
|
||||||
|
public RateFeeDetail(String rateType, String rateFee, String rateBottom) {
|
||||||
|
this(rateType, rateFee, rateBottom, null);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,21 @@
|
||||||
|
package cn.pluss.platform.ys.impl.v20220527.entity;
|
||||||
|
|
||||||
|
|
||||||
|
import lombok.Getter;
|
||||||
|
import lombok.Setter;
|
||||||
|
|
||||||
|
@Getter
|
||||||
|
@Setter
|
||||||
|
public class RateFeeInfo {
|
||||||
|
private RateFeeDetail wxPayFee;
|
||||||
|
|
||||||
|
private RateFeeDetail aliPayFee;
|
||||||
|
|
||||||
|
private RateFeeDetail bank1debitPayFee;
|
||||||
|
|
||||||
|
private RateFeeDetail bank1creditPayFee;
|
||||||
|
|
||||||
|
private RateFeeDetail bank2debitPayFee;
|
||||||
|
|
||||||
|
private RateFeeDetail bank2creditPayFee;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,23 @@
|
||||||
|
package cn.pluss.platform.ys.impl.v20220527.entity;
|
||||||
|
|
||||||
|
import lombok.Getter;
|
||||||
|
import lombok.Setter;
|
||||||
|
|
||||||
|
@Setter
|
||||||
|
@Getter
|
||||||
|
public class RateInfo {
|
||||||
|
|
||||||
|
private String busOpenType;
|
||||||
|
|
||||||
|
private String contractType;
|
||||||
|
|
||||||
|
private String isSendConMsg;
|
||||||
|
|
||||||
|
private String notifyUrl;
|
||||||
|
|
||||||
|
private RateFeeInfo codeScanT1Fee;
|
||||||
|
|
||||||
|
private RateFeeDetail codeScanD0Fee;
|
||||||
|
|
||||||
|
private String custId;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,60 @@
|
||||||
|
package cn.pluss.platform.ys.impl.v20220527.entity;
|
||||||
|
|
||||||
|
|
||||||
|
import lombok.Getter;
|
||||||
|
import lombok.Setter;
|
||||||
|
|
||||||
|
@Getter
|
||||||
|
@Setter
|
||||||
|
public class StlAccInfo {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 是否平台内账户,Y是 N否,默认否
|
||||||
|
*/
|
||||||
|
private String isSettInPlatAcc;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 是否非法人结算,Y是 N否,默认否
|
||||||
|
*/
|
||||||
|
private String isUncrpSett;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 结算户名,默认法人姓名, 非法人结算必填
|
||||||
|
*/
|
||||||
|
private String stlAccNm;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 结算账号
|
||||||
|
*/
|
||||||
|
private String stlAccNo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 开户支行联行号,通过"行名行号查询"获取bankCode
|
||||||
|
*/
|
||||||
|
private String bankSubCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 结算账户类型,11 对私 21 对公 23 对公存折 24 单位结算卡
|
||||||
|
*/
|
||||||
|
private String stlAccType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 银行预留手机号,非法人结算必填
|
||||||
|
*/
|
||||||
|
private String bankMobile;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 开开户证件号,默认法人证件号,非法人结算必填
|
||||||
|
*/
|
||||||
|
private String openCertNo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 银行开户行所属省代码,银行开户行所属市代码都填或都不填
|
||||||
|
*/
|
||||||
|
private String bankProince;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 银行开户行所属市代码,银行开户行所属省代码都填或都不填
|
||||||
|
*/
|
||||||
|
private String bankCity;
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue