tencentcloud-sdk-ocr 3.0.395 → 3.0.398
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/client.rb +2 -0
- data/lib/v20181119/models.rb +23 -7
- 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: 1296e8a475117fd0d7691b1088d1577143d6752c
|
4
|
+
data.tar.gz: ea14eba38f3754a25bc0fcdcf006193666005d51
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a297d6a2e7e9219de767f7af3ee113c77f4109f9a7ff8ffe17647828a982a399c7619ce4a6875eae16a73b1a6c8712d0a6a1817488cd376c0bcab72c26b7d2d8
|
7
|
+
data.tar.gz: f395be7fad46cd278c2a1aeaac8ddfd409c67a15b91e6bfc5413fb79d80a68f442adac74ff9401783dbdbbc07c7bba8c51348dbad5770b5749d873afc168c5f4
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.398
|
data/lib/v20181119/client.rb
CHANGED
@@ -1060,6 +1060,8 @@ module TencentCloud
|
|
1060
1060
|
|
1061
1061
|
# 本接口支持中国港澳台地区以及其他国家、地区的护照识别。识别字段包括护照ID、姓名、出生日期、性别、有效期、发行国、国籍,具备护照人像照片的裁剪功能和翻拍、复印件告警功能。
|
1062
1062
|
|
1063
|
+
# 默认接口请求频率限制:5次/秒。
|
1064
|
+
|
1063
1065
|
# @param request: Request instance for MLIDPassportOCR.
|
1064
1066
|
# @type request: :class:`Tencentcloud::ocr::V20181119::MLIDPassportOCRRequest`
|
1065
1067
|
# @rtype: :class:`Tencentcloud::ocr::V20181119::MLIDPassportOCRResponse`
|
data/lib/v20181119/models.rb
CHANGED
@@ -3075,7 +3075,7 @@ module TencentCloud
|
|
3075
3075
|
# @type DateOfExpiration: String
|
3076
3076
|
# @param IssuingCountry: 发行国
|
3077
3077
|
# @type IssuingCountry: String
|
3078
|
-
# @param Nationality:
|
3078
|
+
# @param Nationality: 国家地区代码
|
3079
3079
|
# @type Nationality: String
|
3080
3080
|
# @param Warn: 告警码
|
3081
3081
|
# -9103 证照翻拍告警
|
@@ -6976,10 +6976,14 @@ module TencentCloud
|
|
6976
6976
|
# @type AmountWithTax: String
|
6977
6977
|
# @param Items: 项目明细
|
6978
6978
|
# @type Items: Array
|
6979
|
+
# @param TaxBureau: 所属税局
|
6980
|
+
# @type TaxBureau: String
|
6981
|
+
# @param TrafficFreeFlag: 通行费标志:Y、是;N、否
|
6982
|
+
# @type TrafficFreeFlag: String
|
6979
6983
|
|
6980
|
-
attr_accessor :Code, :Number, :Date, :BuyerName, :BuyerTaxCode, :BuyerAddressPhone, :BuyerBankAccount, :SellerName, :SellerTaxCode, :SellerAddressPhone, :SellerBankAccount, :Remark, :MachineNo, :Type, :CheckCode, :IsAbandoned, :HasSellerList, :SellerListTitle, :SellerListTax, :AmountWithoutTax, :TaxAmount, :AmountWithTax, :Items
|
6984
|
+
attr_accessor :Code, :Number, :Date, :BuyerName, :BuyerTaxCode, :BuyerAddressPhone, :BuyerBankAccount, :SellerName, :SellerTaxCode, :SellerAddressPhone, :SellerBankAccount, :Remark, :MachineNo, :Type, :CheckCode, :IsAbandoned, :HasSellerList, :SellerListTitle, :SellerListTax, :AmountWithoutTax, :TaxAmount, :AmountWithTax, :Items, :TaxBureau, :TrafficFreeFlag
|
6981
6985
|
|
6982
|
-
def initialize(code=nil, number=nil, date=nil, buyername=nil, buyertaxcode=nil, buyeraddressphone=nil, buyerbankaccount=nil, sellername=nil, sellertaxcode=nil, selleraddressphone=nil, sellerbankaccount=nil, remark=nil, machineno=nil, type=nil, checkcode=nil, isabandoned=nil, hassellerlist=nil, sellerlisttitle=nil, sellerlisttax=nil, amountwithouttax=nil, taxamount=nil, amountwithtax=nil, items=nil)
|
6986
|
+
def initialize(code=nil, number=nil, date=nil, buyername=nil, buyertaxcode=nil, buyeraddressphone=nil, buyerbankaccount=nil, sellername=nil, sellertaxcode=nil, selleraddressphone=nil, sellerbankaccount=nil, remark=nil, machineno=nil, type=nil, checkcode=nil, isabandoned=nil, hassellerlist=nil, sellerlisttitle=nil, sellerlisttax=nil, amountwithouttax=nil, taxamount=nil, amountwithtax=nil, items=nil, taxbureau=nil, trafficfreeflag=nil)
|
6983
6987
|
@Code = code
|
6984
6988
|
@Number = number
|
6985
6989
|
@Date = date
|
@@ -7003,6 +7007,8 @@ module TencentCloud
|
|
7003
7007
|
@TaxAmount = taxamount
|
7004
7008
|
@AmountWithTax = amountwithtax
|
7005
7009
|
@Items = items
|
7010
|
+
@TaxBureau = taxbureau
|
7011
|
+
@TrafficFreeFlag = trafficfreeflag
|
7006
7012
|
end
|
7007
7013
|
|
7008
7014
|
def deserialize(params)
|
@@ -7036,6 +7042,8 @@ module TencentCloud
|
|
7036
7042
|
@Items << vatinvoiceitem_tmp
|
7037
7043
|
end
|
7038
7044
|
end
|
7045
|
+
@TaxBureau = params['TaxBureau']
|
7046
|
+
@TrafficFreeFlag = params['TrafficFreeFlag']
|
7039
7047
|
end
|
7040
7048
|
end
|
7041
7049
|
|
@@ -7103,10 +7111,12 @@ module TencentCloud
|
|
7103
7111
|
# @type TaxRate: String
|
7104
7112
|
# @param TaxAmount: 税额
|
7105
7113
|
# @type TaxAmount: String
|
7114
|
+
# @param TaxClassifyCode: 税收分类编码
|
7115
|
+
# @type TaxClassifyCode: String
|
7106
7116
|
|
7107
|
-
attr_accessor :LineNo, :Name, :Spec, :Unit, :Quantity, :UnitPrice, :AmountWithoutTax, :TaxRate, :TaxAmount
|
7117
|
+
attr_accessor :LineNo, :Name, :Spec, :Unit, :Quantity, :UnitPrice, :AmountWithoutTax, :TaxRate, :TaxAmount, :TaxClassifyCode
|
7108
7118
|
|
7109
|
-
def initialize(lineno=nil, name=nil, spec=nil, unit=nil, quantity=nil, unitprice=nil, amountwithouttax=nil, taxrate=nil, taxamount=nil)
|
7119
|
+
def initialize(lineno=nil, name=nil, spec=nil, unit=nil, quantity=nil, unitprice=nil, amountwithouttax=nil, taxrate=nil, taxamount=nil, taxclassifycode=nil)
|
7110
7120
|
@LineNo = lineno
|
7111
7121
|
@Name = name
|
7112
7122
|
@Spec = spec
|
@@ -7116,6 +7126,7 @@ module TencentCloud
|
|
7116
7126
|
@AmountWithoutTax = amountwithouttax
|
7117
7127
|
@TaxRate = taxrate
|
7118
7128
|
@TaxAmount = taxamount
|
7129
|
+
@TaxClassifyCode = taxclassifycode
|
7119
7130
|
end
|
7120
7131
|
|
7121
7132
|
def deserialize(params)
|
@@ -7128,6 +7139,7 @@ module TencentCloud
|
|
7128
7139
|
@AmountWithoutTax = params['AmountWithoutTax']
|
7129
7140
|
@TaxRate = params['TaxRate']
|
7130
7141
|
@TaxAmount = params['TaxAmount']
|
7142
|
+
@TaxClassifyCode = params['TaxClassifyCode']
|
7131
7143
|
end
|
7132
7144
|
end
|
7133
7145
|
|
@@ -7526,10 +7538,12 @@ module TencentCloud
|
|
7526
7538
|
# @type SellerAddress: String
|
7527
7539
|
# @param SellerTel: 销售电话
|
7528
7540
|
# @type SellerTel: String
|
7541
|
+
# @param BuyerNo: 购方身份证
|
7542
|
+
# @type BuyerNo: String
|
7529
7543
|
|
7530
|
-
attr_accessor :CarType, :PlateModel, :ProduceAddress, :CertificateNo, :ImportNo, :VinNo, :PayTaxesNo, :Tonnage, :LimitCount, :EngineNo, :BizCheckFormNo, :TaxtationOrgCode, :TaxtationOrgName, :MotorTaxRate, :MotorBankName, :MotorBankAccount, :SellerAddress, :SellerTel
|
7544
|
+
attr_accessor :CarType, :PlateModel, :ProduceAddress, :CertificateNo, :ImportNo, :VinNo, :PayTaxesNo, :Tonnage, :LimitCount, :EngineNo, :BizCheckFormNo, :TaxtationOrgCode, :TaxtationOrgName, :MotorTaxRate, :MotorBankName, :MotorBankAccount, :SellerAddress, :SellerTel, :BuyerNo
|
7531
7545
|
|
7532
|
-
def initialize(cartype=nil, platemodel=nil, produceaddress=nil, certificateno=nil, importno=nil, vinno=nil, paytaxesno=nil, tonnage=nil, limitcount=nil, engineno=nil, bizcheckformno=nil, taxtationorgcode=nil, taxtationorgname=nil, motortaxrate=nil, motorbankname=nil, motorbankaccount=nil, selleraddress=nil, sellertel=nil)
|
7546
|
+
def initialize(cartype=nil, platemodel=nil, produceaddress=nil, certificateno=nil, importno=nil, vinno=nil, paytaxesno=nil, tonnage=nil, limitcount=nil, engineno=nil, bizcheckformno=nil, taxtationorgcode=nil, taxtationorgname=nil, motortaxrate=nil, motorbankname=nil, motorbankaccount=nil, selleraddress=nil, sellertel=nil, buyerno=nil)
|
7533
7547
|
@CarType = cartype
|
7534
7548
|
@PlateModel = platemodel
|
7535
7549
|
@ProduceAddress = produceaddress
|
@@ -7548,6 +7562,7 @@ module TencentCloud
|
|
7548
7562
|
@MotorBankAccount = motorbankaccount
|
7549
7563
|
@SellerAddress = selleraddress
|
7550
7564
|
@SellerTel = sellertel
|
7565
|
+
@BuyerNo = buyerno
|
7551
7566
|
end
|
7552
7567
|
|
7553
7568
|
def deserialize(params)
|
@@ -7569,6 +7584,7 @@ module TencentCloud
|
|
7569
7584
|
@MotorBankAccount = params['MotorBankAccount']
|
7570
7585
|
@SellerAddress = params['SellerAddress']
|
7571
7586
|
@SellerTel = params['SellerTel']
|
7587
|
+
@BuyerNo = params['BuyerNo']
|
7572
7588
|
end
|
7573
7589
|
end
|
7574
7590
|
|
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.398
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|