From 817b474dd029ff493743b18bc3bd33541d990fca Mon Sep 17 00:00:00 2001 From: Binary Wang Date: Sat, 22 Aug 2020 22:17:52 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E4=BC=98=E5=8C=96=E8=A7=84=E8=8C=83?= =?UTF-8?q?=E7=BB=9F=E4=B8=80=E9=83=A8=E5=88=86=E4=BB=A3=E7=A0=81=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../applyment/ModifySettlementRequest.java | 64 +- .../bean/applyment/SettlementInfoResult.java | 61 +- .../WxPayApplyment4SubCreateRequest.java | 1537 +++++++++-------- .../applyment/WxPayApplymentCreateResult.java | 12 +- .../bean/applyment/enums/AccountTypeEnum.java | 18 +- .../applyment/enums/ApplymentStateEnum.java | 64 +- .../applyment/enums/BankAccountTypeEnum.java | 18 +- .../bean/applyment/enums/CertTypeEnum.java | 106 +- .../bean/applyment/enums/IdTypeEnum.java | 42 +- .../applyment/enums/SalesScenesTypeEnum.java | 50 +- .../enums/SettlementVerifyResultEnum.java | 26 +- .../bean/applyment/enums/SubjectTypeEnum.java | 34 +- 12 files changed, 1021 insertions(+), 1011 deletions(-) diff --git a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/ModifySettlementRequest.java b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/ModifySettlementRequest.java index 3ec162b0a..8623b5cd6 100644 --- a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/ModifySettlementRequest.java +++ b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/ModifySettlementRequest.java @@ -1,13 +1,13 @@ package com.github.binarywang.wxpay.bean.applyment; import com.github.binarywang.wxpay.bean.applyment.enums.AccountTypeEnum; +import com.github.binarywang.wxpay.v3.SpecEncrypt; import com.google.gson.annotations.SerializedName; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import lombok.experimental.Accessors; -import com.github.binarywang.wxpay.v3.SpecEncrypt; import java.io.Serializable; @@ -21,36 +21,36 @@ import java.io.Serializable; @Accessors(chain = true) public class ModifySettlementRequest implements Serializable { private static final long serialVersionUID = 4568552340365230872L; - /** - *账户类型 - */ - @SerializedName("account_type") - private AccountTypeEnum accountType; - /** - *开户银行 - */ - @SerializedName("account_bank") - private String accountBank; - /** - *开户银行省市编码 - */ - @SerializedName("bank_address_code") - private String bankAddressCode; - /** - *开户银行全称(含支行) - */ - @SerializedName("bank_name") - private String bankName; - /** - *开户银行联行号 - */ - @SerializedName("bank_branch_id") - private String bankBranchId; + /** + * 账户类型 + */ + @SerializedName("account_type") + private AccountTypeEnum accountType; + /** + * 开户银行 + */ + @SerializedName("account_bank") + private String accountBank; + /** + * 开户银行省市编码 + */ + @SerializedName("bank_address_code") + private String bankAddressCode; + /** + * 开户银行全称(含支行) + */ + @SerializedName("bank_name") + private String bankName; + /** + * 开户银行联行号 + */ + @SerializedName("bank_branch_id") + private String bankBranchId; - /** - *银行账号 - */ - @SpecEncrypt - @SerializedName("account_number") - private String accountNumber; + /** + * 银行账号 + */ + @SpecEncrypt + @SerializedName("account_number") + private String accountNumber; } diff --git a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/SettlementInfoResult.java b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/SettlementInfoResult.java index 0e35d2433..ffa3bf73e 100644 --- a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/SettlementInfoResult.java +++ b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/SettlementInfoResult.java @@ -20,34 +20,35 @@ import java.io.Serializable; public class SettlementInfoResult implements Serializable { private static final long serialVersionUID = 4568552340365230872L; /** - * 账户类型 - */ - @SerializedName("account_type") - private String accountType; - /** - * 开户银行 - */ - @SerializedName("account_bank") - private String accountBank; - /** - * 开户银行全称(含支行] - */ - @SerializedName("bank_name") - private String bankName; - /** - * 开户银行联行号 - */ - @SerializedName("bank_branch_id") - private String bankBranchId; - /** - * 银行账号 - */ - @SerializedName("account_number") - private String accountNumber; - /** - * 汇款验证结果 - * @see com.github.binarywang.wxpay.bean.applyment.enums.SettlementVerifyResultEnum - */ - @SerializedName("verify_result") - private String verifyResult; + * 账户类型 + */ + @SerializedName("account_type") + private String accountType; + /** + * 开户银行 + */ + @SerializedName("account_bank") + private String accountBank; + /** + * 开户银行全称(含支行] + */ + @SerializedName("bank_name") + private String bankName; + /** + * 开户银行联行号 + */ + @SerializedName("bank_branch_id") + private String bankBranchId; + /** + * 银行账号 + */ + @SerializedName("account_number") + private String accountNumber; + /** + * 汇款验证结果 + * + * @see com.github.binarywang.wxpay.bean.applyment.enums.SettlementVerifyResultEnum + */ + @SerializedName("verify_result") + private String verifyResult; } diff --git a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/WxPayApplyment4SubCreateRequest.java b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/WxPayApplyment4SubCreateRequest.java index cfdbdd8ed..8fa1aa0ca 100644 --- a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/WxPayApplyment4SubCreateRequest.java +++ b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/WxPayApplyment4SubCreateRequest.java @@ -1,13 +1,13 @@ package com.github.binarywang.wxpay.bean.applyment; import com.github.binarywang.wxpay.bean.applyment.enums.*; +import com.github.binarywang.wxpay.v3.SpecEncrypt; import com.google.gson.annotations.SerializedName; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import lombok.experimental.Accessors; -import com.github.binarywang.wxpay.v3.SpecEncrypt; import java.io.Serializable; import java.util.List; @@ -23,861 +23,868 @@ import java.util.List; @AllArgsConstructor @Accessors(chain = true) public class WxPayApplyment4SubCreateRequest implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * 业务申请编号 + */ + @SerializedName("business_code") + private String businessCode; + /** + * 超级管理员信息 + */ + @SerializedName("contact_info") + @SpecEncrypt + private ContactInfo contactInfo; + + /** + * 主体资料 + */ + @SerializedName("subject_info") + @SpecEncrypt + private SubjectInfo subjectInfo; + + /** + * 经营资料 + */ + @SerializedName("business_info") + private BusinessInfo businessInfo; + + /** + * 结算规则 + */ + @SerializedName("settlement_info") + private SettlementInfo settlementInfo; + + /** + * 结算银行账户 + */ + @SerializedName("bank_account_info") + @SpecEncrypt + private BankAccountInfo bankAccountInfo; + + /** + * 结算银行账户 + */ + @SerializedName("addition_info") + private AdditionInfo additionInfo; + + /** + * 超级管理员需在开户后进行签约,并接收日常重要管理信息和进行资金操作,请确定其为商户法定代表人或负责人。 + */ + @Data + @Builder + @NoArgsConstructor + @AllArgsConstructor + @Accessors(chain = true) + public static class ContactInfo implements Serializable { private static final long serialVersionUID = 1L; /** - * 业务申请编号 + * 超级管理员姓名 */ - @SerializedName("business_code") - private String businessCode; - /** - * 超级管理员信息 - */ - @SerializedName("contact_info") + @SerializedName("contact_name") @SpecEncrypt - private ContactInfo contactInfo; + private String contactName; /** - * 主体资料 + * 超级管理员身份证件号码 + * 1、“超级管理员身份证号码”与“超级管理员微信openid”,二选一必填。 + * 2、超级管理员签约时,校验微信号绑定的银行卡实名信息,是否与该证件号码一致。 + * 3、可传身份证、来往内地通行证、来往大陆通行证、护照等证件号码。 */ - @SerializedName("subject_info") + @SerializedName("contact_id_number") @SpecEncrypt - private SubjectInfo subjectInfo; + private String contactIdNumber; /** - * 经营资料 + * 超级管理员微信openid + * 1、“超级管理员身份证件号码”与“超级管理员微信openid”,二选一必填。 + * 2、超级管理员签约时,校验微信号是否与该微信openid一致。 */ - @SerializedName("business_info") - private BusinessInfo businessInfo; + @SerializedName("openid") + private String openid; /** - * 结算规则 + * 1、11位数字。 + * 2、用于接收微信支付的重要管理信息及日常操作验证码。 */ - @SerializedName("settlement_info") - private SettlementInfo settlementInfo; - - /** - * 结算银行账户 - */ - @SerializedName("bank_account_info") + @SerializedName("mobile_phone") @SpecEncrypt - private BankAccountInfo bankAccountInfo; + private String mobilePhone; /** - * 结算银行账户 + * 1、用于接收微信支付的开户邮件及日常业务通知。 + * 2、需要带@,遵循邮箱格式校验,该字段需进行加密处理, */ - @SerializedName("addition_info") - private AdditionInfo additionInfo; + @SerializedName("contact_email") + @SpecEncrypt + private String contactEmail; + + } + + /** + * 主体资料 + */ + @Data + @Builder + @NoArgsConstructor + @AllArgsConstructor + @Accessors(chain = true) + public static class SubjectInfo implements Serializable { + private static final long serialVersionUID = 1L; /** - * 超级管理员需在开户后进行签约,并接收日常重要管理信息和进行资金操作,请确定其为商户法定代表人或负责人。 + * 主体类型 */ + @SerializedName("subject_type") + private SubjectTypeEnum subjectType; + + /** + * 营业执照 + */ + @SerializedName("business_license_info") + private BusinessLicenseInfo businessLicenseInfo; + /** + * 登记证书 + */ + @SerializedName("certificate_info") + private CertificateInfo certificateInfo; + + /** + * 组织机构代码证 + */ + @SerializedName("organization_info") + private OrganizationInfo organizationInfo; + + /** + * 单位证明函照片 + */ + @SerializedName("certificate_letter_copy") + private String certificateLetterCopy; + + /** + * 经营者/法人身份证件 + */ + @SerializedName("identity_info") + @SpecEncrypt + private IdentityInfo identityInfo; + + /** + * 最终受益人信息(UBO] + */ + @SerializedName("ubo_info") + @SpecEncrypt + private UboInfo uboInfo; + + @Data @Builder @NoArgsConstructor @AllArgsConstructor @Accessors(chain = true) - public static class ContactInfo implements Serializable { - private static final long serialVersionUID = 1L; - - /** - * 超级管理员姓名 - */ - @SerializedName("contact_name") - @SpecEncrypt - private String contactName; - - /** - * 超级管理员身份证件号码 - * 1、“超级管理员身份证号码”与“超级管理员微信openid”,二选一必填。 - * 2、超级管理员签约时,校验微信号绑定的银行卡实名信息,是否与该证件号码一致。 - * 3、可传身份证、来往内地通行证、来往大陆通行证、护照等证件号码。 - */ - @SerializedName("contact_id_number") - @SpecEncrypt - private String contactIdNumber; - - /** - * 超级管理员微信openid - * 1、“超级管理员身份证件号码”与“超级管理员微信openid”,二选一必填。 - * 2、超级管理员签约时,校验微信号是否与该微信openid一致。 - */ - @SerializedName("openid") - private String openid; - - /** - * 1、11位数字。 - * 2、用于接收微信支付的重要管理信息及日常操作验证码。 - */ - @SerializedName("mobile_phone") - @SpecEncrypt - private String mobilePhone; - - /** - * 1、用于接收微信支付的开户邮件及日常业务通知。 - * 2、需要带@,遵循邮箱格式校验,该字段需进行加密处理, - */ - @SerializedName("contact_email") - @SpecEncrypt - private String contactEmail; - + public static class BusinessLicenseInfo implements Serializable { + private static final long serialVersionUID = -1016615300418945838L; + /** + * 营业执照照片 + */ + @SerializedName("license_copy") + private String licenseCopy; + /** + * 注册号/统一社会信用代码 + */ + @SerializedName("license_number") + private String licenseNumber; + /** + * 商户名称 + */ + @SerializedName("merchant_name") + private String merchantName; + /** + * 个体户经营者/法人姓名 + */ + @SerializedName("legal_person") + private String legalPerson; } - /** - * 主体资料 - */ @Data @Builder @NoArgsConstructor @AllArgsConstructor @Accessors(chain = true) - public static class SubjectInfo implements Serializable { - private static final long serialVersionUID = 1L; + public static class CertificateInfo implements Serializable { + private static final long serialVersionUID = 5080675335337916895L; - /** - * 主体类型 - */ - @SerializedName("subject_type") - private SubjectTypeEnum subjectType; + /** + * 登记证书照片 + */ + @SerializedName("cert_copy") + private String certCopy; - /** - * 营业执照 - */ - @SerializedName("business_license_info") - private BusinessLicenseInfo businessLicenseInfo; - /** - * 登记证书 - */ - @SerializedName("certificate_info") - private CertificateInfo certificateInfo; - - /** - * 组织机构代码证 - */ - @SerializedName("organization_info") - private OrganizationInfo organizationInfo; - - /** - * 单位证明函照片 - */ - @SerializedName("certificate_letter_copy") - private String certificateLetterCopy; - - /** - * 经营者/法人身份证件 - */ - @SerializedName("identity_info") - @SpecEncrypt - private IdentityInfo identityInfo; - - /** - * 最终受益人信息(UBO] - */ - @SerializedName("ubo_info") - @SpecEncrypt - private UboInfo uboInfo; + /** + * 登记证书类型 + */ + @SerializedName("cert_type") + private CertTypeEnum certType; - @Data - @Builder - @NoArgsConstructor - @AllArgsConstructor - @Accessors(chain = true) - public static class BusinessLicenseInfo { - /** - * 营业执照照片 - */ - @SerializedName("license_copy") - private String licenseCopy; - /** - * 注册号/统一社会信用代码 - */ - @SerializedName("license_number") - private String licenseNumber; - /** - * 商户名称 - */ - @SerializedName("merchant_name") - private String merchantName; - /** - * 个体户经营者/法人姓名 - */ - @SerializedName("legal_person") - private String legalPerson; - } - - @Data - @Builder - @NoArgsConstructor - @AllArgsConstructor - @Accessors(chain = true) - public static class CertificateInfo { - - /** - * 登记证书照片 - */ - @SerializedName("cert_copy") - private String certCopy; - - /** - * 登记证书类型 - */ - @SerializedName("cert_type") - private CertTypeEnum certType; + /** + * 证书号 + */ + @SerializedName("cert_number") + private String certNumber; - /** - * 证书号 - */ - @SerializedName("cert_number") - private String certNumber; + /** + * 商户名称 + */ + @SerializedName("merchant_name") + private String merchantName; - /** - * 商户名称 - */ - @SerializedName("merchant_name") - private String merchantName; + /** + * 注册地址 + */ + @SerializedName("company_address") + private String companyAddress; - /** - * 注册地址 - */ - @SerializedName("company_address") - private String companyAddress; + /** + * 法人姓名 + */ + @SerializedName("legal_person") + private String legalPerson; - /** - * 法人姓名 - */ - @SerializedName("legal_person") - private String legalPerson; + /** + * 有效期限开始日期 + */ + @SerializedName("period_begin") + private String periodBegin; - /** - * 有效期限开始日期 - */ - @SerializedName("period_begin") - private String periodBegin; - - - /** - * 有效期限结束日期 - */ - @SerializedName("period_end") - private String periodEnd; - - } - - @Data - @Builder - @NoArgsConstructor - @AllArgsConstructor - @Accessors(chain = true) - public static class OrganizationInfo { - /** - * 组织机构代码证照片 - */ - @SerializedName("organization_copy") - private String organizationCopy; - /** - * 组织机构代码 - */ - @SerializedName("organization_code") - private String organizationCode; - /** - * 组织机构代码证有效期开始日期 - */ - @SerializedName("org_period_begin") - private String orgPeriodBegin; - /** - * 组织机构代码证有效期结束日期 - */ - @SerializedName("org_period_end") - private String orgPeriodEnd; - - } - - @Data - @Builder - @NoArgsConstructor - @AllArgsConstructor - @Accessors(chain = true) - public static class IdentityInfo { - - /** - * 证件类型 - */ - @SerializedName("id_doc_type") - private IdTypeEnum idDocType; - - /** - * 身份证信息 - */ - @SerializedName("id_card_info") - @SpecEncrypt - private IdCardInfo idCardInfo; - - /** - * 其他类型证件信息 - */ - @SerializedName("id_doc_info") - @SpecEncrypt - private IdDocInfo idDocInfo; - - /** - * 经营者/法人是否为受益人 - */ - @SerializedName("owner") - private boolean owner; - - @Data - @Builder - @NoArgsConstructor - @AllArgsConstructor - @Accessors(chain = true) - public static class IdCardInfo { - /** - * 身份证人像面照片 - */ - @SerializedName("id_card_copy") - private String idCardCopy; - /** - * 身份证国徽面照片 - */ - @SerializedName("id_card_national") - private String idCardNational; - - /** - * 身份证姓名 - */ - @SerializedName("id_card_name") - @SpecEncrypt - private String idCardName; - /** - * 身份证号码 - */ - @SerializedName("id_card_number") - @SpecEncrypt - private String idCardNumber; - /** - * 身份证有效期开始时间 - */ - @SerializedName("card_period_begin") - private String cardPeriodBegin; - /** - * 身份证有效期结束时间 - */ - @SerializedName("card_period_end") - private String cardPeriodEnd; - - } - - @Data - @Builder - @NoArgsConstructor - @AllArgsConstructor - @Accessors(chain = true) - public static class IdDocInfo { - /** - * 证件照片 - */ - @SerializedName("id_doc_copy") - private String idDocCopy; - - /** - * 证件姓名 - */ - @SerializedName("id_doc_name") - @SpecEncrypt - private String idDocName; - - /** - * 证件号码 - */ - @SerializedName("id_doc_number") - @SpecEncrypt - private String idDocNumber; - /** - * 证件有效期开始时间 - */ - @SerializedName("doc_period_begin") - private String docPeriodBegin; - /** - * 证件有效期结束时间 - */ - @SerializedName("doc_period_end") - private String docPeriodEnd; - } - } - - @Data - @Builder - @NoArgsConstructor - @AllArgsConstructor - @Accessors(chain = true) - public static class UboInfo { - /** - * 证件类型 - */ - @SerializedName("id_type") - private IdTypeEnum idType; - /** - * 身份证人像面照片 - */ - @SerializedName("id_card_copy") - private String idCardCopy; - /** - * 身份证国徽面照片 - */ - @SerializedName("id_card_national") - private String idCardNational; - /** - * 证件照片 - */ - @SerializedName("id_doc_copy") - private String idDocCopy; - /** - * 受益人姓名 - */ - @SerializedName("name") - @SpecEncrypt - private String name; - /** - * 证件号码 - */ - @SerializedName("id_number") - @SpecEncrypt - private String idNumber; - /** - * 证件有效期开始时间 - */ - @SerializedName("id_period_begin") - private String idPeriodBegin; - /** - * 证件有效期结束时间 - */ - @SerializedName("id_period_end") - private String idPeriodEnd; - } + /** + * 有效期限结束日期 + */ + @SerializedName("period_end") + private String periodEnd; } - /** - * 经营资料 - */ @Data @Builder @NoArgsConstructor @AllArgsConstructor @Accessors(chain = true) - public static class BusinessInfo implements Serializable { - private static final long serialVersionUID = 1L; + public static class OrganizationInfo implements Serializable { + private static final long serialVersionUID = 6497045652770046337L; + /** + * 组织机构代码证照片 + */ + @SerializedName("organization_copy") + private String organizationCopy; + /** + * 组织机构代码 + */ + @SerializedName("organization_code") + private String organizationCode; + /** + * 组织机构代码证有效期开始日期 + */ + @SerializedName("org_period_begin") + private String orgPeriodBegin; + /** + * 组织机构代码证有效期结束日期 + */ + @SerializedName("org_period_end") + private String orgPeriodEnd; - /** - * 商户简称 - */ - @SerializedName("merchant_shortname") - private String merchantShortname; - - /** - * 客服电话 - */ - @SerializedName("service_phone") - private String servicePhone; - - /** - * 经营场景 - */ - @SerializedName("sales_info") - private SalesInfo salesInfo; - - @Data - @Builder - @NoArgsConstructor - @AllArgsConstructor - @Accessors(chain = true) - public static class SalesInfo { - - /** - * 经营场景类型 - */ - @SerializedName("sales_scenes_type") - private List salesScenesType; - - /** - * 线下门店场景 - */ - @SerializedName("biz_store_info") - private BizStoreInfo bizStoreInfo; - - /** - * 公众号场景 - */ - @SerializedName("mp_info") - private MpInfo mpInfo; - - /** - * 小程序场景 - */ - @SerializedName("mini_program_info") - private MiniProgramInfo miniProgramInfo; - - /** - * APP场景 - */ - @SerializedName("app_info") - private AppInfo appInfo; - - /** - * 互联网网站场景 - */ - @SerializedName("web_info") - private WebInfo webInfo; - - /** - * 企业微信场景 - */ - @SerializedName("wework_info") - private WeworkInfo weworkInfo; - - /** - * 线下门店场景 - */ - @Data - @Builder - @NoArgsConstructor - @AllArgsConstructor - @Accessors(chain = true) - public static class BizStoreInfo { - - /** - * 门店名称 - */ - @SerializedName("biz_store_name") - private String bizStoreName; - - /** - * 门店省市编码 - */ - @SerializedName("biz_address_code") - private String bizAddressCode; - - /** - * 门店地址 - */ - @SerializedName("biz_store_address") - private String bizStoreAddress; - - /** - * 门店门头照片 - */ - @SerializedName("store_entrance_pic") - private List storeEntrancePic; - - /** - * 店内环境照片 - */ - @SerializedName("indoor_pic") - private List indoorPic; - - /** - * 线下场所对应的商家APPID - */ - @SerializedName("biz_sub_appid") - private String bizSubAppid; - - } - - /** - * 公众号场景 - */ - @Data - @Builder - @NoArgsConstructor - @AllArgsConstructor - @Accessors(chain = true) - public static class MpInfo { - - /** - * 服务商公众号APPID - */ - @SerializedName("mp_appid") - private String mpAppid; - - /** - * 商家公众号APPID - */ - @SerializedName("mp_sub_appid") - private String mpSubAppid; - - /** - * 公众号页面截图 - */ - @SerializedName("mp_pics") - private List mpPics; - - } - - /** - * 小程序场景 - */ - @Data - @Builder - @NoArgsConstructor - @AllArgsConstructor - @Accessors(chain = true) - public static class MiniProgramInfo { - - /** - * 服务商小程序APPID - */ - @SerializedName("mini_program_appid") - private String miniProgramAppid; - - /** - * 商家小程序APPID - */ - @SerializedName("mini_program_sub_appid") - private String miniProgramSubAppid; - - /** - * 小程序截图 - */ - @SerializedName("mini_program_pics") - private List miniProgramPics; - - - } - - /** - * APP场景 - */ - @Data - @Builder - @NoArgsConstructor - @AllArgsConstructor - @Accessors(chain = true) - public static class AppInfo { - - /** - * 服务商应用APPID - */ - @SerializedName("app_appid") - private String appAppid; - - /** - * 商家应用APPID - */ - @SerializedName("app_sub_appid") - private String appSubAppid; - - /** - * APP截图 - */ - @SerializedName("app_pics") - private List appPics; - - } - - /** - * 互联网网站场景 - */ - @Data - @Builder - @NoArgsConstructor - @AllArgsConstructor - @Accessors(chain = true) - public static class WebInfo { - - /** - * 互联网网站域名 - */ - @SerializedName("domain") - private String domain; - - /** - * 网站授权函 - */ - @SerializedName("web_authorisation") - private String webAuthorisation; - - /** - * 互联网网站对应的商家APPID - */ - @SerializedName("web_appid") - private String webAppid; - - } - - /** - * 企业微信场景 - */ - @Data - @Builder - @NoArgsConstructor - @AllArgsConstructor - @Accessors(chain = true) - public static class WeworkInfo { - - /** - * 商家企业微信CorpID - */ - @SerializedName("sub_corp_id") - private String subCorpId; - - /** - * 企业微信页面截图 - */ - @SerializedName("wework_pics") - private List weworkPics; - - } - } } - /** - * 结算规则 - */ @Data @Builder @NoArgsConstructor @AllArgsConstructor @Accessors(chain = true) - public static class SettlementInfo implements Serializable { - private static final long serialVersionUID = 1L; + public static class IdentityInfo implements Serializable { + private static final long serialVersionUID = 1683704338370383827L; + + /** + * 证件类型 + */ + @SerializedName("id_doc_type") + private IdTypeEnum idDocType; + + /** + * 身份证信息 + */ + @SerializedName("id_card_info") + @SpecEncrypt + private IdCardInfo idCardInfo; + + /** + * 其他类型证件信息 + */ + @SerializedName("id_doc_info") + @SpecEncrypt + private IdDocInfo idDocInfo; + + /** + * 经营者/法人是否为受益人 + */ + @SerializedName("owner") + private boolean owner; + + @Data + @Builder + @NoArgsConstructor + @AllArgsConstructor + @Accessors(chain = true) + public static class IdCardInfo implements Serializable { + private static final long serialVersionUID = -2897792705297641786L; + /** + * 身份证人像面照片 + */ + @SerializedName("id_card_copy") + private String idCardCopy; + /** + * 身份证国徽面照片 + */ + @SerializedName("id_card_national") + private String idCardNational; /** - * 入驻结算规则ID + * 身份证姓名 */ - @SerializedName("settlement_id") - private String settlementId; + @SerializedName("id_card_name") + @SpecEncrypt + private String idCardName; + /** + * 身份证号码 + */ + @SerializedName("id_card_number") + @SpecEncrypt + private String idCardNumber; + /** + * 身份证有效期开始时间 + */ + @SerializedName("card_period_begin") + private String cardPeriodBegin; + /** + * 身份证有效期结束时间 + */ + @SerializedName("card_period_end") + private String cardPeriodEnd; + + } + + @Data + @Builder + @NoArgsConstructor + @AllArgsConstructor + @Accessors(chain = true) + public static class IdDocInfo implements Serializable { + private static final long serialVersionUID = 7335589815924447719L; + /** + * 证件照片 + */ + @SerializedName("id_doc_copy") + private String idDocCopy; /** - * 所属行业 + * 证件姓名 */ - @SerializedName("qualification_type") - private String qualificationType; + @SerializedName("id_doc_name") + @SpecEncrypt + private String idDocName; /** - * 特殊资质图片 + * 证件号码 */ - @SerializedName("qualifications") - private List qualifications; - + @SerializedName("id_doc_number") + @SpecEncrypt + private String idDocNumber; /** - * 优惠费率活动ID + * 证件有效期开始时间 */ - @SerializedName("activities_id") - private String activitiesId; - + @SerializedName("doc_period_begin") + private String docPeriodBegin; /** - * 优惠费率活动值 + * 证件有效期结束时间 */ - @SerializedName("activities_rate") - private String activitiesRate; - - /** - * 优惠费率活动补充材料 - */ - @SerializedName("activities_additions") - private List activitiesAdditions; - + @SerializedName("doc_period_end") + private String docPeriodEnd; + } } - /** - * 结算银行账户 - */ @Data @Builder @NoArgsConstructor @AllArgsConstructor @Accessors(chain = true) - public static class BankAccountInfo implements Serializable { - private static final long serialVersionUID = 1L; - - /** - * 账户类型 - */ - @SerializedName("bank_account_type") - private BankAccountTypeEnum bankAccountType; - - /** - * 开户名称 - */ - @SerializedName("account_name") - @SpecEncrypt - private String accountName; - - /** - * 开户银行 - */ - @SerializedName("account_bank") - private String accountBank; - - /** - * 开户银行省市编码 - */ - @SerializedName("bank_address_code") - private String bankAddressCode; - - /** - * 开户银行联行号 - */ - @SerializedName("bank_branch_id") - private String bankBranchId; - - /** - * 开户银行全称(含支行] - */ - @SerializedName("bank_name") - private String bankName; - - /** - * 银行账号 - */ - @SerializedName("account_number") - @SpecEncrypt - private String accountNumber; - + public static class UboInfo implements Serializable { + private static final long serialVersionUID = 7918585690831975042L; + /** + * 证件类型 + */ + @SerializedName("id_type") + private IdTypeEnum idType; + /** + * 身份证人像面照片 + */ + @SerializedName("id_card_copy") + private String idCardCopy; + /** + * 身份证国徽面照片 + */ + @SerializedName("id_card_national") + private String idCardNational; + /** + * 证件照片 + */ + @SerializedName("id_doc_copy") + private String idDocCopy; + /** + * 受益人姓名 + */ + @SerializedName("name") + @SpecEncrypt + private String name; + /** + * 证件号码 + */ + @SerializedName("id_number") + @SpecEncrypt + private String idNumber; + /** + * 证件有效期开始时间 + */ + @SerializedName("id_period_begin") + private String idPeriodBegin; + /** + * 证件有效期结束时间 + */ + @SerializedName("id_period_end") + private String idPeriodEnd; } + } + + /** + * 经营资料 + */ + @Data + @Builder + @NoArgsConstructor + @AllArgsConstructor + @Accessors(chain = true) + public static class BusinessInfo implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * 商户简称 + */ + @SerializedName("merchant_shortname") + private String merchantShortname; + + /** + * 客服电话 + */ + @SerializedName("service_phone") + private String servicePhone; + + /** + * 经营场景 + */ + @SerializedName("sales_info") + private SalesInfo salesInfo; + + @Data + @Builder + @NoArgsConstructor + @AllArgsConstructor + @Accessors(chain = true) + public static class SalesInfo implements Serializable { + private static final long serialVersionUID = 6428044729204137659L; + /** + * 经营场景类型 + */ + @SerializedName("sales_scenes_type") + private List salesScenesType; + + /** + * 线下门店场景 + */ + @SerializedName("biz_store_info") + private BizStoreInfo bizStoreInfo; + + /** + * 公众号场景 + */ + @SerializedName("mp_info") + private MpInfo mpInfo; + + /** + * 小程序场景 + */ + @SerializedName("mini_program_info") + private MiniProgramInfo miniProgramInfo; + + /** + * APP场景 + */ + @SerializedName("app_info") + private AppInfo appInfo; + + /** + * 互联网网站场景 + */ + @SerializedName("web_info") + private WebInfo webInfo; + + /** + * 企业微信场景 + */ + @SerializedName("wework_info") + private WeworkInfo weworkInfo; + + /** + * 线下门店场景 + */ + @Data + @Builder + @NoArgsConstructor + @AllArgsConstructor + @Accessors(chain = true) + public static class BizStoreInfo implements Serializable { + private static final long serialVersionUID = 4397253725912709093L; + /** + * 门店名称 + */ + @SerializedName("biz_store_name") + private String bizStoreName; + + /** + * 门店省市编码 + */ + @SerializedName("biz_address_code") + private String bizAddressCode; + + /** + * 门店地址 + */ + @SerializedName("biz_store_address") + private String bizStoreAddress; + + /** + * 门店门头照片 + */ + @SerializedName("store_entrance_pic") + private List storeEntrancePic; + + /** + * 店内环境照片 + */ + @SerializedName("indoor_pic") + private List indoorPic; + + /** + * 线下场所对应的商家APPID + */ + @SerializedName("biz_sub_appid") + private String bizSubAppid; + + } + + /** + * 公众号场景 + */ + @Data + @Builder + @NoArgsConstructor + @AllArgsConstructor + @Accessors(chain = true) + public static class MpInfo implements Serializable { + private static final long serialVersionUID = 167582552189873597L; + /** + * 服务商公众号APPID + */ + @SerializedName("mp_appid") + private String mpAppid; + + /** + * 商家公众号APPID + */ + @SerializedName("mp_sub_appid") + private String mpSubAppid; + + /** + * 公众号页面截图 + */ + @SerializedName("mp_pics") + private List mpPics; + + } + + /** + * 小程序场景 + */ + @Data + @Builder + @NoArgsConstructor + @AllArgsConstructor + @Accessors(chain = true) + public static class MiniProgramInfo implements Serializable { + private static final long serialVersionUID = -371749335686796436L; + /** + * 服务商小程序APPID + */ + @SerializedName("mini_program_appid") + private String miniProgramAppid; + + /** + * 商家小程序APPID + */ + @SerializedName("mini_program_sub_appid") + private String miniProgramSubAppid; + + /** + * 小程序截图 + */ + @SerializedName("mini_program_pics") + private List miniProgramPics; + + + } + + /** + * APP场景 + */ + @Data + @Builder + @NoArgsConstructor + @AllArgsConstructor + @Accessors(chain = true) + public static class AppInfo implements Serializable { + private static final long serialVersionUID = 3959643687528770473L; + /** + * 服务商应用APPID + */ + @SerializedName("app_appid") + private String appAppid; + + /** + * 商家应用APPID + */ + @SerializedName("app_sub_appid") + private String appSubAppid; + + /** + * APP截图 + */ + @SerializedName("app_pics") + private List appPics; + + } + + /** + * 互联网网站场景 + */ + @Data + @Builder + @NoArgsConstructor + @AllArgsConstructor + @Accessors(chain = true) + public static class WebInfo implements Serializable { + private static final long serialVersionUID = -4183874827185822310L; + /** + * 互联网网站域名 + */ + @SerializedName("domain") + private String domain; + + /** + * 网站授权函 + */ + @SerializedName("web_authorisation") + private String webAuthorisation; + + /** + * 互联网网站对应的商家APPID + */ + @SerializedName("web_appid") + private String webAppid; + + } + + /** + * 企业微信场景 + */ + @Data + @Builder + @NoArgsConstructor + @AllArgsConstructor + @Accessors(chain = true) + public static class WeworkInfo implements Serializable { + private static final long serialVersionUID = 9075531305717309383L; + /** + * 商家企业微信CorpID + */ + @SerializedName("sub_corp_id") + private String subCorpId; + + /** + * 企业微信页面截图 + */ + @SerializedName("wework_pics") + private List weworkPics; + + } + } + } + + /** + * 结算规则 + */ + @Data + @Builder + @NoArgsConstructor + @AllArgsConstructor + @Accessors(chain = true) + public static class SettlementInfo implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * 入驻结算规则ID + */ + @SerializedName("settlement_id") + private String settlementId; + + /** + * 所属行业 + */ + @SerializedName("qualification_type") + private String qualificationType; + + /** + * 特殊资质图片 + */ + @SerializedName("qualifications") + private List qualifications; + + /** + * 优惠费率活动ID + */ + @SerializedName("activities_id") + private String activitiesId; + + /** + * 优惠费率活动值 + */ + @SerializedName("activities_rate") + private String activitiesRate; + + /** + * 优惠费率活动补充材料 + */ + @SerializedName("activities_additions") + private List activitiesAdditions; + + } + + /** + * 结算银行账户 + */ + @Data + @Builder + @NoArgsConstructor + @AllArgsConstructor + @Accessors(chain = true) + public static class BankAccountInfo implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * 账户类型 + */ + @SerializedName("bank_account_type") + private BankAccountTypeEnum bankAccountType; + + /** + * 开户名称 + */ + @SerializedName("account_name") + @SpecEncrypt + private String accountName; + + /** + * 开户银行 + */ + @SerializedName("account_bank") + private String accountBank; + + /** + * 开户银行省市编码 + */ + @SerializedName("bank_address_code") + private String bankAddressCode; + + /** + * 开户银行联行号 + */ + @SerializedName("bank_branch_id") + private String bankBranchId; + + /** + * 开户银行全称(含支行] + */ + @SerializedName("bank_name") + private String bankName; + + /** + * 银行账号 + */ + @SerializedName("account_number") + @SpecEncrypt + private String accountNumber; + + } + + + /** + * 补充材料 + */ + @Data + @Builder + @NoArgsConstructor + @AllArgsConstructor + @Accessors(chain = true) + public static class AdditionInfo implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * 法人开户承诺函 + */ + @SerializedName("legal_person_commitment") + private String legalPersonCommitment; + + /** + * 法人开户意愿视频 + */ + @SerializedName("legal_person_video") + private String legalPersonVideo; /** * 补充材料 */ - @Data - @Builder - @NoArgsConstructor - @AllArgsConstructor - @Accessors(chain = true) - public static class AdditionInfo implements Serializable { - private static final long serialVersionUID = 1L; + @SerializedName("business_addition_pics") + private List businessAdditionPics; - /** - * 法人开户承诺函 - */ - @SerializedName("legal_person_commitment") - private String legalPersonCommitment; + /** + * 补充说明 + */ + @SerializedName("business_addition_msg") + private String businessAdditionMsg; - /** - * 法人开户意愿视频 - */ - @SerializedName("legal_person_video") - private String legalPersonVideo; - - /** - * 补充材料 - */ - @SerializedName("business_addition_pics") - private List businessAdditionPics; - - /** - * 补充说明 - */ - @SerializedName("business_addition_msg") - private String businessAdditionMsg; - - } + } } diff --git a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/WxPayApplymentCreateResult.java b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/WxPayApplymentCreateResult.java index d68ba0ce8..157b8fc09 100644 --- a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/WxPayApplymentCreateResult.java +++ b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/WxPayApplymentCreateResult.java @@ -21,11 +21,11 @@ import java.io.Serializable; @AllArgsConstructor @Accessors(chain = true) public class WxPayApplymentCreateResult implements Serializable { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = 1L; - /** - * 微信支付申请单号 - */ - @SerializedName("applyment_id") - private String applymentId; + /** + * 微信支付申请单号 + */ + @SerializedName("applyment_id") + private String applymentId; } diff --git a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/enums/AccountTypeEnum.java b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/enums/AccountTypeEnum.java index 3239709b6..15fcba9f9 100644 --- a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/enums/AccountTypeEnum.java +++ b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/enums/AccountTypeEnum.java @@ -5,14 +5,14 @@ package com.github.binarywang.wxpay.bean.applyment.enums; * 银行结算账户枚举类 */ public enum AccountTypeEnum { - /** - * 对公银行账户 - */ - ACCOUNT_TYPE_BUSINESS, + /** + * 对公银行账户 + */ + ACCOUNT_TYPE_BUSINESS, - /** - * 经营者个人银行卡 - */ - ACCOUNT_TYPE_PRIVATE, - ; + /** + * 经营者个人银行卡 + */ + ACCOUNT_TYPE_PRIVATE, + ; } diff --git a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/enums/ApplymentStateEnum.java b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/enums/ApplymentStateEnum.java index 50affe877..2997ed522 100644 --- a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/enums/ApplymentStateEnum.java +++ b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/enums/ApplymentStateEnum.java @@ -6,37 +6,37 @@ package com.github.binarywang.wxpay.bean.applyment.enums; * @author zhouyongshen */ public enum ApplymentStateEnum { - /** - * (编辑中):提交申请发生错误导致,请尝试重新提交。 - */ - APPLYMENT_STATE_EDITTING, - /** - * (审核中):申请单正在审核中,超级管理员用微信打开“签约链接”,完成绑定微信号后,申请单进度将通过微信公众号通知超级管理员,引导完成后续步骤。 - */ - APPLYMENT_STATE_AUDITING, - /** - * (已驳回):请按照驳回原因修改申请资料,超级管理员用微信打开“签约链接”,完成绑定微信号,后续申请单进度将通过微信公众号通知超级管理员。 - */ - APPLYMENT_STATE_REJECTED, - /** - * (待账户验证):请超级管理员使用微信打开返回的“签约链接”,根据页面指引完成账户验证。 - */ - APPLYMENT_STATE_TO_BE_CONFIRMED, - /** - * (待签约):请超级管理员使用微信打开返回的“签约链接”,根据页面指引完成签约。 - */ - APPLYMENT_STATE_TO_BE_SIGNED, - /** - * (开通权限中):系统开通相关权限中,请耐心等待。 - */ - APPLYMENT_STATE_SIGNING, - /** - * (已完成):商户入驻申请已完成。 - */ - APPLYMENT_STATE_FINISHED, - /** - * (已作废):申请单已被撤销。 - */ - APPLYMENT_STATE_CANCELED + /** + * (编辑中):提交申请发生错误导致,请尝试重新提交。 + */ + APPLYMENT_STATE_EDITTING, + /** + * (审核中):申请单正在审核中,超级管理员用微信打开“签约链接”,完成绑定微信号后,申请单进度将通过微信公众号通知超级管理员,引导完成后续步骤。 + */ + APPLYMENT_STATE_AUDITING, + /** + * (已驳回):请按照驳回原因修改申请资料,超级管理员用微信打开“签约链接”,完成绑定微信号,后续申请单进度将通过微信公众号通知超级管理员。 + */ + APPLYMENT_STATE_REJECTED, + /** + * (待账户验证):请超级管理员使用微信打开返回的“签约链接”,根据页面指引完成账户验证。 + */ + APPLYMENT_STATE_TO_BE_CONFIRMED, + /** + * (待签约):请超级管理员使用微信打开返回的“签约链接”,根据页面指引完成签约。 + */ + APPLYMENT_STATE_TO_BE_SIGNED, + /** + * (开通权限中):系统开通相关权限中,请耐心等待。 + */ + APPLYMENT_STATE_SIGNING, + /** + * (已完成):商户入驻申请已完成。 + */ + APPLYMENT_STATE_FINISHED, + /** + * (已作废):申请单已被撤销。 + */ + APPLYMENT_STATE_CANCELED } diff --git a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/enums/BankAccountTypeEnum.java b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/enums/BankAccountTypeEnum.java index 5d566702e..739ad2447 100644 --- a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/enums/BankAccountTypeEnum.java +++ b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/enums/BankAccountTypeEnum.java @@ -5,14 +5,14 @@ package com.github.binarywang.wxpay.bean.applyment.enums; * 银行结算账户枚举类 */ public enum BankAccountTypeEnum { - /** - * 对公银行账户 - */ - BANK_ACCOUNT_TYPE_CORPORATE, + /** + * 对公银行账户 + */ + BANK_ACCOUNT_TYPE_CORPORATE, - /** - * 经营者个人银行卡 - */ - BANK_ACCOUNT_TYPE_PERSONAL, - ; + /** + * 经营者个人银行卡 + */ + BANK_ACCOUNT_TYPE_PERSONAL, + ; } diff --git a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/enums/CertTypeEnum.java b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/enums/CertTypeEnum.java index 89ca59d19..f7415fdc3 100644 --- a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/enums/CertTypeEnum.java +++ b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/enums/CertTypeEnum.java @@ -4,57 +4,57 @@ package com.github.binarywang.wxpay.bean.applyment.enums; * 登记证书的类型枚举 */ public enum CertTypeEnum { - /** - * 事业单位法人证书 - */ - CERTIFICATE_TYPE_2388, - /** - * 统一社会信用代码证书 - */ - CERTIFICATE_TYPE_2389, - /** - * 有偿服务许可证(军队医院适用) - */ - CERTIFICATE_TYPE_2390, - /** - * 医疗机构执业许可证(军队医院适用) - */ - CERTIFICATE_TYPE_2391, - /** - * 企业营业执照(挂靠企业的党组织适用) - */ - CERTIFICATE_TYPE_2392, - /** - * 组织机构代码证(政府机关适用) - */ - CERTIFICATE_TYPE_2393, - /** - * 社会团体法人登记证书 - */ - CERTIFICATE_TYPE_2394, - /** - * 民办非企业单位登记证书 - */ - CERTIFICATE_TYPE_2395, - /** - * 基金会法人登记证书 - */ - CERTIFICATE_TYPE_2396, - /** - * 慈善组织公开募捐资格证书 - */ - CERTIFICATE_TYPE_2397, - /** - * 农民专业合作社法人营业执照 - */ - CERTIFICATE_TYPE_2398, - /** - * 宗教活动场所登记证 - */ - CERTIFICATE_TYPE_2399, - /** - * 其他证书/批文/证明 - */ - CERTIFICATE_TYPE_2400, - ; + /** + * 事业单位法人证书 + */ + CERTIFICATE_TYPE_2388, + /** + * 统一社会信用代码证书 + */ + CERTIFICATE_TYPE_2389, + /** + * 有偿服务许可证(军队医院适用) + */ + CERTIFICATE_TYPE_2390, + /** + * 医疗机构执业许可证(军队医院适用) + */ + CERTIFICATE_TYPE_2391, + /** + * 企业营业执照(挂靠企业的党组织适用) + */ + CERTIFICATE_TYPE_2392, + /** + * 组织机构代码证(政府机关适用) + */ + CERTIFICATE_TYPE_2393, + /** + * 社会团体法人登记证书 + */ + CERTIFICATE_TYPE_2394, + /** + * 民办非企业单位登记证书 + */ + CERTIFICATE_TYPE_2395, + /** + * 基金会法人登记证书 + */ + CERTIFICATE_TYPE_2396, + /** + * 慈善组织公开募捐资格证书 + */ + CERTIFICATE_TYPE_2397, + /** + * 农民专业合作社法人营业执照 + */ + CERTIFICATE_TYPE_2398, + /** + * 宗教活动场所登记证 + */ + CERTIFICATE_TYPE_2399, + /** + * 其他证书/批文/证明 + */ + CERTIFICATE_TYPE_2400, + ; } diff --git a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/enums/IdTypeEnum.java b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/enums/IdTypeEnum.java index 7bf88e6b5..d65c502b8 100644 --- a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/enums/IdTypeEnum.java +++ b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/enums/IdTypeEnum.java @@ -5,25 +5,25 @@ package com.github.binarywang.wxpay.bean.applyment.enums; * 枚举值 */ public enum IdTypeEnum { - /** - * 中国大陆居民-身份证 - */ - IDENTIFICATION_TYPE_IDCARD, - /** - * 其他国家或地区居民-护照 - */ - IDENTIFICATION_TYPE_OVERSEA_PASSPORT, - /** - * 中国香港居民-来往内地通行证 - */ - IDENTIFICATION_TYPE_HONGKONG_PASSPORT, - /** - * 中国澳门居民-来往内地通行证 - */ - IDENTIFICATION_TYPE_MACAO_PASSPORT, - /** - * 中国台湾居民-来往大陆通行证 - */ - IDENTIFICATION_TYPE_TAIWAN_PASSPORT, - ; + /** + * 中国大陆居民-身份证 + */ + IDENTIFICATION_TYPE_IDCARD, + /** + * 其他国家或地区居民-护照 + */ + IDENTIFICATION_TYPE_OVERSEA_PASSPORT, + /** + * 中国香港居民-来往内地通行证 + */ + IDENTIFICATION_TYPE_HONGKONG_PASSPORT, + /** + * 中国澳门居民-来往内地通行证 + */ + IDENTIFICATION_TYPE_MACAO_PASSPORT, + /** + * 中国台湾居民-来往大陆通行证 + */ + IDENTIFICATION_TYPE_TAIWAN_PASSPORT, + ; } diff --git a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/enums/SalesScenesTypeEnum.java b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/enums/SalesScenesTypeEnum.java index baf4d1839..b057dd574 100644 --- a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/enums/SalesScenesTypeEnum.java +++ b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/enums/SalesScenesTypeEnum.java @@ -4,29 +4,29 @@ package com.github.binarywang.wxpay.bean.applyment.enums; * 经营场景类型枚举值 */ public enum SalesScenesTypeEnum { - /** - * 线下门店 - */ - SALES_SCENES_STORE, - /** - * 公众号 - */ - SALES_SCENES_MP, - /** - * 小程序 - */ - SALES_SCENES_MINI_PROGRAM, - /** - * 互联网 - */ - SALES_SCENES_WEB, - /** - * APP - */ - SALES_SCENES_APP, - /** - * 企业微信 - */ - SALES_SCENES_WEWORK, - ; + /** + * 线下门店 + */ + SALES_SCENES_STORE, + /** + * 公众号 + */ + SALES_SCENES_MP, + /** + * 小程序 + */ + SALES_SCENES_MINI_PROGRAM, + /** + * 互联网 + */ + SALES_SCENES_WEB, + /** + * APP + */ + SALES_SCENES_APP, + /** + * 企业微信 + */ + SALES_SCENES_WEWORK, + ; } diff --git a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/enums/SettlementVerifyResultEnum.java b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/enums/SettlementVerifyResultEnum.java index f26e6c09f..ed2fbc719 100644 --- a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/enums/SettlementVerifyResultEnum.java +++ b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/enums/SettlementVerifyResultEnum.java @@ -6,18 +6,18 @@ package com.github.binarywang.wxpay.bean.applyment.enums; * @author zhouyognshen */ public enum SettlementVerifyResultEnum { - /** - * 系统汇款验证中,商户可发起提现尝试。 - */ - VERIFYING, - /** - * 系统成功汇款,该账户可正常发起提现。 - */ - VERIFY_SUCCESS, - /** - * 系统汇款失败,该账户无法发起提现,请检查修改。 - */ - VERIFY_FAIL, - ; + /** + * 系统汇款验证中,商户可发起提现尝试。 + */ + VERIFYING, + /** + * 系统成功汇款,该账户可正常发起提现。 + */ + VERIFY_SUCCESS, + /** + * 系统汇款失败,该账户无法发起提现,请检查修改。 + */ + VERIFY_FAIL, + ; } diff --git a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/enums/SubjectTypeEnum.java b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/enums/SubjectTypeEnum.java index c1555b7c5..7845c052c 100644 --- a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/enums/SubjectTypeEnum.java +++ b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/enums/SubjectTypeEnum.java @@ -5,24 +5,26 @@ package com.github.binarywang.wxpay.bean.applyment.enums; *
  *     商户申请接入时如何选择主体类型? https://kf.qq.com/faq/180910IBZVnQ180910naQ77b.html
  * 
+ * * @author zhouyongshen */ public enum SubjectTypeEnum { - /** - * (个体户):营业执照上的主体类型一般为个体户、个体工商户、个体经营; - */ - SUBJECT_TYPE_INDIVIDUAL, - /** - * (企业):营业执照上的主体类型一般为有限公司、有限责任公司; - */ - SUBJECT_TYPE_ENTERPRISE, - /** - * (党政、机关及事业单位):包括国内各级、各类政府机构、事业单位等(如:公安、党团、司法、交通、旅游、工商税务、市政、医疗、教育、学校等机构); - */ - SUBJECT_TYPE_INSTITUTIONS, - /** - * (其他组织):不属于企业、政府/事业单位的组织机构(如社会团体、民办非企业、基金会),要求机构已办理组织机构代码证。 - */ - SUBJECT_TYPE_OTHERS,; + /** + * (个体户):营业执照上的主体类型一般为个体户、个体工商户、个体经营; + */ + SUBJECT_TYPE_INDIVIDUAL, + /** + * (企业):营业执照上的主体类型一般为有限公司、有限责任公司; + */ + SUBJECT_TYPE_ENTERPRISE, + /** + * (党政、机关及事业单位):包括国内各级、各类政府机构、事业单位等(如:公安、党团、司法、交通、旅游、工商税务、市政、医疗、教育、学校等机构); + */ + SUBJECT_TYPE_INSTITUTIONS, + /** + * (其他组织):不属于企业、政府/事业单位的组织机构(如社会团体、民办非企业、基金会),要求机构已办理组织机构代码证。 + */ + SUBJECT_TYPE_OTHERS, + ; }