Class: TencentCloud::Essbasic::V20201222::SignSeal

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20201222/models.rb

Overview

此结构体 (SignSeal) 用于描述签名/印章信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(componentid = nil, signtype = nil, fileindex = nil, sealid = nil, sealcontent = nil) ⇒ SignSeal

Returns a new instance of SignSeal.



4063
4064
4065
4066
4067
4068
4069
# File 'lib/v20201222/models.rb', line 4063

def initialize(componentid=nil, signtype=nil, fileindex=nil, sealid=nil, sealcontent=nil)
  @ComponentId = componentid
  @SignType = signtype
  @FileIndex = fileindex
  @SealId = sealid
  @SealContent = sealcontent
end

Instance Attribute Details

#ComponentIdObject

SIGN_SIGNATURE - 签名 SIGN_SEAL - 印章 SIGN_DATE - 日期 SIGN_IMAGE - 图片

Parameters:

  • ComponentId:

    签署控件ID

  • SignType:

    签署印章类型:

  • FileIndex:

    合同文件ID

  • SealId:

    印章ID,仅当 SignType 为 SIGN_SEAL 时必填

  • SealContent:

    签名内容,仅当 SignType 为SIGN_SIGNATURE或SIGN_IMAGE 时必填,base64编码



4061
4062
4063
# File 'lib/v20201222/models.rb', line 4061

def ComponentId
  @ComponentId
end

#FileIndexObject

SIGN_SIGNATURE - 签名 SIGN_SEAL - 印章 SIGN_DATE - 日期 SIGN_IMAGE - 图片

Parameters:

  • ComponentId:

    签署控件ID

  • SignType:

    签署印章类型:

  • FileIndex:

    合同文件ID

  • SealId:

    印章ID,仅当 SignType 为 SIGN_SEAL 时必填

  • SealContent:

    签名内容,仅当 SignType 为SIGN_SIGNATURE或SIGN_IMAGE 时必填,base64编码



4061
4062
4063
# File 'lib/v20201222/models.rb', line 4061

def FileIndex
  @FileIndex
end

#SealContentObject

SIGN_SIGNATURE - 签名 SIGN_SEAL - 印章 SIGN_DATE - 日期 SIGN_IMAGE - 图片

Parameters:

  • ComponentId:

    签署控件ID

  • SignType:

    签署印章类型:

  • FileIndex:

    合同文件ID

  • SealId:

    印章ID,仅当 SignType 为 SIGN_SEAL 时必填

  • SealContent:

    签名内容,仅当 SignType 为SIGN_SIGNATURE或SIGN_IMAGE 时必填,base64编码



4061
4062
4063
# File 'lib/v20201222/models.rb', line 4061

def SealContent
  @SealContent
end

#SealIdObject

SIGN_SIGNATURE - 签名 SIGN_SEAL - 印章 SIGN_DATE - 日期 SIGN_IMAGE - 图片

Parameters:

  • ComponentId:

    签署控件ID

  • SignType:

    签署印章类型:

  • FileIndex:

    合同文件ID

  • SealId:

    印章ID,仅当 SignType 为 SIGN_SEAL 时必填

  • SealContent:

    签名内容,仅当 SignType 为SIGN_SIGNATURE或SIGN_IMAGE 时必填,base64编码



4061
4062
4063
# File 'lib/v20201222/models.rb', line 4061

def SealId
  @SealId
end

#SignTypeObject

SIGN_SIGNATURE - 签名 SIGN_SEAL - 印章 SIGN_DATE - 日期 SIGN_IMAGE - 图片

Parameters:

  • ComponentId:

    签署控件ID

  • SignType:

    签署印章类型:

  • FileIndex:

    合同文件ID

  • SealId:

    印章ID,仅当 SignType 为 SIGN_SEAL 时必填

  • SealContent:

    签名内容,仅当 SignType 为SIGN_SIGNATURE或SIGN_IMAGE 时必填,base64编码



4061
4062
4063
# File 'lib/v20201222/models.rb', line 4061

def SignType
  @SignType
end

Instance Method Details

#deserialize(params) ⇒ Object



4071
4072
4073
4074
4075
4076
4077
# File 'lib/v20201222/models.rb', line 4071

def deserialize(params)
  @ComponentId = params['ComponentId']
  @SignType = params['SignType']
  @FileIndex = params['FileIndex']
  @SealId = params['SealId']
  @SealContent = params['SealContent']
end