v20180523

package
v3.0.117+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const APIVersion = "2018-05-23"

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckVcodeRequest

type CheckVcodeRequest struct {
	*tchttp.BaseRequest

	// 模块名VerifyCode
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名CheckVcode
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 帐号ID
	AccountResId *string `json:"AccountResId,omitempty" name:"AccountResId"`

	// 合同ID
	ContractResId *string `json:"ContractResId,omitempty" name:"ContractResId"`

	// 验证码
	VerifyCode *string `json:"VerifyCode,omitempty" name:"VerifyCode"`
}

func NewCheckVcodeRequest

func NewCheckVcodeRequest() (request *CheckVcodeRequest)

func (*CheckVcodeRequest) FromJsonString

func (r *CheckVcodeRequest) FromJsonString(s string) error

func (*CheckVcodeRequest) ToJsonString

func (r *CheckVcodeRequest) ToJsonString() string

type CheckVcodeResponse

type CheckVcodeResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCheckVcodeResponse

func NewCheckVcodeResponse() (response *CheckVcodeResponse)

func (*CheckVcodeResponse) FromJsonString

func (r *CheckVcodeResponse) FromJsonString(s string) error

func (*CheckVcodeResponse) ToJsonString

func (r *CheckVcodeResponse) ToJsonString() string

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) CheckVcode

func (c *Client) CheckVcode(request *CheckVcodeRequest) (response *CheckVcodeResponse, err error)

检测验证码接口。此接口用于企业电子合同平台通过给用户发送短信验证码,以短信授权方式签署合同。此接口配合发送验证码接口使用。

用户在企业电子合同平台输入收到的验证码后,由企业电子合同平台调用该接口向腾讯云提交确认受托签署合同验证码命令。验证码验证正确时,本次合同签署的授权成功。

func (*Client) CreateContractByUpload

func (c *Client) CreateContractByUpload(request *CreateContractByUploadRequest) (response *CreateContractByUploadResponse, err error)

此接口适用于:客户平台通过上传PDF文件作为合同,以备未来进行签署。接口返回任务号,可调用DescribeTaskStatus接口查看任务执行结果。

func (*Client) CreateEnterpriseAccount

func (c *Client) CreateEnterpriseAccount(request *CreateEnterpriseAccountRequest) (response *CreateEnterpriseAccountResponse, err error)

为企业电子合同平台的最终企业用户进行开户。在企业电子合同平台进行操作的企业用户,企业电子合同平台向腾讯云发送企业用户的信息,提交开户命令。腾讯云接到请求后,自动为企业电子合同平台的企业用户生成一张数字证书。

func (*Client) CreatePersonalAccount

func (c *Client) CreatePersonalAccount(request *CreatePersonalAccountRequest) (response *CreatePersonalAccountResponse, err error)

为企业电子合同平台的最终个人用户进行开户。在企业电子合同平台进行操作的个人用户,企业电子合同平台向腾讯云发送个人用户的信息,提交开户命令。腾讯云接到请求后,自动为企业电子合同平台的个人用户生成一张数字证书。

func (*Client) CreateSeal

func (c *Client) CreateSeal(request *CreateSealRequest) (response *CreateSealResponse, err error)

此接口用于客户电子合同平台增加某用户的印章图片。客户平台可以调用此接口增加某用户的印章图片。

func (*Client) DeleteAccount

func (c *Client) DeleteAccount(request *DeleteAccountRequest) (response *DeleteAccountResponse, err error)

删除企业电子合同平台的最终用户。调用该接口后,腾讯云将删除该用户账号。删除账号后,已经签名的合同不受影响。

func (*Client) DeleteSeal

func (c *Client) DeleteSeal(request *DeleteSealRequest) (response *DeleteSealResponse, err error)

删除印章接口,删除指定账号的某个印章

func (*Client) DescribeTaskStatus

func (c *Client) DescribeTaskStatus(request *DescribeTaskStatusRequest) (response *DescribeTaskStatusResponse, err error)

接口使用于:客户平台可使用该接口查询任务执行状态或者执行结果

func (*Client) DownloadContract

func (c *Client) DownloadContract(request *DownloadContractRequest) (response *DownloadContractResponse, err error)

下载合同接口。调用该接口可以下载签署中和签署完成的合同。接口返回任务号,可调用DescribeTaskStatus接口查看任务执行结果。

func (*Client) SendVcode

func (c *Client) SendVcode(request *SendVcodeRequest) (response *SendVcodeResponse, err error)

发送验证码接口。此接口用于:企业电子合同平台需要腾讯云发送验证码对其用户进行验证时调用,腾讯云将向其用户联系手机(企业电子合同平台为用户开户时通过接口传入)发送验证码,以验证码授权方式签署合同。用户验证工作由企业电子合同平台自身完成。

func (*Client) SignContractByCoordinate

func (c *Client) SignContractByCoordinate(request *SignContractByCoordinateRequest) (response *SignContractByCoordinateResponse, err error)

此接口适用于:客户平台在创建好合同后,由合同签署方对创建的合同内容进行确认,无误后再进行签署。客户平台使用该接口提供详细的PDF文档签名坐标进行签署。

func (*Client) SignContractByKeyword

func (c *Client) SignContractByKeyword(request *SignContractByKeywordRequest) (response *SignContractByKeywordResponse, err error)

此接口适用于:客户平台在创建好合同后,由合同签署方对创建的合同内容进行确认,无误后再进行签署。客户平台使用该接口对PDF合同文档按照关键字和坐标进行签署。

type CreateContractByUploadRequest

type CreateContractByUploadRequest struct {
	*tchttp.BaseRequest

	// 模块名ContractMng
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名CreateContractByUpload
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 签署人信息
	SignInfos []*SignInfo `json:"SignInfos,omitempty" name:"SignInfos" list`

	// 合同上传链接地址
	ContractFile *string `json:"ContractFile,omitempty" name:"ContractFile"`

	// 合同名称
	ContractName *string `json:"ContractName,omitempty" name:"ContractName"`

	// 合同发起方帐号ID
	Initiator *string `json:"Initiator,omitempty" name:"Initiator"`

	// 备注
	Remarks *string `json:"Remarks,omitempty" name:"Remarks"`

	// 合同长时间未签署的过期时间
	ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"`
}

func NewCreateContractByUploadRequest

func NewCreateContractByUploadRequest() (request *CreateContractByUploadRequest)

func (*CreateContractByUploadRequest) FromJsonString

func (r *CreateContractByUploadRequest) FromJsonString(s string) error

func (*CreateContractByUploadRequest) ToJsonString

func (r *CreateContractByUploadRequest) ToJsonString() string

type CreateContractByUploadResponse

type CreateContractByUploadResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 任务ID
		TaskId *int64 `json:"TaskId,omitempty" name:"TaskId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateContractByUploadResponse

func NewCreateContractByUploadResponse() (response *CreateContractByUploadResponse)

func (*CreateContractByUploadResponse) FromJsonString

func (r *CreateContractByUploadResponse) FromJsonString(s string) error

func (*CreateContractByUploadResponse) ToJsonString

func (r *CreateContractByUploadResponse) ToJsonString() string

type CreateEnterpriseAccountRequest

type CreateEnterpriseAccountRequest struct {
	*tchttp.BaseRequest

	// 模块名AccountMng
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名CreateEnterpriseAccount
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 企业用户名称
	Name *string `json:"Name,omitempty" name:"Name"`

	// 企业用户证件类型,8代表营业执照,详情请见常见问题
	IdentType *int64 `json:"IdentType,omitempty" name:"IdentType"`

	// 企业用户营业执照号码
	IdentNo *string `json:"IdentNo,omitempty" name:"IdentNo"`

	// 企业联系人手机号
	MobilePhone *string `json:"MobilePhone,omitempty" name:"MobilePhone"`

	// 经办人姓名
	TransactorName *string `json:"TransactorName,omitempty" name:"TransactorName"`

	// 经办人证件类型,0代表身份证
	TransactorIdentType *int64 `json:"TransactorIdentType,omitempty" name:"TransactorIdentType"`

	// 经办人证件号码
	TransactorIdentNo *string `json:"TransactorIdentNo,omitempty" name:"TransactorIdentNo"`

	// 经办人手机号
	TransactorPhone *string `json:"TransactorPhone,omitempty" name:"TransactorPhone"`
}

func NewCreateEnterpriseAccountRequest

func NewCreateEnterpriseAccountRequest() (request *CreateEnterpriseAccountRequest)

func (*CreateEnterpriseAccountRequest) FromJsonString

func (r *CreateEnterpriseAccountRequest) FromJsonString(s string) error

func (*CreateEnterpriseAccountRequest) ToJsonString

func (r *CreateEnterpriseAccountRequest) ToJsonString() string

type CreateEnterpriseAccountResponse

type CreateEnterpriseAccountResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 帐号ID
		AccountResId *string `json:"AccountResId,omitempty" name:"AccountResId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateEnterpriseAccountResponse

func NewCreateEnterpriseAccountResponse() (response *CreateEnterpriseAccountResponse)

func (*CreateEnterpriseAccountResponse) FromJsonString

func (r *CreateEnterpriseAccountResponse) FromJsonString(s string) error

func (*CreateEnterpriseAccountResponse) ToJsonString

func (r *CreateEnterpriseAccountResponse) ToJsonString() string

type CreatePersonalAccountRequest

type CreatePersonalAccountRequest struct {
	*tchttp.BaseRequest

	// 模块名AccountMng
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名CreatePersonalAccount
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 个人用户姓名
	Name *string `json:"Name,omitempty" name:"Name"`

	// 个人用户证件类型,0代表身份证,详情请见常见问题
	IdentType *int64 `json:"IdentType,omitempty" name:"IdentType"`

	// 个人用户证件号码
	IdentNo *string `json:"IdentNo,omitempty" name:"IdentNo"`

	// 个人用户手机号
	MobilePhone *string `json:"MobilePhone,omitempty" name:"MobilePhone"`
}

func NewCreatePersonalAccountRequest

func NewCreatePersonalAccountRequest() (request *CreatePersonalAccountRequest)

func (*CreatePersonalAccountRequest) FromJsonString

func (r *CreatePersonalAccountRequest) FromJsonString(s string) error

func (*CreatePersonalAccountRequest) ToJsonString

func (r *CreatePersonalAccountRequest) ToJsonString() string

type CreatePersonalAccountResponse

type CreatePersonalAccountResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 账号ID
		AccountResId *string `json:"AccountResId,omitempty" name:"AccountResId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreatePersonalAccountResponse

func NewCreatePersonalAccountResponse() (response *CreatePersonalAccountResponse)

func (*CreatePersonalAccountResponse) FromJsonString

func (r *CreatePersonalAccountResponse) FromJsonString(s string) error

func (*CreatePersonalAccountResponse) ToJsonString

func (r *CreatePersonalAccountResponse) ToJsonString() string

type CreateSealRequest

type CreateSealRequest struct {
	*tchttp.BaseRequest

	// 模块名SealMng
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名CreateSeal
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 帐号ID
	AccountResId *string `json:"AccountResId,omitempty" name:"AccountResId"`

	// 签章链接,图片必须为png格式
	ImgUrl *string `json:"ImgUrl,omitempty" name:"ImgUrl"`

	// 图片数据,base64编码
	ImgData *string `json:"ImgData,omitempty" name:"ImgData"`
}

func NewCreateSealRequest

func NewCreateSealRequest() (request *CreateSealRequest)

func (*CreateSealRequest) FromJsonString

func (r *CreateSealRequest) FromJsonString(s string) error

func (*CreateSealRequest) ToJsonString

func (r *CreateSealRequest) ToJsonString() string

type CreateSealResponse

type CreateSealResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 签章ID
		SealResId *string `json:"SealResId,omitempty" name:"SealResId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateSealResponse

func NewCreateSealResponse() (response *CreateSealResponse)

func (*CreateSealResponse) FromJsonString

func (r *CreateSealResponse) FromJsonString(s string) error

func (*CreateSealResponse) ToJsonString

func (r *CreateSealResponse) ToJsonString() string

type DeleteAccountRequest

