Class: TencentCloud::Ocr::V20181119::FinanBillSliceInfo

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

Overview

金融票据切片识别单个字段的内容

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, value = nil) ⇒ FinanBillSliceInfo

Returns a new instance of FinanBillSliceInfo.



2848
2849
2850
2851
# File 'lib/v20181119/models.rb', line 2848

def initialize(name=nil, value=nil)
  @Name = name
  @Value = value
end

Instance Attribute Details

#NameObject

大写金额、小写金额、账号、票号1、票号2、收款人、大写日期、同城交换号、地址-省份、地址-城市、付款行全称、支票密码、支票用途。

Parameters:

  • Name:

    识别出的字段名称(关键字),支持以下字段:

  • Value:

    识别出的字段名称对应的值,也就是字段Name对应的字符串结果。



2846
2847
2848
# File 'lib/v20181119/models.rb', line 2846

def Name
  @Name
end

#ValueObject

大写金额、小写金额、账号、票号1、票号2、收款人、大写日期、同城交换号、地址-省份、地址-城市、付款行全称、支票密码、支票用途。

Parameters:

  • Name:

    识别出的字段名称(关键字),支持以下字段:

  • Value:

    识别出的字段名称对应的值,也就是字段Name对应的字符串结果。



2846
2847
2848
# File 'lib/v20181119/models.rb', line 2846

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



2853
2854
2855
2856
# File 'lib/v20181119/models.rb', line 2853

def deserialize(params)
  @Name = params['Name']
  @Value = params['Value']
end