tencentcloud-sdk-ocr 3.0.956 → 3.0.957
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 +39 -6
- 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: 643de7f5a71b3e43aa3fd60ff62cd2dd550b4c14
|
|
4
|
+
data.tar.gz: 0c117c92677e16383815f9834bafc2cc05d5b0f3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4d404130340327b7a15f2bea5aa4e2185fb3aa368db311f2163ddada947323bceb1975023dd6674e3be7f3ae90c10688ce150c94a78e153d24b946918db6ace8
|
|
7
|
+
data.tar.gz: b84a3e1d34b400fd8a0cb3ec3c2492c2d0e05ed4364f2c4fe1c2e3514daa6c2bf940da97dbe018f8de56df934eb81cdcb008f58f12bc678c69406cd46b3d0c80
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.957
|
data/lib/v20181119/models.rb
CHANGED
|
@@ -280,10 +280,24 @@ module TencentCloud
|
|
|
280
280
|
# @type QRCodeMark: Integer
|
|
281
281
|
# @param FlightItems: 条目
|
|
282
282
|
# @type FlightItems: Array
|
|
283
|
+
# @param PromptInformation: 提示信息
|
|
284
|
+
# @type PromptInformation: String
|
|
285
|
+
# @param BuyerTaxID: 统一社会信用代码/纳税人识别号
|
|
286
|
+
# @type BuyerTaxID: String
|
|
287
|
+
# @param Buyer: 购买方名称
|
|
288
|
+
# @type Buyer: String
|
|
289
|
+
# @param ReceiptNumber: 发票号码
|
|
290
|
+
# @type ReceiptNumber: String
|
|
291
|
+
# @param InvoiceStatus: 开票状态
|
|
292
|
+
# @type InvoiceStatus: String
|
|
293
|
+
# @param TaxRate: 增值税税率
|
|
294
|
+
# @type TaxRate: String
|
|
295
|
+
# @param TaxAmount: 增值税税额
|
|
296
|
+
# @type TaxAmount: String
|
|
283
297
|
|
|
284
|
-
attr_accessor :Title, :Number, :CheckCode, :SerialNumber, :Date, :AgentCode, :AgentCodeFirst, :AgentCodeSecond, :UserName, :UserID, :Issuer, :Fare, :Tax, :FuelSurcharge, :AirDevelopmentFund, :Insurance, :Total, :Kind, :DomesticInternationalTag, :DateStart, :DateEnd, :Endorsement, :QRCodeMark, :FlightItems
|
|
298
|
+
attr_accessor :Title, :Number, :CheckCode, :SerialNumber, :Date, :AgentCode, :AgentCodeFirst, :AgentCodeSecond, :UserName, :UserID, :Issuer, :Fare, :Tax, :FuelSurcharge, :AirDevelopmentFund, :Insurance, :Total, :Kind, :DomesticInternationalTag, :DateStart, :DateEnd, :Endorsement, :QRCodeMark, :FlightItems, :PromptInformation, :BuyerTaxID, :Buyer, :ReceiptNumber, :InvoiceStatus, :TaxRate, :TaxAmount
|
|
285
299
|
|
|
286
|
-
def initialize(title=nil, number=nil, checkcode=nil, serialnumber=nil, date=nil, agentcode=nil, agentcodefirst=nil, agentcodesecond=nil, username=nil, userid=nil, issuer=nil, fare=nil, tax=nil, fuelsurcharge=nil, airdevelopmentfund=nil, insurance=nil, total=nil, kind=nil, domesticinternationaltag=nil, datestart=nil, dateend=nil, endorsement=nil, qrcodemark=nil, flightitems=nil)
|
|
300
|
+
def initialize(title=nil, number=nil, checkcode=nil, serialnumber=nil, date=nil, agentcode=nil, agentcodefirst=nil, agentcodesecond=nil, username=nil, userid=nil, issuer=nil, fare=nil, tax=nil, fuelsurcharge=nil, airdevelopmentfund=nil, insurance=nil, total=nil, kind=nil, domesticinternationaltag=nil, datestart=nil, dateend=nil, endorsement=nil, qrcodemark=nil, flightitems=nil, promptinformation=nil, buyertaxid=nil, buyer=nil, receiptnumber=nil, invoicestatus=nil, taxrate=nil, taxamount=nil)
|
|
287
301
|
@Title = title
|
|
288
302
|
@Number = number
|
|
289
303
|
@CheckCode = checkcode
|
|
@@ -308,6 +322,13 @@ module TencentCloud
|
|
|
308
322
|
@Endorsement = endorsement
|
|
309
323
|
@QRCodeMark = qrcodemark
|
|
310
324
|
@FlightItems = flightitems
|
|
325
|
+
@PromptInformation = promptinformation
|
|
326
|
+
@BuyerTaxID = buyertaxid
|
|
327
|
+
@Buyer = buyer
|
|
328
|
+
@ReceiptNumber = receiptnumber
|
|
329
|
+
@InvoiceStatus = invoicestatus
|
|
330
|
+
@TaxRate = taxrate
|
|
331
|
+
@TaxAmount = taxamount
|
|
311
332
|
end
|
|
312
333
|
|
|
313
334
|
def deserialize(params)
|
|
@@ -342,6 +363,13 @@ module TencentCloud
|
|
|
342
363
|
@FlightItems << flightitem_tmp
|
|
343
364
|
end
|
|
344
365
|
end
|
|
366
|
+
@PromptInformation = params['PromptInformation']
|
|
367
|
+
@BuyerTaxID = params['BuyerTaxID']
|
|
368
|
+
@Buyer = params['Buyer']
|
|
369
|
+
@ReceiptNumber = params['ReceiptNumber']
|
|
370
|
+
@InvoiceStatus = params['InvoiceStatus']
|
|
371
|
+
@TaxRate = params['TaxRate']
|
|
372
|
+
@TaxAmount = params['TaxAmount']
|
|
345
373
|
end
|
|
346
374
|
end
|
|
347
375
|
|
|
@@ -2500,10 +2528,12 @@ module TencentCloud
|
|
|
2500
2528
|
# @type BuyerTaxID: String
|
|
2501
2529
|
# @param OriginalNumber: 原发票号码
|
|
2502
2530
|
# @type OriginalNumber: String
|
|
2531
|
+
# @param IDInfo: 标识信息
|
|
2532
|
+
# @type IDInfo: String
|
|
2503
2533
|
|
|
2504
|
-
attr_accessor :TypeOfVoucher, :ElectronicTicketNum, :Date, :StationGetOn, :StationGetOff, :TrainNumber, :DateGetOn, :TimeGetOn, :Seat, :SeatNumber, :Fare, :Number, :UserID, :UserName, :Total, :TaxRate, :Tax, :Buyer, :BuyerTaxID, :OriginalNumber
|
|
2534
|
+
attr_accessor :TypeOfVoucher, :ElectronicTicketNum, :Date, :StationGetOn, :StationGetOff, :TrainNumber, :DateGetOn, :TimeGetOn, :Seat, :SeatNumber, :Fare, :Number, :UserID, :UserName, :Total, :TaxRate, :Tax, :Buyer, :BuyerTaxID, :OriginalNumber, :IDInfo
|
|
2505
2535
|
|
|
2506
|
-
def initialize(typeofvoucher=nil, electronicticketnum=nil, date=nil, stationgeton=nil, stationgetoff=nil, trainnumber=nil, dategeton=nil, timegeton=nil, seat=nil, seatnumber=nil, fare=nil, number=nil, userid=nil, username=nil, total=nil, taxrate=nil, tax=nil, buyer=nil, buyertaxid=nil, originalnumber=nil)
|
|
2536
|
+
def initialize(typeofvoucher=nil, electronicticketnum=nil, date=nil, stationgeton=nil, stationgetoff=nil, trainnumber=nil, dategeton=nil, timegeton=nil, seat=nil, seatnumber=nil, fare=nil, number=nil, userid=nil, username=nil, total=nil, taxrate=nil, tax=nil, buyer=nil, buyertaxid=nil, originalnumber=nil, idinfo=nil)
|
|
2507
2537
|
@TypeOfVoucher = typeofvoucher
|
|
2508
2538
|
@ElectronicTicketNum = electronicticketnum
|
|
2509
2539
|
@Date = date
|
|
@@ -2524,6 +2554,7 @@ module TencentCloud
|
|
|
2524
2554
|
@Buyer = buyer
|
|
2525
2555
|
@BuyerTaxID = buyertaxid
|
|
2526
2556
|
@OriginalNumber = originalnumber
|
|
2557
|
+
@IDInfo = idinfo
|
|
2527
2558
|
end
|
|
2528
2559
|
|
|
2529
2560
|
def deserialize(params)
|
|
@@ -2547,6 +2578,7 @@ module TencentCloud
|
|
|
2547
2578
|
@Buyer = params['Buyer']
|
|
2548
2579
|
@BuyerTaxID = params['BuyerTaxID']
|
|
2549
2580
|
@OriginalNumber = params['OriginalNumber']
|
|
2581
|
+
@IDInfo = params['IDInfo']
|
|
2550
2582
|
end
|
|
2551
2583
|
end
|
|
2552
2584
|
|
|
@@ -10472,8 +10504,9 @@ module TencentCloud
|
|
|
10472
10504
|
# @param Cells: 单元格内容
|
|
10473
10505
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
10474
10506
|
# @type Cells: Array
|
|
10475
|
-
# @param Type:
|
|
10476
|
-
#
|
|
10507
|
+
# @param Type: 图像中的文本块类型:0为非表格文本、1为有线表格、2为无线表格,
|
|
10508
|
+
# 有线表格:在表格内部,有横线/竖线纵跨整个表格的宽/高;
|
|
10509
|
+
# 无线表格:在表格内部,无横线/竖线纵跨整个表格的宽/高。
|
|
10477
10510
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
10478
10511
|
# @type Type: Integer
|
|
10479
10512
|
# @param TableCoordPoint: 表格主体四个顶点坐标(依次为左上角,
|
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.957
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-12-
|
|
11
|
+
date: 2024-12-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|