type DeleteAccountRequest struct {
	*tchttp.BaseRequest

	// 模块名AccountMng
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名DeleteAccount
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 帐号ID列表
	AccountList []*string `json:"AccountList,omitempty" name:"AccountList" list`
}

func NewDeleteAccountRequest

func NewDeleteAccountRequest() (request *DeleteAccountRequest)

func (*DeleteAccountRequest) FromJsonString

func (r *DeleteAccountRequest) FromJsonString(s string) error

func (*DeleteAccountRequest) ToJsonString

func (r *DeleteAccountRequest) ToJsonString() string

type DeleteAccountResponse

type DeleteAccountResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 删除成功帐号ID列表
		DelSuccessList []*string `json:"DelSuccessList,omitempty" name:"DelSuccessList" list`

		// 删除失败帐号ID列表
		DelFailedList []*string `json:"DelFailedList,omitempty" name:"DelFailedList" list`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteAccountResponse

func NewDeleteAccountResponse() (response *DeleteAccountResponse)

func (*DeleteAccountResponse) FromJsonString

func (r *DeleteAccountResponse) FromJsonString(s string) error

func (*DeleteAccountResponse) ToJsonString

func (r *DeleteAccountResponse) ToJsonString() string

type DeleteSealRequest

type DeleteSealRequest struct {
	*tchttp.BaseRequest

	// 模块名SealMng
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名DeleteSeal
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 帐号ID
	AccountResId *string `json:"AccountResId,omitempty" name:"AccountResId"`

	// 签章ID
	SealResId *string `json:"SealResId,omitempty" name:"SealResId"`
}

func NewDeleteSealRequest

func NewDeleteSealRequest() (request *DeleteSealRequest)

func (*DeleteSealRequest) FromJsonString

func (r *DeleteSealRequest) FromJsonString(s string) error

func (*DeleteSealRequest) ToJsonString

func (r *DeleteSealRequest) ToJsonString() string

type DeleteSealResponse

type DeleteSealResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 签章ID
		SealResId *string `json:"SealResId,omitempty" name:"SealResId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteSealResponse

func NewDeleteSealResponse() (response *DeleteSealResponse)

func (*DeleteSealResponse) FromJsonString

func (r *DeleteSealResponse) FromJsonString(s string) error

func (*DeleteSealResponse) ToJsonString

func (r *DeleteSealResponse) ToJsonString() string

type DescribeTaskStatusRequest

type DescribeTaskStatusRequest struct {
	*tchttp.BaseRequest

	// 模块名CommonMng
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名DescribeTaskStatus
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 任务ID
	TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"`
}

func NewDescribeTaskStatusRequest

func NewDescribeTaskStatusRequest() (request *DescribeTaskStatusRequest)

func (*DescribeTaskStatusRequest) FromJsonString

func (r *DescribeTaskStatusRequest) FromJsonString(s string) error

func (*DescribeTaskStatusRequest) ToJsonString

func (r *DescribeTaskStatusRequest) ToJsonString() string

type DescribeTaskStatusResponse

type DescribeTaskStatusResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 任务结果
		TaskResult *string `json:"TaskResult,omitempty" name:"TaskResult"`

		// 任务类型,010代表合同上传结果,020代表合同下载结果
		TaskType *string `json:"TaskType,omitempty" name:"TaskType"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeTaskStatusResponse

func NewDescribeTaskStatusResponse() (response *DescribeTaskStatusResponse)

func (*DescribeTaskStatusResponse) FromJsonString

func (r *DescribeTaskStatusResponse) FromJsonString(s string) error

func (*DescribeTaskStatusResponse) ToJsonString

func (r *DescribeTaskStatusResponse) ToJsonString() string

type DownloadContractRequest

type DownloadContractRequest struct {
	*tchttp.BaseRequest

	// 模块名ContractMng
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名DownloadContract
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 合同ID
	ContractResId *string `json:"ContractResId,omitempty" name:"ContractResId"`
}

func NewDownloadContractRequest

func NewDownloadContractRequest() (request *DownloadContractRequest)

func (*DownloadContractRequest) FromJsonString

func (r *DownloadContractRequest) FromJsonString(s string) error

func (*DownloadContractRequest) ToJsonString

func (r *DownloadContractRequest) ToJsonString() string

type DownloadContractResponse

type DownloadContractResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 任务ID
		TaskId *int64 `json:"TaskId,omitempty" name:"TaskId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDownloadContractResponse

