tencentcloud-sdk-ocr 3.0.1087 → 3.0.1091
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20181119/models.rb +13 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2af88a4b892d3f8e1f176b13a1ba7259986dbcc2
|
4
|
+
data.tar.gz: 151f02602b6af976b8c8679dd62ee90f32393fa8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f9c7b9e9bc5ebd61de0271011df349236df87684a0ed8d28d078aac109152e8654e371ce4a1f461e33eb11f840b1421947adb7f25ddd71688120edd8f126e0c
|
7
|
+
data.tar.gz: 68d45d7d4404b1009aa439e33a6b4877febdf1cce54d83ae2af2963e4fe0294af822c1cbec52cf7f39b1cc1727ecb93473c5226a5b95552c29627c336866b188
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1091
|
data/lib/v20181119/models.rb
CHANGED
@@ -1576,12 +1576,15 @@ module TencentCloud
|
|
1576
1576
|
# @type Title: String
|
1577
1577
|
# @param Content: 识别出的字段名称(关键字),支持以下字段: 税号 、纳税人识别号 、纳税人名称 、金额合计大写 、金额合计小写 、填发日期 、税务机关 、填票人。 示例值:纳税人识别号
|
1578
1578
|
# @type Content: Array
|
1579
|
+
# @param CommonContent: 海关缴款书常用字段
|
1580
|
+
# @type CommonContent: Array
|
1579
1581
|
|
1580
|
-
attr_accessor :Title, :Content
|
1582
|
+
attr_accessor :Title, :Content, :CommonContent
|
1581
1583
|
|
1582
|
-
def initialize(title=nil, content=nil)
|
1584
|
+
def initialize(title=nil, content=nil, commoncontent=nil)
|
1583
1585
|
@Title = title
|
1584
1586
|
@Content = content
|
1587
|
+
@CommonContent = commoncontent
|
1585
1588
|
end
|
1586
1589
|
|
1587
1590
|
def deserialize(params)
|
@@ -1594,6 +1597,14 @@ module TencentCloud
|
|
1594
1597
|
@Content << otherinvoiceitem_tmp
|
1595
1598
|
end
|
1596
1599
|
end
|
1600
|
+
unless params['CommonContent'].nil?
|
1601
|
+
@CommonContent = []
|
1602
|
+
params['CommonContent'].each do |i|
|
1603
|
+
otherinvoiceitem_tmp = OtherInvoiceItem.new
|
1604
|
+
otherinvoiceitem_tmp.deserialize(i)
|
1605
|
+
@CommonContent << otherinvoiceitem_tmp
|
1606
|
+
end
|
1607
|
+
end
|
1597
1608
|
end
|
1598
1609
|
end
|
1599
1610
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-ocr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1091
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-06-
|
11
|
+
date: 2025-06-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|