models

package
v1.41.0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2020 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 ComStamp

type ComStamp struct {

	/* 盖章类型(0 坐标 1 关键字) (Optional) */
	SignPositionType *int `json:"signPositionType"`

	/* 盖章关键字(与坐标二选一) (Optional) */
	Keyword *string `json:"keyword"`

	/* 盖章X坐标(与关键字二选一) (Optional) */
	PositionX *int `json:"positionX"`

	/* 盖章Y坐标(与关键字二选一) (Optional) */
	PositionY *int `json:"positionY"`

	/* 盖章X坐标偏移量(配合positionX) (Optional) */
	OffsetX *int `json:"offsetX"`

	/* 盖章Y坐标偏移量(配合positionY) (Optional) */
	OffsetY *int `json:"offsetY"`

	/* 盖章页码(选择坐标盖章时需要) (Optional) */
	Page *int `json:"page"`

	/* 印章名称,必须和imageB64同时非空 (Optional) */
	SealName *string `json:"sealName"`

	/* 印章图像base64(与stampId二选一) (Optional) */
	ImageB64 *string `json:"imageB64"`

	/* 印章ID(与imageB64二选一) (Optional) */
	StampId *string `json:"stampId"`

	/* 印章描述 (Optional) */
	Desc *string `json:"desc"`

	/* 是否作为以后签章默认章 (Optional) */
	IsDefault *bool `json:"isDefault"`

	/* 图片类型,只支持png格式 (Optional) */
	ImageType *string `json:"imageType"`

	/* 图片大小,高度*宽度 (Optional) */
	ImageSize *int `json:"imageSize"`

	/* 图片高度 (Optional) */
	ImageHeight *int `json:"imageHeight"`

	/* 图片宽度 (Optional) */
	ImageWidth *int `json:"imageWidth"`

	/* 公司名称 (Optional) */
	OrgName *string `json:"orgName"`

	/* 法人姓名 (Optional) */
	LegalPersonName *string `json:"legalPersonName"`

	/* 代办人姓名 (Optional) */
	TransactorName *string `json:"transactorName"`

	/* 代办人身份证号码 (Optional) */
	TransactorIdCardNum *string `json:"transactorIdCardNum"`

	/* 代办人手机号 (Optional) */
	TransactorMobile *string `json:"transactorMobile"`

	/* 标记字段 - usci(统一社会信用码) orgCode(组织机构代码) businessNum (工商营业执照号) (Optional) */
	IdentifyType *string `json:"identifyType"`

	/* 标记值 (Optional) */
	IdentifyValue *string `json:"identifyValue"`
}

type ContractInfo

type ContractInfo struct {

	/* 合同ID (Optional) */
	ContractId string `json:"contractId"`

	/* 合同标题 (Optional) */
	ContractTitle string `json:"contractTitle"`

	/* 印章名称(可能有多个印章) (Optional) */
	StampNames []string `json:"stampNames"`

	/* 合同文件(base64) (Optional) */
	ContractContent string `json:"contractContent"`

	/* 合同文件摘要 (Optional) */
	ContractDigest string `json:"contractDigest"`

	/* 合同签章时间 (Optional) */
	CreateTime string `json:"createTime"`
}

type ContractSpec

type ContractSpec struct {

	/* 个人用户盖章信息 (Optional) */
	PersonStamps []PerStamp `json:"personStamps"`

	/* 企业用户盖章信息 (Optional) */
	CompanyStamps []ComStamp `json:"companyStamps"`

	/* 合同文件(base64) (Optional) */
	ContractContent *string `json:"contractContent"`

	/* 合同模板文件(base64) (Optional) */
	TemplateContent *string `json:"templateContent"`

	/* 合同模板文件ID (Optional) */
	TemplateId *string `json:"templateId"`

	/* 合同标题或名称 (Optional) */
	ContractTitle *string `json:"contractTitle"`

	/* 证书类型 (Optional) */
	CaType *string `json:"caType"`
}

type ContractVerifySpec

type ContractVerifySpec struct {

	/* 合同文件(base64) (Optional) */
	ContractContent *string `json:"contractContent"`

	/* 是否验证证书链 (Optional) */
	CheckCertChain *bool `json:"checkCertChain"`
}

type PerStamp

