tencentcloud-sdk-ocr 3.0.1169 → 3.0.1171
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 +103 -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: 4733ea46331805fe738d3f05416a2824fc22b2b2
|
|
4
|
+
data.tar.gz: e1417c7396a43765461fbbfb55a659ea70baf9a1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eaac1f111762c27406df131e6517d46ff3ff4fc2243362510af77ec3da1f0f6bf0b7a137b160096795a0061c9cf1038d65d29d2433439b2bcf12c88f1235d6ef
|
|
7
|
+
data.tar.gz: 44bf136f34a48ad8a5d91ce1f7820e1ae00d7284ecff4ad5f87bd979fcd08f7015a802486a58e507718c5deb76df42c65402e5f8ff8bbef6d6dabb177732e681
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1171
|
data/lib/v20181119/models.rb
CHANGED
|
@@ -2390,6 +2390,99 @@ module TencentCloud
|
|
|
2390
2390
|
end
|
|
2391
2391
|
end
|
|
2392
2392
|
|
|
2393
|
+
# 其他发票
|
|
2394
|
+
class ElectronicTollSummary < TencentCloud::Common::AbstractModel
|
|
2395
|
+
# @param Title: 发票名称
|
|
2396
|
+
# @type Title: String
|
|
2397
|
+
# @param Total: 金额
|
|
2398
|
+
# @type Total: String
|
|
2399
|
+
# @param Items: 列表
|
|
2400
|
+
# @type Items: Array
|
|
2401
|
+
# @param TableItems: 表格
|
|
2402
|
+
# @type TableItems: Array
|
|
2403
|
+
# @param Date: 发票日期
|
|
2404
|
+
# @type Date: String
|
|
2405
|
+
|
|
2406
|
+
attr_accessor :Title, :Total, :Items, :TableItems, :Date
|
|
2407
|
+
|
|
2408
|
+
def initialize(title=nil, total=nil, items=nil, tableitems=nil, date=nil)
|
|
2409
|
+
@Title = title
|
|
2410
|
+
@Total = total
|
|
2411
|
+
@Items = items
|
|
2412
|
+
@TableItems = tableitems
|
|
2413
|
+
@Date = date
|
|
2414
|
+
end
|
|
2415
|
+
|
|
2416
|
+
def deserialize(params)
|
|
2417
|
+
@Title = params['Title']
|
|
2418
|
+
@Total = params['Total']
|
|
2419
|
+
unless params['Items'].nil?
|
|
2420
|
+
@Items = []
|
|
2421
|
+
params['Items'].each do |i|
|
|
2422
|
+
electronictollsummaryitem_tmp = ElectronicTollSummaryItem.new
|
|
2423
|
+
electronictollsummaryitem_tmp.deserialize(i)
|
|
2424
|
+
@Items << electronictollsummaryitem_tmp
|
|
2425
|
+
end
|
|
2426
|
+
end
|
|
2427
|
+
unless params['TableItems'].nil?
|
|
2428
|
+
@TableItems = []
|
|
2429
|
+
params['TableItems'].each do |i|
|
|
2430
|
+
electronictollsummarylist_tmp = ElectronicTollSummaryList.new
|
|
2431
|
+
electronictollsummarylist_tmp.deserialize(i)
|
|
2432
|
+
@TableItems << electronictollsummarylist_tmp
|
|
2433
|
+
end
|
|
2434
|
+
end
|
|
2435
|
+
@Date = params['Date']
|
|
2436
|
+
end
|
|
2437
|
+
end
|
|
2438
|
+
|
|
2439
|
+
# ElectronicTollSummaryItem
|
|
2440
|
+
class ElectronicTollSummaryItem < TencentCloud::Common::AbstractModel
|
|
2441
|
+
# @param Name: 票面key值
|
|
2442
|
+
# @type Name: String
|
|
2443
|
+
# @param Value: 票面value值
|
|
2444
|
+
# @type Value: String
|
|
2445
|
+
# @param Row: 字段所在行,下标从0开始,非行字段或未能识别行号的返回-1
|
|
2446
|
+
# @type Row: Integer
|
|
2447
|
+
|
|
2448
|
+
attr_accessor :Name, :Value, :Row
|
|
2449
|
+
|
|
2450
|
+
def initialize(name=nil, value=nil, row=nil)
|
|
2451
|
+
@Name = name
|
|
2452
|
+
@Value = value
|
|
2453
|
+
@Row = row
|
|
2454
|
+
end
|
|
2455
|
+
|
|
2456
|
+
def deserialize(params)
|
|
2457
|
+
@Name = params['Name']
|
|
2458
|
+
@Value = params['Value']
|
|
2459
|
+
@Row = params['Row']
|
|
2460
|
+
end
|
|
2461
|
+
end
|
|
2462
|
+
|
|
2463
|
+
# 其他票Table
|
|
2464
|
+
class ElectronicTollSummaryList < TencentCloud::Common::AbstractModel
|
|
2465
|
+
# @param Items: 列表
|
|
2466
|
+
# @type Items: Array
|
|
2467
|
+
|
|
2468
|
+
attr_accessor :Items
|
|
2469
|
+
|
|
2470
|
+
def initialize(items=nil)
|
|
2471
|
+
@Items = items
|
|
2472
|
+
end
|
|
2473
|
+
|
|
2474
|
+
def deserialize(params)
|
|
2475
|
+
unless params['Items'].nil?
|
|
2476
|
+
@Items = []
|
|
2477
|
+
params['Items'].each do |i|
|
|
2478
|
+
electronictollsummaryitem_tmp = ElectronicTollSummaryItem.new
|
|
2479
|
+
electronictollsummaryitem_tmp.deserialize(i)
|
|
2480
|
+
@Items << electronictollsummaryitem_tmp
|
|
2481
|
+
end
|
|
2482
|
+
end
|
|
2483
|
+
end
|
|
2484
|
+
end
|
|
2485
|
+
|
|
2393
2486
|
# 全电发票(铁路电子客票)
|
|
2394
2487
|
class ElectronicTrainTicket < TencentCloud::Common::AbstractModel
|
|
2395
2488
|
# @param BuyerName: 购方名称
|
|
@@ -10753,10 +10846,13 @@ module TencentCloud
|
|
|
10753
10846
|
# @param UsedCarPurchaseInvoiceElectronic: 二手车销售统一发票(电子)
|
|
10754
10847
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
10755
10848
|
# @type UsedCarPurchaseInvoiceElectronic: :class:`Tencentcloud::Ocr.v20181119.models.UsedCarPurchaseInvoice`
|
|
10849
|
+
# @param ElectronicTollSummary: 通行费电子票据汇总单
|
|
10850
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
10851
|
+
# @type ElectronicTollSummary: :class:`Tencentcloud::Ocr.v20181119.models.ElectronicTollSummary`
|
|
10756
10852
|
|
|
10757
|
-
attr_accessor :VatSpecialInvoice, :VatCommonInvoice, :VatElectronicCommonInvoice, :VatElectronicSpecialInvoice, :VatElectronicInvoiceBlockchain, :VatElectronicInvoiceToll, :VatElectronicSpecialInvoiceFull, :VatElectronicInvoiceFull, :MachinePrintedInvoice, :BusInvoice, :ShippingInvoice, :TollInvoice, :OtherInvoice, :MotorVehicleSaleInvoice, :UsedCarPurchaseInvoice, :VatInvoiceRoll, :TaxiTicket, :QuotaInvoice, :AirTransport, :NonTaxIncomeGeneralBill, :NonTaxIncomeElectronicBill, :TrainTicket, :MedicalOutpatientInvoice, :MedicalHospitalizedInvoice, :VatSalesList, :ElectronicTrainTicketFull, :ElectronicFlightTicketFull, :TaxPayment, :CustomsPaymentReceipt, :BankSlip, :OnlineTaxiItinerary, :CustomsDeclaration, :OverseasInvoice, :ShoppingReceipt, :SaleInventory, :MotorVehicleSaleInvoiceElectronic, :UsedCarPurchaseInvoiceElectronic
|
|
10853
|
+
attr_accessor :VatSpecialInvoice, :VatCommonInvoice, :VatElectronicCommonInvoice, :VatElectronicSpecialInvoice, :VatElectronicInvoiceBlockchain, :VatElectronicInvoiceToll, :VatElectronicSpecialInvoiceFull, :VatElectronicInvoiceFull, :MachinePrintedInvoice, :BusInvoice, :ShippingInvoice, :TollInvoice, :OtherInvoice, :MotorVehicleSaleInvoice, :UsedCarPurchaseInvoice, :VatInvoiceRoll, :TaxiTicket, :QuotaInvoice, :AirTransport, :NonTaxIncomeGeneralBill, :NonTaxIncomeElectronicBill, :TrainTicket, :MedicalOutpatientInvoice, :MedicalHospitalizedInvoice, :VatSalesList, :ElectronicTrainTicketFull, :ElectronicFlightTicketFull, :TaxPayment, :CustomsPaymentReceipt, :BankSlip, :OnlineTaxiItinerary, :CustomsDeclaration, :OverseasInvoice, :ShoppingReceipt, :SaleInventory, :MotorVehicleSaleInvoiceElectronic, :UsedCarPurchaseInvoiceElectronic, :ElectronicTollSummary
|
|
10758
10854
|
|
|
10759
|
-
def initialize(vatspecialinvoice=nil, vatcommoninvoice=nil, vatelectroniccommoninvoice=nil, vatelectronicspecialinvoice=nil, vatelectronicinvoiceblockchain=nil, vatelectronicinvoicetoll=nil, vatelectronicspecialinvoicefull=nil, vatelectronicinvoicefull=nil, machineprintedinvoice=nil, businvoice=nil, shippinginvoice=nil, tollinvoice=nil, otherinvoice=nil, motorvehiclesaleinvoice=nil, usedcarpurchaseinvoice=nil, vatinvoiceroll=nil, taxiticket=nil, quotainvoice=nil, airtransport=nil, nontaxincomegeneralbill=nil, nontaxincomeelectronicbill=nil, trainticket=nil, medicaloutpatientinvoice=nil, medicalhospitalizedinvoice=nil, vatsaleslist=nil, electronictrainticketfull=nil, electronicflightticketfull=nil, taxpayment=nil, customspaymentreceipt=nil, bankslip=nil, onlinetaxiitinerary=nil, customsdeclaration=nil, overseasinvoice=nil, shoppingreceipt=nil, saleinventory=nil, motorvehiclesaleinvoiceelectronic=nil, usedcarpurchaseinvoiceelectronic=nil)
|
|
10855
|
+
def initialize(vatspecialinvoice=nil, vatcommoninvoice=nil, vatelectroniccommoninvoice=nil, vatelectronicspecialinvoice=nil, vatelectronicinvoiceblockchain=nil, vatelectronicinvoicetoll=nil, vatelectronicspecialinvoicefull=nil, vatelectronicinvoicefull=nil, machineprintedinvoice=nil, businvoice=nil, shippinginvoice=nil, tollinvoice=nil, otherinvoice=nil, motorvehiclesaleinvoice=nil, usedcarpurchaseinvoice=nil, vatinvoiceroll=nil, taxiticket=nil, quotainvoice=nil, airtransport=nil, nontaxincomegeneralbill=nil, nontaxincomeelectronicbill=nil, trainticket=nil, medicaloutpatientinvoice=nil, medicalhospitalizedinvoice=nil, vatsaleslist=nil, electronictrainticketfull=nil, electronicflightticketfull=nil, taxpayment=nil, customspaymentreceipt=nil, bankslip=nil, onlinetaxiitinerary=nil, customsdeclaration=nil, overseasinvoice=nil, shoppingreceipt=nil, saleinventory=nil, motorvehiclesaleinvoiceelectronic=nil, usedcarpurchaseinvoiceelectronic=nil, electronictollsummary=nil)
|
|
10760
10856
|
@VatSpecialInvoice = vatspecialinvoice
|
|
10761
10857
|
@VatCommonInvoice = vatcommoninvoice
|
|
10762
10858
|
@VatElectronicCommonInvoice = vatelectroniccommoninvoice
|
|
@@ -10794,6 +10890,7 @@ module TencentCloud
|
|
|
10794
10890
|
@SaleInventory = saleinventory
|
|
10795
10891
|
@MotorVehicleSaleInvoiceElectronic = motorvehiclesaleinvoiceelectronic
|
|
10796
10892
|
@UsedCarPurchaseInvoiceElectronic = usedcarpurchaseinvoiceelectronic
|
|
10893
|
+
@ElectronicTollSummary = electronictollsummary
|
|
10797
10894
|
end
|
|
10798
10895
|
|
|
10799
10896
|
def deserialize(params)
|
|
@@ -10945,6 +11042,10 @@ module TencentCloud
|
|
|
10945
11042
|
@UsedCarPurchaseInvoiceElectronic = UsedCarPurchaseInvoice.new
|
|
10946
11043
|
@UsedCarPurchaseInvoiceElectronic.deserialize(params['UsedCarPurchaseInvoiceElectronic'])
|
|
10947
11044
|
end
|
|
11045
|
+
unless params['ElectronicTollSummary'].nil?
|
|
11046
|
+
@ElectronicTollSummary = ElectronicTollSummary.new
|
|
11047
|
+
@ElectronicTollSummary.deserialize(params['ElectronicTollSummary'])
|
|
11048
|
+
end
|
|
10948
11049
|
end
|
|
10949
11050
|
end
|
|
10950
11051
|
|
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.1171
|
|
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-11-
|
|
11
|
+
date: 2025-11-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|