models

package
v1.33.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

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"`

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

	/* 银行卡号  */
	BankCardNum string `json:"bankCardNum"`

	/* 银行名称  */
	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"`

	/* 认证结果  */
	Message string `json:"message"`

	/*   */
	Detail AuthDetail `json:"detail"`
}

type AuthItem

type AuthItem struct {

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

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

type CheckInfo

type CheckInfo struct {

	/* 金额  */
	PaymentAmount float32 `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"`

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

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

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

	/* 人像图片  */
	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