models

package
v1.58.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2022 License: Apache-2.0 Imports: 0 Imported by: 10 modules, 9 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountInfo

type AccountInfo struct {

	/* 机构名称  */
	OrgName string `json:"orgName"`

	/* 企业银行账户  */
	BankCardNum string `json:"bankCardNum"`

	/* 企业手机号 (Optional) */
	Mobile *string `json:"mobile"`

	/* 银行名称  */
	BankName string `json:"bankName"`

	/* 开户行所在分行网点名称  */
	BranchBankName string `json:"branchBankName"`

	/* 开户行所在的银行编码 (Optional) */
	BankCode *string `json:"bankCode"`

	/* 开户行所在的城市编码 (Optional) */
	CityCode *string `json:"cityCode"`

	/* 开户行所在的省份编码 (Optional) */
	ProvinceCode *string `json:"provinceCode"`
}

type AgentSpec

type AgentSpec struct {

	/* 企业类型:
	0: 企业(ET_PE_QiYe)
	1: 个体工商户(ET_SE_GeTiGongShangHu)
	2: 政府机构/事业单位(ET_OU_ZhengFu_ShiYeDanWei)
	*/
	CompanyType int `json:"companyType"`

	/* 企业名称  */
	CompanyName string `json:"companyName"`

	/* 统一社会信用代码或营业执照注册号  */
	IdCode string `json:"idCode"`

	/* 代理人姓名  */
	AgentName string `json:"agentName"`

	/* 代理人身份证号  */
	AgentId string `json:"agentId"`
}

type AuthDetail

type AuthDetail struct {

	/* 返回信息描述  */
	Message string `json:"message"`

	/* 业务流水号  */
	OrderNumber string `json:"orderNumber"`
}

type AuthInfo

type AuthInfo struct {

	/* 认证结果true 成功, false 失败  */
	Success bool `json:"success"`

	/* 是否有异常 true 有异常, false 无异常  */
	HasException bool `json:"hasException"`

	/* 认证结果状态码  */
	Code string `json:"code"`

	/* 1. 认证结果信息
	2. 查询结果信息
	3. 状态码信息
	*/
	Message string `json:"message"`

	/* 1. 认证结果信息
	2. 查询结果信息
	*/
	Detail string `json:"detail"`
}

type AuthItem

type AuthItem struct {

	/* 13位时间戳 (Optional) */
	Time string `json:"time"`

	/* 认证次数 (Optional) */
	Value int `json:"value"`
}

type CheckInfo

type CheckInfo struct {

	/* 金额  */
	PaymentAmount string `json:"paymentAmount"`

	/* 订单号  */
	OrderNumber string `json:"orderNumber"`
}

type CompanyInfo

type CompanyInfo struct {

	/* 企业类型:
	0: 企业(ET_PE_QiYe)
	1: 个体工商户(ET_SE_GeTiGongShangHu)
	2: 政府机构/事业单位(ET_OU_ZhengFu_ShiYeDanWei)
	*/
	CompanyType int `json:"companyType"`

	/* 企业名称  */
	CompanyName string `json:"companyName"`

	/* 统一社会信用代码或营业执照注册号  */
	IdCode string `json:"idCode"`

	/* 组织机构代码 (Optional) */
	OrgCode *string `json:"orgCode"`
}

type LegalPersonAndAgentSpec

type LegalPersonAndAgentSpec struct {

	/* 企业类型:
	0: 企业(ET_PE_QiYe)
	1: 个体工商户(ET_SE_GeTiGongShangHu)
	2: 政府机构/事业单位(ET_OU_ZhengFu_ShiYeDanWei)
	*/
	CompanyType int `json:"companyType"`

	/* 企业名称  */
	CompanyName string `json:"companyName"`

	/* 统一社会信用代码或营业执照注册号  */
	IdCode string `json:"idCode"`

	/* 法定代表人姓名  */
	LegalPersonName string `json:"legalPersonName"`

	/* 法定代表人身份证号  */
	LegalPersonId string `json:"legalPersonId"`

	/* 代理人姓名  */
	AgentName string `json:"agentName"`

	/* 代理人身份证号  */
	AgentId string `json:"agentId"`
}

type LegalPersonSpec

type LegalPersonSpec struct {

	/* 企业类型:
	0: 企业(ET_PE_QiYe)
	1: 个体工商户(ET_SE_GeTiGongShangHu)
	2: 政府机构/事业单位(ET_OU_ZhengFu_ShiYeDanWei)
	*/
	CompanyType int `json:"companyType"`

	/* 企业名称  */
	CompanyName string `json:"companyName"`

	/* 统一社会信用代码或营业执照注册号  */
	IdCode string `json:"idCode"`

	/* 法定代表人姓名  */
	LegalPersonName string `json:"legalPersonName"`

	/* 法定代表人身份证号  */
	LegalPersonId string `json:"legalPersonId"`
}

type PersonalSpec

type PersonalSpec struct {

	/* 认证方式(0 银行卡四要素,1 银行卡三要素,2 姓名身份证二要素,3 人像三要素,4 手机号三要素)
	选择其中一种方式,对应的参数则为必传项
	0 提交姓名、身份证号、银行卡号、手机号,与在银行开户时预留的信息比对
	1 提交姓名、身份证号、银行卡号,与在银行开户时预留的信息比对
	2 提交姓名、身份证号,与公安身份证信息比对
	3 提交姓名、银行卡号、人像图片,与在运营商开户留的信息比对
	4 提交姓名、身份证号、手机号,与在运营商开户留的信息比对
	*/
	CheckType int `json:"checkType"`

	/* 个人认证要素信息  */
	PersonalUser *PersonalUser `json:"personalUser"`
}

type PersonalUser

type PersonalUser struct {

	/* 姓名  */
	Name string `json:"name"`

	/* 身份证号码 (Optional) */
	IdCard *string `json:"idCard"`

	/* 银行卡号 (Optional) */
	Bankcard *string `json:"bankcard"`

	/* 手机号 (Optional) */
	Mobile *string `json:"mobile"`

	/* 人像图片 (Optional) */
	ImgBase64 *string `json:"imgBase64"`
}

type StatisticInfo

type StatisticInfo struct {

	/* 认证次数统计[24小时,7天,30天] (Optional) */
	PerAuthStatistic []AuthItem `json:"perAuthStatistic"`

	/* 认证次数统计[24小时,7天,30天] (Optional) */
	ComAuthStatistic []AuthItem `json:"comAuthStatistic"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL