Documentation ¶
Index ¶
- type CloudsignClient
- func (c *CloudsignClient) DeleteContract(request *cloudsign.DeleteContractRequest) (*cloudsign.DeleteContractResponse, error)
- func (c *CloudsignClient) DeleteStamp(request *cloudsign.DeleteStampRequest) (*cloudsign.DeleteStampResponse, error)
- func (c *CloudsignClient) DeleteTemplate(request *cloudsign.DeleteTemplateRequest) (*cloudsign.DeleteTemplateResponse, error)
- func (c *CloudsignClient) DescribeApplyStatus(request *cloudsign.DescribeApplyStatusRequest) (*cloudsign.DescribeApplyStatusResponse, error)
- func (c *CloudsignClient) DescribeContractList(request *cloudsign.DescribeContractListRequest) (*cloudsign.DescribeContractListResponse, error)
- func (c *CloudsignClient) DescribeStampList(request *cloudsign.DescribeStampListRequest) (*cloudsign.DescribeStampListResponse, error)
- func (c *CloudsignClient) DescribeTemplateList(request *cloudsign.DescribeTemplateListRequest) (*cloudsign.DescribeTemplateListResponse, error)
- func (c *CloudsignClient) DisableContractSave(request *cloudsign.DisableContractSaveRequest) (*cloudsign.DisableContractSaveResponse, error)
- func (c *CloudsignClient) DisableLogger()
- func (c *CloudsignClient) DownloadContracts(request *cloudsign.DownloadContractsRequest) (*cloudsign.DownloadContractsResponse, error)
- func (c *CloudsignClient) DownloadStamps(request *cloudsign.DownloadStampsRequest) (*cloudsign.DownloadStampsResponse, error)
- func (c *CloudsignClient) DownloadTemplates(request *cloudsign.DownloadTemplatesRequest) (*cloudsign.DownloadTemplatesResponse, error)
- func (c *CloudsignClient) EnableContractSave(request *cloudsign.EnableContractSaveRequest) (*cloudsign.EnableContractSaveResponse, error)
- func (c *CloudsignClient) PaddingTemplate(request *cloudsign.PaddingTemplateRequest) (*cloudsign.PaddingTemplateResponse, error)
- func (c *CloudsignClient) SetConfig(config *core.Config)
- func (c *CloudsignClient) SetKmsKeyId(request *cloudsign.SetKmsKeyIdRequest) (*cloudsign.SetKmsKeyIdResponse, error)
- func (c *CloudsignClient) SetLogger(logger core.Logger)
- func (c *CloudsignClient) SignContract(request *cloudsign.SignContractRequest) (*cloudsign.SignContractResponse, error)
- func (c *CloudsignClient) UploadStamp(request *cloudsign.UploadStampRequest) (*cloudsign.UploadStampResponse, error)
- func (c *CloudsignClient) UploadTemplate(request *cloudsign.UploadTemplateRequest) (*cloudsign.UploadTemplateResponse, error)
- func (c *CloudsignClient) VerifyContract(request *cloudsign.VerifyContractRequest) (*cloudsign.VerifyContractResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudsignClient ¶
type CloudsignClient struct {
core.JDCloudClient
}
func NewCloudsignClient ¶
func NewCloudsignClient(credential *core.Credential) *CloudsignClient
func (*CloudsignClient) DeleteContract ¶
func (c *CloudsignClient) DeleteContract(request *cloudsign.DeleteContractRequest) (*cloudsign.DeleteContractResponse, error)
删除已签章的合同 [MFA enabled]
func (*CloudsignClient) DeleteStamp ¶
func (c *CloudsignClient) DeleteStamp(request *cloudsign.DeleteStampRequest) (*cloudsign.DeleteStampResponse, error)
删除印章 [MFA enabled]
func (*CloudsignClient) DeleteTemplate ¶
func (c *CloudsignClient) DeleteTemplate(request *cloudsign.DeleteTemplateRequest) (*cloudsign.DeleteTemplateResponse, error)
删除合同模板 [MFA enabled]
func (*CloudsignClient) DescribeApplyStatus ¶
func (c *CloudsignClient) DescribeApplyStatus(request *cloudsign.DescribeApplyStatusRequest) (*cloudsign.DescribeApplyStatusResponse, error)
查询服务开通状态
func (*CloudsignClient) DescribeContractList ¶
func (c *CloudsignClient) DescribeContractList(request *cloudsign.DescribeContractListRequest) (*cloudsign.DescribeContractListResponse, error)
获取已签章合同列表
func (*CloudsignClient) DescribeStampList ¶
func (c *CloudsignClient) DescribeStampList(request *cloudsign.DescribeStampListRequest) (*cloudsign.DescribeStampListResponse, error)
获取印章列表
func (*CloudsignClient) DescribeTemplateList ¶
func (c *CloudsignClient) DescribeTemplateList(request *cloudsign.DescribeTemplateListRequest) (*cloudsign.DescribeTemplateListResponse, error)
获取合同模板列表
func (*CloudsignClient) DisableContractSave ¶
func (c *CloudsignClient) DisableContractSave(request *cloudsign.DisableContractSaveRequest) (*cloudsign.DisableContractSaveResponse, error)
禁用合同存管
func (*CloudsignClient) DisableLogger ¶
func (c *CloudsignClient) DisableLogger()
func (*CloudsignClient) DownloadContracts ¶
func (c *CloudsignClient) DownloadContracts(request *cloudsign.DownloadContractsRequest) (*cloudsign.DownloadContractsResponse, error)
- 下载已签章的合同
- 多个合同id用逗号分隔 [MFA enabled]
func (*CloudsignClient) DownloadStamps ¶
func (c *CloudsignClient) DownloadStamps(request *cloudsign.DownloadStampsRequest) (*cloudsign.DownloadStampsResponse, error)
- 下载印章
- 多个印章id用逗号分隔 [MFA enabled]
func (*CloudsignClient) DownloadTemplates ¶
func (c *CloudsignClient) DownloadTemplates(request *cloudsign.DownloadTemplatesRequest) (*cloudsign.DownloadTemplatesResponse, error)
- 下载合同模板
- 多个合同id用逗号分隔 [MFA enabled]
func (*CloudsignClient) EnableContractSave ¶
func (c *CloudsignClient) EnableContractSave(request *cloudsign.EnableContractSaveRequest) (*cloudsign.EnableContractSaveResponse, error)
启用合同存管
func (*CloudsignClient) PaddingTemplate ¶ added in v1.42.0
func (c *CloudsignClient) PaddingTemplate(request *cloudsign.PaddingTemplateRequest) (*cloudsign.PaddingTemplateResponse, error)
填充合同模板
func (*CloudsignClient) SetConfig ¶
func (c *CloudsignClient) SetConfig(config *core.Config)
func (*CloudsignClient) SetKmsKeyId ¶
func (c *CloudsignClient) SetKmsKeyId(request *cloudsign.SetKmsKeyIdRequest) (*cloudsign.SetKmsKeyIdResponse, error)
签章系统加密密钥 [MFA enabled]
func (*CloudsignClient) SetLogger ¶
func (c *CloudsignClient) SetLogger(logger core.Logger)
func (*CloudsignClient) SignContract ¶
func (c *CloudsignClient) SignContract(request *cloudsign.SignContractRequest) (*cloudsign.SignContractResponse, error)
合同签章四种方式:
1. 合同文件 + 印章文件:contractContent + stampContent 2. 合同文件 + 印章ID:contractContent + stampId 3. 模板ID + 印章文件:templateId + stampContent 4. 模板ID + 印章ID:templateId + stampId
func (*CloudsignClient) UploadStamp ¶
func (c *CloudsignClient) UploadStamp(request *cloudsign.UploadStampRequest) (*cloudsign.UploadStampResponse, error)
上传印章
func (*CloudsignClient) UploadTemplate ¶
func (c *CloudsignClient) UploadTemplate(request *cloudsign.UploadTemplateRequest) (*cloudsign.UploadTemplateResponse, error)
上传合同模板
func (*CloudsignClient) VerifyContract ¶
func (c *CloudsignClient) VerifyContract(request *cloudsign.VerifyContractRequest) (*cloudsign.VerifyContractResponse, error)
验签已签章合同
Click to show internal directories.
Click to hide internal directories.