func NewDownloadContractResponse() (response *DownloadContractResponse)

func (*DownloadContractResponse) FromJsonString

func (r *DownloadContractResponse) FromJsonString(s string) error

func (*DownloadContractResponse) ToJsonString

func (r *DownloadContractResponse) ToJsonString() string

type SendVcodeRequest

type SendVcodeRequest struct {
	*tchttp.BaseRequest

	// 模块名VerifyCode
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名SendVcode
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 合同ID
	ContractResId *string `json:"ContractResId,omitempty" name:"ContractResId"`

	// 帐号ID
	AccountResId *string `json:"AccountResId,omitempty" name:"AccountResId"`
}

func NewSendVcodeRequest

func NewSendVcodeRequest() (request *SendVcodeRequest)

func (*SendVcodeRequest) FromJsonString

func (r *SendVcodeRequest) FromJsonString(s string) error

func (*SendVcodeRequest) ToJsonString

func (r *SendVcodeRequest) ToJsonString() string

type SendVcodeResponse

type SendVcodeResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewSendVcodeResponse

func NewSendVcodeResponse() (response *SendVcodeResponse)

func (*SendVcodeResponse) FromJsonString

func (r *SendVcodeResponse) FromJsonString(s string) error

func (*SendVcodeResponse) ToJsonString

func (r *SendVcodeResponse) ToJsonString() string

type SignContractByCoordinateRequest

type SignContractByCoordinateRequest struct {
	*tchttp.BaseRequest

	// 模块名ContractMng
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名SignContractByCoordinate
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 合同ID
	ContractResId *string `json:"ContractResId,omitempty" name:"ContractResId"`

	// 帐户ID
	AccountResId *string `json:"AccountResId,omitempty" name:"AccountResId"`

	// 授权时间,格式为年月日时分秒,例20160801095509
	AuthorizationTime *string `json:"AuthorizationTime,omitempty" name:"AuthorizationTime"`

	// 授权IP地址
	Position *string `json:"Position,omitempty" name:"Position"`

	// 签署坐标,坐标原点在文件左下角,坐标单位为磅,坐标不得超过合同文件边界
	SignLocations []*SignLocation `json:"SignLocations,omitempty" name:"SignLocations" list`

	// 签章ID
	SealResId *string `json:"SealResId,omitempty" name:"SealResId"`

	// 选用证书类型:1  表示RSA证书, 2 表示国密证书, 参数不传时默认为1
	CertType *int64 `json:"CertType,omitempty" name:"CertType"`

	// 签名图片,base64编码
	ImageData *string `json:"ImageData,omitempty" name:"ImageData"`
}

func NewSignContractByCoordinateRequest

func NewSignContractByCoordinateRequest() (request *SignContractByCoordinateRequest)

func (*SignContractByCoordinateRequest) FromJsonString

func (r *SignContractByCoordinateRequest) FromJsonString(s string) error

func (*SignContractByCoordinateRequest) ToJsonString

func (r *SignContractByCoordinateRequest) ToJsonString() string

type SignContractByCoordinateResponse

type SignContractByCoordinateResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewSignContractByCoordinateResponse

func NewSignContractByCoordinateResponse() (response *SignContractByCoordinateResponse)

func (*SignContractByCoordinateResponse) FromJsonString

func (r *SignContractByCoordinateResponse) FromJsonString(s string) error

func (*SignContractByCoordinateResponse) ToJsonString

func (r *SignContractByCoordinateResponse) ToJsonString() string

type SignContractByKeywordRequest

