tencentcloud-sdk-ocr 3.0.696 → 3.0.698
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 +307 -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: 5cca9b9e64580464b16453645813fc6b2ba5e3d3
|
4
|
+
data.tar.gz: 87bb6bbead479a0c1734e6c7796c9540bffc9d0f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a782ddaceb50da5eb0a87986a8a08bc7efbc82c5b6e9601da0b7c1bda68a2cd092db40e403423747a29810901c15c3df061f5a1d1d6a721941e009b14d1205d
|
7
|
+
data.tar.gz: 60ad49fc70f654285665894219de2a6533bcb3a90418175abbb06cdacbd36477acbf617f1a71c41e1229fd5fd8be7775b28f4c179c2acd79563211874b9f49b9
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.698
|
data/lib/v20181119/models.rb
CHANGED
@@ -104,6 +104,125 @@ module TencentCloud
|
|
104
104
|
end
|
105
105
|
end
|
106
106
|
|
107
|
+
# 航空运输电子客票行程单信息
|
108
|
+
class AirTicketInfo < TencentCloud::Common::AbstractModel
|
109
|
+
# @param PassengerName: 旅客姓名
|
110
|
+
# @type PassengerName: String
|
111
|
+
# @param ValidIdNumber: 有效身份证件号码
|
112
|
+
# @type ValidIdNumber: String
|
113
|
+
# @param Endorsement: 签注
|
114
|
+
# @type Endorsement: String
|
115
|
+
# @param NumberOfGPOrder: GP单号
|
116
|
+
# @type NumberOfGPOrder: String
|
117
|
+
# @param ElectronicInvoiceAirTransportReceiptNumber: 发票号码
|
118
|
+
# @type ElectronicInvoiceAirTransportReceiptNumber: String
|
119
|
+
# @param DetailInformationOfAirTicketTuple: 机票详细信息元组
|
120
|
+
# @type DetailInformationOfAirTicketTuple: Array
|
121
|
+
# @param Fare: 票价
|
122
|
+
# @type Fare: String
|
123
|
+
# @param FuelSurcharge: 燃油附加费
|
124
|
+
# @type FuelSurcharge: String
|
125
|
+
# @param VatRate: 增值税税率
|
126
|
+
# @type VatRate: String
|
127
|
+
# @param VatTaxAmount: 增值税税额
|
128
|
+
# @type VatTaxAmount: String
|
129
|
+
# @param CivilAviationDevelopmentFund: 民航发展基金
|
130
|
+
# @type CivilAviationDevelopmentFund: String
|
131
|
+
# @param OtherTaxes: 其他税费
|
132
|
+
# @type OtherTaxes: String
|
133
|
+
# @param TotalAmount: 合计
|
134
|
+
# @type TotalAmount: String
|
135
|
+
# @param ElectronicTicketNum: 电子客票号码
|
136
|
+
# @type ElectronicTicketNum: String
|
137
|
+
# @param VerificationCode: 验证码
|
138
|
+
# @type VerificationCode: String
|
139
|
+
# @param PromptInformation: 提示信息
|
140
|
+
# @type PromptInformation: String
|
141
|
+
# @param Insurance: 保险费
|
142
|
+
# @type Insurance: String
|
143
|
+
# @param AgentCode: 销售网点代号
|
144
|
+
# @type AgentCode: String
|
145
|
+
# @param IssueParty: 填开单位
|
146
|
+
# @type IssueParty: String
|
147
|
+
# @param IssueDate: 填开时间
|
148
|
+
# @type IssueDate: String
|
149
|
+
# @param IssuingStatus: 开具状态
|
150
|
+
# @type IssuingStatus: String
|
151
|
+
# @param MarkingOfDomesticOrInternational: 国内国际标识
|
152
|
+
# @type MarkingOfDomesticOrInternational: String
|
153
|
+
# @param NameOfPurchaser: 购买方名称
|
154
|
+
# @type NameOfPurchaser: String
|
155
|
+
# @param NameOfSeller: 销售方名称
|
156
|
+
# @type NameOfSeller: String
|
157
|
+
# @param UnifiedSocialCreditCodeOfPurchaser: 统一社会信用代码
|
158
|
+
# @type UnifiedSocialCreditCodeOfPurchaser: String
|
159
|
+
|
160
|
+
attr_accessor :PassengerName, :ValidIdNumber, :Endorsement, :NumberOfGPOrder, :ElectronicInvoiceAirTransportReceiptNumber, :DetailInformationOfAirTicketTuple, :Fare, :FuelSurcharge, :VatRate, :VatTaxAmount, :CivilAviationDevelopmentFund, :OtherTaxes, :TotalAmount, :ElectronicTicketNum, :VerificationCode, :PromptInformation, :Insurance, :AgentCode, :IssueParty, :IssueDate, :IssuingStatus, :MarkingOfDomesticOrInternational, :NameOfPurchaser, :NameOfSeller, :UnifiedSocialCreditCodeOfPurchaser
|
161
|
+
|
162
|
+
def initialize(passengername=nil, valididnumber=nil, endorsement=nil, numberofgporder=nil, electronicinvoiceairtransportreceiptnumber=nil, detailinformationofairtickettuple=nil, fare=nil, fuelsurcharge=nil, vatrate=nil, vattaxamount=nil, civilaviationdevelopmentfund=nil, othertaxes=nil, totalamount=nil, electronicticketnum=nil, verificationcode=nil, promptinformation=nil, insurance=nil, agentcode=nil, issueparty=nil, issuedate=nil, issuingstatus=nil, markingofdomesticorinternational=nil, nameofpurchaser=nil, nameofseller=nil, unifiedsocialcreditcodeofpurchaser=nil)
|
163
|
+
@PassengerName = passengername
|
164
|
+
@ValidIdNumber = valididnumber
|
165
|
+
@Endorsement = endorsement
|
166
|
+
@NumberOfGPOrder = numberofgporder
|
167
|
+
@ElectronicInvoiceAirTransportReceiptNumber = electronicinvoiceairtransportreceiptnumber
|
168
|
+
@DetailInformationOfAirTicketTuple = detailinformationofairtickettuple
|
169
|
+
@Fare = fare
|
170
|
+
@FuelSurcharge = fuelsurcharge
|
171
|
+
@VatRate = vatrate
|
172
|
+
@VatTaxAmount = vattaxamount
|
173
|
+
@CivilAviationDevelopmentFund = civilaviationdevelopmentfund
|
174
|
+
@OtherTaxes = othertaxes
|
175
|
+
@TotalAmount = totalamount
|
176
|
+
@ElectronicTicketNum = electronicticketnum
|
177
|
+
@VerificationCode = verificationcode
|
178
|
+
@PromptInformation = promptinformation
|
179
|
+
@Insurance = insurance
|
180
|
+
@AgentCode = agentcode
|
181
|
+
@IssueParty = issueparty
|
182
|
+
@IssueDate = issuedate
|
183
|
+
@IssuingStatus = issuingstatus
|
184
|
+
@MarkingOfDomesticOrInternational = markingofdomesticorinternational
|
185
|
+
@NameOfPurchaser = nameofpurchaser
|
186
|
+
@NameOfSeller = nameofseller
|
187
|
+
@UnifiedSocialCreditCodeOfPurchaser = unifiedsocialcreditcodeofpurchaser
|
188
|
+
end
|
189
|
+
|
190
|
+
def deserialize(params)
|
191
|
+
@PassengerName = params['PassengerName']
|
192
|
+
@ValidIdNumber = params['ValidIdNumber']
|
193
|
+
@Endorsement = params['Endorsement']
|
194
|
+
@NumberOfGPOrder = params['NumberOfGPOrder']
|
195
|
+
@ElectronicInvoiceAirTransportReceiptNumber = params['ElectronicInvoiceAirTransportReceiptNumber']
|
196
|
+
unless params['DetailInformationOfAirTicketTuple'].nil?
|
197
|
+
@DetailInformationOfAirTicketTuple = []
|
198
|
+
params['DetailInformationOfAirTicketTuple'].each do |i|
|
199
|
+
detailinformationofairtickettuplelist_tmp = DetailInformationOfAirTicketTupleList.new
|
200
|
+
detailinformationofairtickettuplelist_tmp.deserialize(i)
|
201
|
+
@DetailInformationOfAirTicketTuple << detailinformationofairtickettuplelist_tmp
|
202
|
+
end
|
203
|
+
end
|
204
|
+
@Fare = params['Fare']
|
205
|
+
@FuelSurcharge = params['FuelSurcharge']
|
206
|
+
@VatRate = params['VatRate']
|
207
|
+
@VatTaxAmount = params['VatTaxAmount']
|
208
|
+
@CivilAviationDevelopmentFund = params['CivilAviationDevelopmentFund']
|
209
|
+
@OtherTaxes = params['OtherTaxes']
|
210
|
+
@TotalAmount = params['TotalAmount']
|
211
|
+
@ElectronicTicketNum = params['ElectronicTicketNum']
|
212
|
+
@VerificationCode = params['VerificationCode']
|
213
|
+
@PromptInformation = params['PromptInformation']
|
214
|
+
@Insurance = params['Insurance']
|
215
|
+
@AgentCode = params['AgentCode']
|
216
|
+
@IssueParty = params['IssueParty']
|
217
|
+
@IssueDate = params['IssueDate']
|
218
|
+
@IssuingStatus = params['IssuingStatus']
|
219
|
+
@MarkingOfDomesticOrInternational = params['MarkingOfDomesticOrInternational']
|
220
|
+
@NameOfPurchaser = params['NameOfPurchaser']
|
221
|
+
@NameOfSeller = params['NameOfSeller']
|
222
|
+
@UnifiedSocialCreditCodeOfPurchaser = params['UnifiedSocialCreditCodeOfPurchaser']
|
223
|
+
end
|
224
|
+
end
|
225
|
+
|
107
226
|
# 机票行程单
|
108
227
|
class AirTransport < TencentCloud::Common::AbstractModel
|
109
228
|
# @param Title: 发票名称
|
@@ -1226,6 +1345,66 @@ module TencentCloud
|
|
1226
1345
|
end
|
1227
1346
|
end
|
1228
1347
|
|
1348
|
+
# 机票详细信息元组
|
1349
|
+
class DetailInformationOfAirTicketTupleList < TencentCloud::Common::AbstractModel
|
1350
|
+
# @param DepartureStation: 出发站(自)
|
1351
|
+
# @type DepartureStation: String
|
1352
|
+
# @param DestinationStation: 目的地(至)
|
1353
|
+
# @type DestinationStation: String
|
1354
|
+
# @param FlightSegment: 航班
|
1355
|
+
# @type FlightSegment: String
|
1356
|
+
# @param Carrier: 航班
|
1357
|
+
# @type Carrier: String
|
1358
|
+
# @param Flight: 航班号
|
1359
|
+
# @type Flight: String
|
1360
|
+
# @param SeatClass: 座位等级
|
1361
|
+
# @type SeatClass: String
|
1362
|
+
# @param CarrierDate: 日期
|
1363
|
+
# @type CarrierDate: String
|
1364
|
+
# @param DepartureTime: 时间
|
1365
|
+
# @type DepartureTime: String
|
1366
|
+
# @param FareBasis: 客票级别/客票类别
|
1367
|
+
# @type FareBasis: String
|
1368
|
+
# @param EffectiveDate: 客票生效日期
|
1369
|
+
# @type EffectiveDate: String
|
1370
|
+
# @param ExpirationDate: 有效截止日期
|
1371
|
+
# @type ExpirationDate: String
|
1372
|
+
# @param FreeBaggageAllowance: 免费行李
|
1373
|
+
# @type FreeBaggageAllowance: String
|
1374
|
+
|
1375
|
+
attr_accessor :DepartureStation, :DestinationStation, :FlightSegment, :Carrier, :Flight, :SeatClass, :CarrierDate, :DepartureTime, :FareBasis, :EffectiveDate, :ExpirationDate, :FreeBaggageAllowance
|
1376
|
+
|
1377
|
+
def initialize(departurestation=nil, destinationstation=nil, flightsegment=nil, carrier=nil, flight=nil, seatclass=nil, carrierdate=nil, departuretime=nil, farebasis=nil, effectivedate=nil, expirationdate=nil, freebaggageallowance=nil)
|
1378
|
+
@DepartureStation = departurestation
|
1379
|
+
@DestinationStation = destinationstation
|
1380
|
+
@FlightSegment = flightsegment
|
1381
|
+
@Carrier = carrier
|
1382
|
+
@Flight = flight
|
1383
|
+
@SeatClass = seatclass
|
1384
|
+
@CarrierDate = carrierdate
|
1385
|
+
@DepartureTime = departuretime
|
1386
|
+
@FareBasis = farebasis
|
1387
|
+
@EffectiveDate = effectivedate
|
1388
|
+
@ExpirationDate = expirationdate
|
1389
|
+
@FreeBaggageAllowance = freebaggageallowance
|
1390
|
+
end
|
1391
|
+
|
1392
|
+
def deserialize(params)
|
1393
|
+
@DepartureStation = params['DepartureStation']
|
1394
|
+
@DestinationStation = params['DestinationStation']
|
1395
|
+
@FlightSegment = params['FlightSegment']
|
1396
|
+
@Carrier = params['Carrier']
|
1397
|
+
@Flight = params['Flight']
|
1398
|
+
@SeatClass = params['SeatClass']
|
1399
|
+
@CarrierDate = params['CarrierDate']
|
1400
|
+
@DepartureTime = params['DepartureTime']
|
1401
|
+
@FareBasis = params['FareBasis']
|
1402
|
+
@EffectiveDate = params['EffectiveDate']
|
1403
|
+
@ExpirationDate = params['ExpirationDate']
|
1404
|
+
@FreeBaggageAllowance = params['FreeBaggageAllowance']
|
1405
|
+
end
|
1406
|
+
end
|
1407
|
+
|
1229
1408
|
# 单字在原图中的坐标,以四个顶点坐标表示,以左上角为起点,顺时针返回。
|
1230
1409
|
class DetectedWordCoordPoint < TencentCloud::Common::AbstractModel
|
1231
1410
|
# @param WordCoordinate: 单字在原图中的坐标,以四个顶点坐标表示,以左上角为起点,顺时针返回。
|
@@ -5654,6 +5833,118 @@ module TencentCloud
|
|
5654
5833
|
end
|
5655
5834
|
end
|
5656
5835
|
|
5836
|
+
# 铁路电子客票信息
|
5837
|
+
class RailwayTicketInfo < TencentCloud::Common::AbstractModel
|
5838
|
+
# @param TypeOfVoucher: 电子发票类型
|
5839
|
+
# @type TypeOfVoucher: String
|
5840
|
+
# @param ElectronicTicketNum: 电子客票号
|
5841
|
+
# @type ElectronicTicketNum: String
|
5842
|
+
# @param DateOfIssue: 开票日期
|
5843
|
+
# @type DateOfIssue: String
|
5844
|
+
# @param TypeOfBusiness: 售票或退票类型
|
5845
|
+
# @type TypeOfBusiness: String
|
5846
|
+
# @param DepartureStation: 始发站
|
5847
|
+
# @type DepartureStation: String
|
5848
|
+
# @param PhonicsOfDepartureStation: 始发站英文
|
5849
|
+
# @type PhonicsOfDepartureStation: String
|
5850
|
+
# @param DestinationStation: 到达站
|
5851
|
+
# @type DestinationStation: String
|
5852
|
+
# @param PhonicsOfDestinationStation: 到达站英文
|
5853
|
+
# @type PhonicsOfDestinationStation: String
|
5854
|
+
# @param TrainNumber: 火车号
|
5855
|
+
# @type TrainNumber: String
|
5856
|
+
# @param TravelDate: 火车出发日期
|
5857
|
+
# @type TravelDate: String
|
5858
|
+
# @param DepartureTime: 始发时间
|
5859
|
+
# @type DepartureTime: String
|
5860
|
+
# @param AirConditioningCharacteristics: 空调特点
|
5861
|
+
# @type AirConditioningCharacteristics: String
|
5862
|
+
# @param SeatLevel: 座位类型
|
5863
|
+
# @type SeatLevel: String
|
5864
|
+
# @param Carriage: 火车第几车
|
5865
|
+
# @type Carriage: String
|
5866
|
+
# @param Seat: 座位号
|
5867
|
+
# @type Seat: String
|
5868
|
+
# @param Fare: 票价
|
5869
|
+
# @type Fare: String
|
5870
|
+
# @param ElectronicInvoiceRailwayETicketNumber: 发票号码
|
5871
|
+
# @type ElectronicInvoiceRailwayETicketNumber: String
|
5872
|
+
# @param IdNumber: 身份证号
|
5873
|
+
# @type IdNumber: String
|
5874
|
+
# @param Name: 姓名
|
5875
|
+
# @type Name: String
|
5876
|
+
# @param TotalAmountExcludingTax: 金额
|
5877
|
+
# @type TotalAmountExcludingTax: String
|
5878
|
+
# @param TaxRate: 税率
|
5879
|
+
# @type TaxRate: String
|
5880
|
+
# @param TaxAmount: 税额
|
5881
|
+
# @type TaxAmount: String
|
5882
|
+
# @param NameOfPurchaser: 购买方名称
|
5883
|
+
# @type NameOfPurchaser: String
|
5884
|
+
# @param UnifiedSocialCreditCodeOfPurchaser: 统一社会信用代码
|
5885
|
+
# @type UnifiedSocialCreditCodeOfPurchaser: String
|
5886
|
+
# @param NumberOfOriginalInvoice: 原发票号码
|
5887
|
+
# @type NumberOfOriginalInvoice: String
|
5888
|
+
|
5889
|
+
attr_accessor :TypeOfVoucher, :ElectronicTicketNum, :DateOfIssue, :TypeOfBusiness, :DepartureStation, :PhonicsOfDepartureStation, :DestinationStation, :PhonicsOfDestinationStation, :TrainNumber, :TravelDate, :DepartureTime, :AirConditioningCharacteristics, :SeatLevel, :Carriage, :Seat, :Fare, :ElectronicInvoiceRailwayETicketNumber, :IdNumber, :Name, :TotalAmountExcludingTax, :TaxRate, :TaxAmount, :NameOfPurchaser, :UnifiedSocialCreditCodeOfPurchaser, :NumberOfOriginalInvoice
|
5890
|
+
|
5891
|
+
def initialize(typeofvoucher=nil, electronicticketnum=nil, dateofissue=nil, typeofbusiness=nil, departurestation=nil, phonicsofdeparturestation=nil, destinationstation=nil, phonicsofdestinationstation=nil, trainnumber=nil, traveldate=nil, departuretime=nil, airconditioningcharacteristics=nil, seatlevel=nil, carriage=nil, seat=nil, fare=nil, electronicinvoicerailwayeticketnumber=nil, idnumber=nil, name=nil, totalamountexcludingtax=nil, taxrate=nil, taxamount=nil, nameofpurchaser=nil, unifiedsocialcreditcodeofpurchaser=nil, numberoforiginalinvoice=nil)
|
5892
|
+
@TypeOfVoucher = typeofvoucher
|
5893
|
+
@ElectronicTicketNum = electronicticketnum
|
5894
|
+
@DateOfIssue = dateofissue
|
5895
|
+
@TypeOfBusiness = typeofbusiness
|
5896
|
+
@DepartureStation = departurestation
|
5897
|
+
@PhonicsOfDepartureStation = phonicsofdeparturestation
|
5898
|
+
@DestinationStation = destinationstation
|
5899
|
+
@PhonicsOfDestinationStation = phonicsofdestinationstation
|
5900
|
+
@TrainNumber = trainnumber
|
5901
|
+
@TravelDate = traveldate
|
5902
|
+
@DepartureTime = departuretime
|
5903
|
+
@AirConditioningCharacteristics = airconditioningcharacteristics
|
5904
|
+
@SeatLevel = seatlevel
|
5905
|
+
@Carriage = carriage
|
5906
|
+
@Seat = seat
|
5907
|
+
@Fare = fare
|
5908
|
+
@ElectronicInvoiceRailwayETicketNumber = electronicinvoicerailwayeticketnumber
|
5909
|
+
@IdNumber = idnumber
|
5910
|
+
@Name = name
|
5911
|
+
@TotalAmountExcludingTax = totalamountexcludingtax
|
5912
|
+
@TaxRate = taxrate
|
5913
|
+
@TaxAmount = taxamount
|
5914
|
+
@NameOfPurchaser = nameofpurchaser
|
5915
|
+
@UnifiedSocialCreditCodeOfPurchaser = unifiedsocialcreditcodeofpurchaser
|
5916
|
+
@NumberOfOriginalInvoice = numberoforiginalinvoice
|
5917
|
+
end
|
5918
|
+
|
5919
|
+
def deserialize(params)
|
5920
|
+
@TypeOfVoucher = params['TypeOfVoucher']
|
5921
|
+
@ElectronicTicketNum = params['ElectronicTicketNum']
|
5922
|
+
@DateOfIssue = params['DateOfIssue']
|
5923
|
+
@TypeOfBusiness = params['TypeOfBusiness']
|
5924
|
+
@DepartureStation = params['DepartureStation']
|
5925
|
+
@PhonicsOfDepartureStation = params['PhonicsOfDepartureStation']
|
5926
|
+
@DestinationStation = params['DestinationStation']
|
5927
|
+
@PhonicsOfDestinationStation = params['PhonicsOfDestinationStation']
|
5928
|
+
@TrainNumber = params['TrainNumber']
|
5929
|
+
@TravelDate = params['TravelDate']
|
5930
|
+
@DepartureTime = params['DepartureTime']
|
5931
|
+
@AirConditioningCharacteristics = params['AirConditioningCharacteristics']
|
5932
|
+
@SeatLevel = params['SeatLevel']
|
5933
|
+
@Carriage = params['Carriage']
|
5934
|
+
@Seat = params['Seat']
|
5935
|
+
@Fare = params['Fare']
|
5936
|
+
@ElectronicInvoiceRailwayETicketNumber = params['ElectronicInvoiceRailwayETicketNumber']
|
5937
|
+
@IdNumber = params['IdNumber']
|
5938
|
+
@Name = params['Name']
|
5939
|
+
@TotalAmountExcludingTax = params['TotalAmountExcludingTax']
|
5940
|
+
@TaxRate = params['TaxRate']
|
5941
|
+
@TaxAmount = params['TaxAmount']
|
5942
|
+
@NameOfPurchaser = params['NameOfPurchaser']
|
5943
|
+
@UnifiedSocialCreditCodeOfPurchaser = params['UnifiedSocialCreditCodeOfPurchaser']
|
5944
|
+
@NumberOfOriginalInvoice = params['NumberOfOriginalInvoice']
|
5945
|
+
end
|
5946
|
+
end
|
5947
|
+
|
5657
5948
|
# RecognizeContainerOCR请求参数结构体
|
5658
5949
|
class RecognizeContainerOCRRequest < TencentCloud::Common::AbstractModel
|
5659
5950
|
# @param ImageBase64: 图片的 Base64 值。
|
@@ -11354,12 +11645,16 @@ module TencentCloud
|
|
11354
11645
|
# @type Note: String
|
11355
11646
|
# @param GoodsInfos: 货物或服务清单
|
11356
11647
|
# @type GoodsInfos: Array
|
11648
|
+
# @param AirTicketInfo: 航空运输电子客票行程单信息
|
11649
|
+
# @type AirTicketInfo: :class:`Tencentcloud::Ocr.v20181119.models.AirTicketInfo`
|
11650
|
+
# @param RailwayTicketInfo: 铁路电子客票
|
11651
|
+
# @type RailwayTicketInfo: :class:`Tencentcloud::Ocr.v20181119.models.RailwayTicketInfo`
|
11357
11652
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
11358
11653
|
# @type RequestId: String
|
11359
11654
|
|
11360
|
-
attr_accessor :Type, :InvoiceCode, :InvoiceNumber, :IssueDate, :InvoiceCheckCode, :MachineNumber, :TaxControlCode, :Buyer, :Seller, :TaxInclusiveTotalAmount, :InvoiceClerk, :Payee, :Checker, :TaxTotalAmount, :TaxExclusiveTotalAmount, :Note, :GoodsInfos, :RequestId
|
11655
|
+
attr_accessor :Type, :InvoiceCode, :InvoiceNumber, :IssueDate, :InvoiceCheckCode, :MachineNumber, :TaxControlCode, :Buyer, :Seller, :TaxInclusiveTotalAmount, :InvoiceClerk, :Payee, :Checker, :TaxTotalAmount, :TaxExclusiveTotalAmount, :Note, :GoodsInfos, :AirTicketInfo, :RailwayTicketInfo, :RequestId
|
11361
11656
|
|
11362
|
-
def initialize(type=nil, invoicecode=nil, invoicenumber=nil, issuedate=nil, invoicecheckcode=nil, machinenumber=nil, taxcontrolcode=nil, buyer=nil, seller=nil, taxinclusivetotalamount=nil, invoiceclerk=nil, payee=nil, checker=nil, taxtotalamount=nil, taxexclusivetotalamount=nil, note=nil, goodsinfos=nil, requestid=nil)
|
11657
|
+
def initialize(type=nil, invoicecode=nil, invoicenumber=nil, issuedate=nil, invoicecheckcode=nil, machinenumber=nil, taxcontrolcode=nil, buyer=nil, seller=nil, taxinclusivetotalamount=nil, invoiceclerk=nil, payee=nil, checker=nil, taxtotalamount=nil, taxexclusivetotalamount=nil, note=nil, goodsinfos=nil, airticketinfo=nil, railwayticketinfo=nil, requestid=nil)
|
11363
11658
|
@Type = type
|
11364
11659
|
@InvoiceCode = invoicecode
|
11365
11660
|
@InvoiceNumber = invoicenumber
|
@@ -11377,6 +11672,8 @@ module TencentCloud
|
|
11377
11672
|
@TaxExclusiveTotalAmount = taxexclusivetotalamount
|
11378
11673
|
@Note = note
|
11379
11674
|
@GoodsInfos = goodsinfos
|
11675
|
+
@AirTicketInfo = airticketinfo
|
11676
|
+
@RailwayTicketInfo = railwayticketinfo
|
11380
11677
|
@RequestId = requestid
|
11381
11678
|
end
|
11382
11679
|
|
@@ -11411,6 +11708,14 @@ module TencentCloud
|
|
11411
11708
|
@GoodsInfos << vatinvoicegoodsinfo_tmp
|
11412
11709
|
end
|
11413
11710
|
end
|
11711
|
+
unless params['AirTicketInfo'].nil?
|
11712
|
+
@AirTicketInfo = AirTicketInfo.new
|
11713
|
+
@AirTicketInfo.deserialize(params['AirTicketInfo'])
|
11714
|
+
end
|
11715
|
+
unless params['RailwayTicketInfo'].nil?
|
11716
|
+
@RailwayTicketInfo = RailwayTicketInfo.new
|
11717
|
+
@RailwayTicketInfo.deserialize(params['RailwayTicketInfo'])
|
11718
|
+
end
|
11414
11719
|
@RequestId = params['RequestId']
|
11415
11720
|
end
|
11416
11721
|
end
|
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.698
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-11-
|
11
|
+
date: 2023-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|