type PerStamp struct {

	/* 盖章类型(0 坐标 1 关键字) (Optional) */
	SignPositionType *int `json:"signPositionType"`

	/* 盖章关键字(与坐标二选一) (Optional) */
	Keyword *string `json:"keyword"`

	/* 盖章X坐标(与关键字二选一) (Optional) */
	PositionX *int `json:"positionX"`

	/* 盖章Y坐标(与关键字二选一) (Optional) */
	PositionY *int `json:"positionY"`

	/* 盖章X坐标偏移量(配合positionX) (Optional) */
	OffsetX *int `json:"offsetX"`

	/* 盖章Y坐标偏移量(配合positionY) (Optional) */
	OffsetY *int `json:"offsetY"`

	/* 盖章页码(选择坐标盖章时需要) (Optional) */
	Page *int `json:"page"`

	/* 印章名称,必须和imageB64同时非空 (Optional) */
	SealName *string `json:"sealName"`

	/* 印章图像base64(与stampId二选一) (Optional) */
	ImageB64 *string `json:"imageB64"`

	/* 印章ID(与imageB64二选一) (Optional) */
	StampId *string `json:"stampId"`

	/* 印章描述 (Optional) */
	Desc *string `json:"desc"`

	/* 是否作为以后签章默认章 (Optional) */
	IsDefault *bool `json:"isDefault"`

	/* 图片类型,只支持png格式 (Optional) */
	ImageType *string `json:"imageType"`

	/* 图片大小,高度*宽度 (Optional) */
	ImageSize *int `json:"imageSize"`

	/* 图片高度 (Optional) */
	ImageHeight *int `json:"imageHeight"`

	/* 图片宽度 (Optional) */
	ImageWidth *int `json:"imageWidth"`

	/* 姓名 (Optional) */
	PersonalName *string `json:"personalName"`

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

	/* 标记字段 - idCardNum(身份证) passportNum(护照) mtpNum(港澳通行证) (Optional) */
	IdentifyType *string `json:"identifyType"`

	/* 标记值 (Optional) */
	IdentifyValue *string `json:"identifyValue"`
}

type SignItem

type SignItem struct {

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

	/* 签章次数 (Optional) */
	Value int `json:"value"`
}

type StampInfo

type StampInfo struct {

	/* 印章ID (Optional) */
	StampId string `json:"stampId"`

	/* 印章名称 (Optional) */
	StampName string `json:"stampName"`

	/* 印章图片(base64) (Optional) */
	StampContent string `json:"stampContent"`

	/* 印章摘要 (Optional) */
	StampDigest string `json:"stampDigest"`

	/* 印章上传时间 (Optional) */
	CreateTime string `json:"createTime"`
}

type StampResult

type StampResult struct {

	/* 验证结果 (Optional) */
	Verified bool `json:"verified"`

	/* 时间戳 (Optional) */
	Timestamp string `json:"timestamp"`

	/* 签名算法信息 (Optional) */
	Algorithm string `json:"algorithm"`

	/* 证书信息 (Optional) */
	CertInfo string `json:"certInfo"`

	/* 是否验证根证书 (Optional) */
	ChainRootVerified bool `json:"chainRootVerified"`

	/* 子类型 (Optional) */
	SubType string `json:"subType"`
}

type StampSpec

type StampSpec struct {

	/* 印章图片(base64) (Optional) */
	StampContent *string `json:"stampContent"`

	/* 印章名称 (Optional) */
	StampName *string `json:"stampName"`
}

type StatisticsInfo

type StatisticsInfo struct {

	/* 已签合同数量 (Optional) */
	ContractNumber int `json:"contractNumber"`

	/* 印章数量 (Optional) */
	StampNumber int `json:"stampNumber"`

	/* 合同模板数量 (Optional) */
	TemplateNumber int `json:"templateNumber"`

	/* 是否启用存管 (Optional) */
	ContractSave bool `json:"contractSave"`

	/* 已用存储空间容量(单位:MB) (Optional) */
	UsedSpace int `json:"usedSpace"`

	/* 签章系统加密密钥ID (Optional) */
	KmsKeyId string `json:"kmsKeyId"`

	/* 签章次数统计[24小时,7天,30天] (Optional) */
	SignStatistic []SignItem `json:"signStatistic"`
}

type TemplateInfo

type TemplateInfo struct {

	/* 合同模板ID (Optional) */
	TemplateId string `json:"templateId"`

	/* 合同模板名称 (Optional) */
	TemplateName string `json:"templateName"`

	/* 合同模板标题 (Optional) */
	TemplateTitle string `json:"templateTitle"`

	/* 合同模板文件名称 (Optional) */
	TemplateFileName string `json:"templateFileName"`

	/* 合同模板文件(base64) (Optional) */
	TemplateContent string `json:"templateContent"`

	/* 合同模板文件摘要 (Optional) */
	TemplateDigest string `json:"templateDigest"`

	/* 创建时间 (Optional) */
	CreateTime string `json:"createTime"`
}

type TemplateSpec

type TemplateSpec struct {

	/* 合同模板文件(base64) (Optional) */
	TemplateContent *string `json:"templateContent"`

	/* 合同模板名称 (Optional) */
	TemplateName *string `json:"templateName"`

	/* 合同模板标题 (Optional) */
	TemplateTitle *string `json:"templateTitle"`
}

type VerifyInfo

type VerifyInfo struct {

	/* 验签是否成功,true 成功 false 失败 (Optional) */
	Success bool `json:"success"`

	/* 验证消息 (Optional) */
	Message string `json:"message"`

	/* 签章验证列表 (Optional) */
	Results []StampResult `json:"results"`
}

Jump to

Keyboard shortcuts

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