type SignContractByKeywordRequest struct {
	*tchttp.BaseRequest

	// 模块名ContractMng
	Module *string `json:"Module,omitempty" name:"Module"`

	// 操作名SignContractByKeyword
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 合同ID
	ContractResId *string `json:"ContractResId,omitempty" name:"ContractResId"`

	// 账户ID
	AccountResId *string `json:"AccountResId,omitempty" name:"AccountResId"`

	// 授权时间,格式为年月日时分秒,例20160801095509
	AuthorizationTime *string `json:"AuthorizationTime,omitempty" name:"AuthorizationTime"`

	// 授权IP地址
	Position *string `json:"Position,omitempty" name:"Position"`

	// 签署关键字,偏移坐标原点为关键字中心
	SignKeyword *SignKeyword `json:"SignKeyword,omitempty" name:"SignKeyword"`

	// 签章ID
	SealResId *string `json:"SealResId,omitempty" name:"SealResId"`

	// 选用证书类型:1  表示RSA证书, 2 表示国密证书, 参数不传时默认为1
	CertType *int64 `json:"CertType,omitempty" name:"CertType"`

	// 签名图片,base64编码
	ImageData *string `json:"ImageData,omitempty" name:"ImageData"`
}

func NewSignContractByKeywordRequest

func NewSignContractByKeywordRequest() (request *SignContractByKeywordRequest)

func (*SignContractByKeywordRequest) FromJsonString

func (r *SignContractByKeywordRequest) FromJsonString(s string) error

func (*SignContractByKeywordRequest) ToJsonString

func (r *SignContractByKeywordRequest) ToJsonString() string

type SignContractByKeywordResponse

type SignContractByKeywordResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewSignContractByKeywordResponse

func NewSignContractByKeywordResponse() (response *SignContractByKeywordResponse)

func (*SignContractByKeywordResponse) FromJsonString

func (r *SignContractByKeywordResponse) FromJsonString(s string) error

func (*SignContractByKeywordResponse) ToJsonString

func (r *SignContractByKeywordResponse) ToJsonString() string

type SignInfo

type SignInfo struct {

	// 账户ID
	AccountResId *string `json:"AccountResId,omitempty" name:"AccountResId"`

	// 授权时间,格式为年月日时分秒,例20160801095509
	AuthorizationTime *string `json:"AuthorizationTime,omitempty" name:"AuthorizationTime"`

	// 授权IP地址
	Location *string `json:"Location,omitempty" name:"Location"`

	// 签章ID
	SealId *string `json:"SealId,omitempty" name:"SealId"`

	// 签名图片,优先级比SealId高
	ImageData *string `json:"ImageData,omitempty" name:"ImageData"`

	// 默认值:1  表示RSA证书, 2 表示国密证书, 参数不传时默认为1
	CertType *int64 `json:"CertType,omitempty" name:"CertType"`

	// 签名域的标签值
	SignLocation *string `json:"SignLocation,omitempty" name:"SignLocation"`
}

type SignKeyword

type SignKeyword struct {

	// 关键字
	Keyword *string `json:"Keyword,omitempty" name:"Keyword"`

	// X轴偏移坐标
	OffsetCoordX *string `json:"OffsetCoordX,omitempty" name:"OffsetCoordX"`

	// Y轴偏移坐标
	OffsetCoordY *string `json:"OffsetCoordY,omitempty" name:"OffsetCoordY"`

	// 签章图片宽度
	ImageWidth *string `json:"ImageWidth,omitempty" name:"ImageWidth"`

	// 签章图片高度
	ImageHeight *string `json:"ImageHeight,omitempty" name:"ImageHeight"`
}

type SignLocation

type SignLocation struct {

	// 签名域页数
	SignOnPage *string `json:"SignOnPage,omitempty" name:"SignOnPage"`

	// 签名域左下角X轴坐标轴
	SignLocationLBX *string `json:"SignLocationLBX,omitempty" name:"SignLocationLBX"`

	// 签名域左下角Y轴坐标轴
	SignLocationLBY *string `json:"SignLocationLBY,omitempty" name:"SignLocationLBY"`

	// 签名域右上角X轴坐标轴
	SignLocationRUX *string `json:"SignLocationRUX,omitempty" name:"SignLocationRUX"`

	// 签名域右上角Y轴坐标轴
	SignLocationRUY *string `json:"SignLocationRUY,omitempty" name:"SignLocationRUY"`
}

Jump to

Keyboard shortcuts

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