tencentcloud-sdk-ocr 3.0.631 → 3.0.632
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20181119/client.rb +0 -58
- data/lib/v20181119/models.rb +0 -375
- 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: 617f0898135d570ecaf24f39bbe44ecc0281cb4e
|
4
|
+
data.tar.gz: 3015df741568b65a96db187264d49cd869be4355
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57331b8f16825a0f14937a739fe4f4e981690534681b21c8be190a794ba206f9eee2c9ae6f330354dd77d9eb5691badec50ca02c0b838e4b5f742541ff30e52b
|
7
|
+
data.tar.gz: 85c6cfdb523d724625adefde63ea706afda88932bb42642d76004aae7a3687ef0887a3a8ce316f0ba398c172f8102c89d9b7a8ba249d332f73e100ffe6b5360f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.632
|
data/lib/v20181119/client.rb
CHANGED
@@ -2427,64 +2427,6 @@ module TencentCloud
|
|
2427
2427
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2428
2428
|
end
|
2429
2429
|
|
2430
|
-
# 库源服务调整,该接口在2023年6月1日将正式下线。
|
2431
|
-
|
2432
|
-
# 本接口支持营业执照信息的识别与准确性核验。
|
2433
|
-
|
2434
|
-
# 您可以通过输入营业执照注册号或营业执照图片(若两者都输入则只用注册号做查询)进行核验,接口返回查询到的工商照面信息,并比对要校验的字段与查询结果的一致性。查询到工商信息包括:统一社会信用代码、经营期限、法人姓名、经营状态、经营业务范围、注册资本等。
|
2435
|
-
|
2436
|
-
# @param request: Request instance for VerifyBasicBizLicense.
|
2437
|
-
# @type request: :class:`Tencentcloud::ocr::V20181119::VerifyBasicBizLicenseRequest`
|
2438
|
-
# @rtype: :class:`Tencentcloud::ocr::V20181119::VerifyBasicBizLicenseResponse`
|
2439
|
-
def VerifyBasicBizLicense(request)
|
2440
|
-
body = send_request('VerifyBasicBizLicense', request.serialize)
|
2441
|
-
response = JSON.parse(body)
|
2442
|
-
if response['Response'].key?('Error') == false
|
2443
|
-
model = VerifyBasicBizLicenseResponse.new
|
2444
|
-
model.deserialize(response['Response'])
|
2445
|
-
model
|
2446
|
-
else
|
2447
|
-
code = response['Response']['Error']['Code']
|
2448
|
-
message = response['Response']['Error']['Message']
|
2449
|
-
reqid = response['Response']['RequestId']
|
2450
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2451
|
-
end
|
2452
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2453
|
-
raise e
|
2454
|
-
rescue StandardError => e
|
2455
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2456
|
-
end
|
2457
|
-
|
2458
|
-
# 库源服务调整,该接口在2023年6月1日将正式下线。
|
2459
|
-
|
2460
|
-
# 本接口支持营业执照信息的识别与准确性核验,返回的真实工商照面信息比营业执照识别及核验(基础版)接口更详细。
|
2461
|
-
|
2462
|
-
# 您可以输入营业执照注册号或营业执照图片(若两者都输入则只用注册号做查询),接口返回查询到的工商照面信息,并比对要校验的字段与查询结果的一致性。
|
2463
|
-
|
2464
|
-
# 查询到工商信息包括:统一社会信用代码、组织机构代码、经营期限、法人姓名、经营状态、经营业务范围及方式、注册资金、注册币种、登记机关、开业日期、企业(机构)类型、注销日期、吊销日期、许可经营项目、一般经营项目、核准时间、省、地级市、区/县、住所所在行政区划代码、行业门类代码、行业门类名称、国民经济行业代码、国民经济行业名称、经营(业务)范围等。
|
2465
|
-
|
2466
|
-
# @param request: Request instance for VerifyBizLicense.
|
2467
|
-
# @type request: :class:`Tencentcloud::ocr::V20181119::VerifyBizLicenseRequest`
|
2468
|
-
# @rtype: :class:`Tencentcloud::ocr::V20181119::VerifyBizLicenseResponse`
|
2469
|
-
def VerifyBizLicense(request)
|
2470
|
-
body = send_request('VerifyBizLicense', request.serialize)
|
2471
|
-
response = JSON.parse(body)
|
2472
|
-
if response['Response'].key?('Error') == false
|
2473
|
-
model = VerifyBizLicenseResponse.new
|
2474
|
-
model.deserialize(response['Response'])
|
2475
|
-
model
|
2476
|
-
else
|
2477
|
-
code = response['Response']['Error']['Code']
|
2478
|
-
message = response['Response']['Error']['Message']
|
2479
|
-
reqid = response['Response']['RequestId']
|
2480
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2481
|
-
end
|
2482
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2483
|
-
raise e
|
2484
|
-
rescue StandardError => e
|
2485
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2486
|
-
end
|
2487
|
-
|
2488
2430
|
# 本接口支持OFD格式的增值税电子普通发票和增值税电子专用发票的识别,返回发票代码、发票号码、开票日期、验证码、机器编号、密码区,购买方和销售方信息,包括名称、纳税人识别号、地址电话、开户行及账号,以及价税合计、开票人、收款人、复核人、税额、不含税金额等字段信息。
|
2489
2431
|
|
2490
2432
|
# @param request: Request instance for VerifyOfdVatInvoiceOCR.
|
data/lib/v20181119/models.rb
CHANGED
@@ -603,35 +603,6 @@ module TencentCloud
|
|
603
603
|
end
|
604
604
|
end
|
605
605
|
|
606
|
-
# 验真接口
|
607
|
-
class BizLicenseVerifyResult < TencentCloud::Common::AbstractModel
|
608
|
-
# @param RegNum: “0“:一致
|
609
|
-
# “-1”:不一致
|
610
|
-
# @type RegNum: String
|
611
|
-
# @param Name: “0“:一致
|
612
|
-
# “-1”:不一致
|
613
|
-
# “”:不验真
|
614
|
-
# @type Name: String
|
615
|
-
# @param Address: “0“:一致
|
616
|
-
# “-1”:不一致
|
617
|
-
# “”:不验真
|
618
|
-
# @type Address: String
|
619
|
-
|
620
|
-
attr_accessor :RegNum, :Name, :Address
|
621
|
-
|
622
|
-
def initialize(regnum=nil, name=nil, address=nil)
|
623
|
-
@RegNum = regnum
|
624
|
-
@Name = name
|
625
|
-
@Address = address
|
626
|
-
end
|
627
|
-
|
628
|
-
def deserialize(params)
|
629
|
-
@RegNum = params['RegNum']
|
630
|
-
@Name = params['Name']
|
631
|
-
@Address = params['Address']
|
632
|
-
end
|
633
|
-
end
|
634
|
-
|
635
606
|
# 汽车票
|
636
607
|
class BusInvoice < TencentCloud::Common::AbstractModel
|
637
608
|
# @param Title: 发票名称
|
@@ -11227,352 +11198,6 @@ module TencentCloud
|
|
11227
11198
|
end
|
11228
11199
|
end
|
11229
11200
|
|
11230
|
-
# VerifyBasicBizLicense请求参数结构体
|
11231
|
-
class VerifyBasicBizLicenseRequest < TencentCloud::Common::AbstractModel
|
11232
|
-
# @param ImageBase64: 用于入参是营业执照图片的场景,ImageBase64和ImageUrl必须提供一个,如果都提供,只使用 ImageUrl。
|
11233
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
11234
|
-
# 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
11235
|
-
# @type ImageBase64: String
|
11236
|
-
# @param ImageUrl: 用于入参是营业执照图片的场景,ImageBase64和ImageUrl必须提供一个,如果都提供,只使用 ImageUrl。
|
11237
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
11238
|
-
# 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
11239
|
-
# @type ImageUrl: String
|
11240
|
-
# @param ImageConfig: 用于入参是营业执照图片的场景,表示需要校验的参数:RegNum(注册号或者统一社会信用代码),Name(企业名称),Address(经营地址)。选择后会返回相关参数校验结果。RegNum为必选,Name和Address可选。
|
11241
|
-
# 格式为{RegNum: true, Name:true/false, Address:true/false}
|
11242
|
-
|
11243
|
-
# 设置方式参考:
|
11244
|
-
# Config = Json.stringify({"Name":true,"Address":true})
|
11245
|
-
# API 3.0 Explorer 设置方式参考:
|
11246
|
-
# Config = {"Name":true,"Address":true}
|
11247
|
-
# @type ImageConfig: String
|
11248
|
-
# @param RegNum: 用于入参是文本的场景,RegNum表示注册号或者统一社会信用代码。若没有传入营业执照图片,则RegNum为必选项,若图片和RegNum都传入,则只使用RegNum。
|
11249
|
-
# @type RegNum: String
|
11250
|
-
# @param Name: 用于入参是文本的场景,Name表示企业名称。Name为可选项,填写后会返回Name的校验结果。
|
11251
|
-
# @type Name: String
|
11252
|
-
# @param Address: 用于入参是文本的场景,Address表示经营地址。Address为可选项,填写后会返回Address的校验结果。
|
11253
|
-
# @type Address: String
|
11254
|
-
# @param RegCapital: 1表示输出注册资本字段(单位:万元),其他值表示不输出。默认不输出。
|
11255
|
-
# @type RegCapital: Integer
|
11256
|
-
# @param EstablishTime: true表示展示成立/注册日期
|
11257
|
-
# @type EstablishTime: Boolean
|
11258
|
-
|
11259
|
-
attr_accessor :ImageBase64, :ImageUrl, :ImageConfig, :RegNum, :Name, :Address, :RegCapital, :EstablishTime
|
11260
|
-
|
11261
|
-
def initialize(imagebase64=nil, imageurl=nil, imageconfig=nil, regnum=nil, name=nil, address=nil, regcapital=nil, establishtime=nil)
|
11262
|
-
@ImageBase64 = imagebase64
|
11263
|
-
@ImageUrl = imageurl
|
11264
|
-
@ImageConfig = imageconfig
|
11265
|
-
@RegNum = regnum
|
11266
|
-
@Name = name
|
11267
|
-
@Address = address
|
11268
|
-
@RegCapital = regcapital
|
11269
|
-
@EstablishTime = establishtime
|
11270
|
-
end
|
11271
|
-
|
11272
|
-
def deserialize(params)
|
11273
|
-
@ImageBase64 = params['ImageBase64']
|
11274
|
-
@ImageUrl = params['ImageUrl']
|
11275
|
-
@ImageConfig = params['ImageConfig']
|
11276
|
-
@RegNum = params['RegNum']
|
11277
|
-
@Name = params['Name']
|
11278
|
-
@Address = params['Address']
|
11279
|
-
@RegCapital = params['RegCapital']
|
11280
|
-
@EstablishTime = params['EstablishTime']
|
11281
|
-
end
|
11282
|
-
end
|
11283
|
-
|
11284
|
-
# VerifyBasicBizLicense返回参数结构体
|
11285
|
-
class VerifyBasicBizLicenseResponse < TencentCloud::Common::AbstractModel
|
11286
|
-
# @param ErrorCode: 状态码,成功时返回0
|
11287
|
-
# @type ErrorCode: Integer
|
11288
|
-
# @param CreditCode: 统一社会信用代码
|
11289
|
-
# @type CreditCode: String
|
11290
|
-
# @param Opfrom: 经营期限自(YYYY-MM-DD)
|
11291
|
-
# @type Opfrom: String
|
11292
|
-
# @param Opto: 经营期限至(YYYY-MM-DD)
|
11293
|
-
# @type Opto: String
|
11294
|
-
# @param Frname: 法人姓名
|
11295
|
-
# @type Frname: String
|
11296
|
-
# @param Entstatus: 经营状态,包括:成立、筹建、存续、在营、开业、在册、正常经营、开业登记中、登记成立、撤销、撤销登记、非正常户、告解、个体暂时吊销、个体转企业、吊销(未注销)、拟注销、已注销、(待)迁入、(待)迁出、停业、歇业、清算等。
|
11297
|
-
# @type Entstatus: String
|
11298
|
-
# @param Zsopscope: 经营业务范围
|
11299
|
-
# @type Zsopscope: String
|
11300
|
-
# @param Reason: 查询的状态信息
|
11301
|
-
# @type Reason: String
|
11302
|
-
# @param Oriregno: 原注册号
|
11303
|
-
# @type Oriregno: String
|
11304
|
-
# @param VerifyRegno: 要核验的工商注册号
|
11305
|
-
# @type VerifyRegno: String
|
11306
|
-
# @param Regno: 工商注册号
|
11307
|
-
# @type Regno: String
|
11308
|
-
# @param VerifyEntname: 要核验的企业名称
|
11309
|
-
# @type VerifyEntname: String
|
11310
|
-
# @param Entname: 企业名称
|
11311
|
-
# @type Entname: String
|
11312
|
-
# @param VerifyDom: 要核验的住址
|
11313
|
-
# @type VerifyDom: String
|
11314
|
-
# @param Dom: 住址
|
11315
|
-
# @type Dom: String
|
11316
|
-
# @param RegNumResult: 验证结果
|
11317
|
-
# @type RegNumResult: :class:`Tencentcloud::Ocr.v20181119.models.BizLicenseVerifyResult`
|
11318
|
-
# @param RegCapital: 注册资本(单位:万元),只有输入参数regCapital为1的时候才输出
|
11319
|
-
# @type RegCapital: String
|
11320
|
-
# @param EstablishTime: 成立/注册日期,只有输入参数EstablishTime为true时展示,默认为空
|
11321
|
-
# @type EstablishTime: String
|
11322
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
11323
|
-
# @type RequestId: String
|
11324
|
-
|
11325
|
-
attr_accessor :ErrorCode, :CreditCode, :Opfrom, :Opto, :Frname, :Entstatus, :Zsopscope, :Reason, :Oriregno, :VerifyRegno, :Regno, :VerifyEntname, :Entname, :VerifyDom, :Dom, :RegNumResult, :RegCapital, :EstablishTime, :RequestId
|
11326
|
-
|
11327
|
-
def initialize(errorcode=nil, creditcode=nil, opfrom=nil, opto=nil, frname=nil, entstatus=nil, zsopscope=nil, reason=nil, oriregno=nil, verifyregno=nil, regno=nil, verifyentname=nil, entname=nil, verifydom=nil, dom=nil, regnumresult=nil, regcapital=nil, establishtime=nil, requestid=nil)
|
11328
|
-
@ErrorCode = errorcode
|
11329
|
-
@CreditCode = creditcode
|
11330
|
-
@Opfrom = opfrom
|
11331
|
-
@Opto = opto
|
11332
|
-
@Frname = frname
|
11333
|
-
@Entstatus = entstatus
|
11334
|
-
@Zsopscope = zsopscope
|
11335
|
-
@Reason = reason
|
11336
|
-
@Oriregno = oriregno
|
11337
|
-
@VerifyRegno = verifyregno
|
11338
|
-
@Regno = regno
|
11339
|
-
@VerifyEntname = verifyentname
|
11340
|
-
@Entname = entname
|
11341
|
-
@VerifyDom = verifydom
|
11342
|
-
@Dom = dom
|
11343
|
-
@RegNumResult = regnumresult
|
11344
|
-
@RegCapital = regcapital
|
11345
|
-
@EstablishTime = establishtime
|
11346
|
-
@RequestId = requestid
|
11347
|
-
end
|
11348
|
-
|
11349
|
-
def deserialize(params)
|
11350
|
-
@ErrorCode = params['ErrorCode']
|
11351
|
-
@CreditCode = params['CreditCode']
|
11352
|
-
@Opfrom = params['Opfrom']
|
11353
|
-
@Opto = params['Opto']
|
11354
|
-
@Frname = params['Frname']
|
11355
|
-
@Entstatus = params['Entstatus']
|
11356
|
-
@Zsopscope = params['Zsopscope']
|
11357
|
-
@Reason = params['Reason']
|
11358
|
-
@Oriregno = params['Oriregno']
|
11359
|
-
@VerifyRegno = params['VerifyRegno']
|
11360
|
-
@Regno = params['Regno']
|
11361
|
-
@VerifyEntname = params['VerifyEntname']
|
11362
|
-
@Entname = params['Entname']
|
11363
|
-
@VerifyDom = params['VerifyDom']
|
11364
|
-
@Dom = params['Dom']
|
11365
|
-
unless params['RegNumResult'].nil?
|
11366
|
-
@RegNumResult = BizLicenseVerifyResult.new
|
11367
|
-
@RegNumResult.deserialize(params['RegNumResult'])
|
11368
|
-
end
|
11369
|
-
@RegCapital = params['RegCapital']
|
11370
|
-
@EstablishTime = params['EstablishTime']
|
11371
|
-
@RequestId = params['RequestId']
|
11372
|
-
end
|
11373
|
-
end
|
11374
|
-
|
11375
|
-
# VerifyBizLicense请求参数结构体
|
11376
|
-
class VerifyBizLicenseRequest < TencentCloud::Common::AbstractModel
|
11377
|
-
# @param ImageBase64: 用于入参是营业执照图片的场景,ImageBase64和ImageUrl必须提供一个,如果都提供,只使用 ImageUrl。
|
11378
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
11379
|
-
# 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
11380
|
-
# @type ImageBase64: String
|
11381
|
-
# @param ImageUrl: 用于入参是营业执照图片的场景,ImageBase64和ImageUrl必须提供一个,如果都提供,只使用 ImageUrl。
|
11382
|
-
# 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
11383
|
-
# 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
11384
|
-
# @type ImageUrl: String
|
11385
|
-
# @param ImageConfig: 用于入参是营业执照图片的场景,表示需要校验的参数:RegNum(注册号或者统一社会信用代码),Name(企业名称),Address(经营地址)。选择后会返回相关参数校验结果。RegNum为必选,Name和Address可选。
|
11386
|
-
# 格式为{RegNum: true, Name:true/false, Address:true/false}
|
11387
|
-
|
11388
|
-
# 设置方式参考:
|
11389
|
-
# Config = Json.stringify({"Name":true,"Address":true})
|
11390
|
-
# API 3.0 Explorer 设置方式参考:
|
11391
|
-
# Config = {"Name":true,"Address":true}
|
11392
|
-
# @type ImageConfig: String
|
11393
|
-
# @param RegNum: 用于入参是文本的场景,RegNum表示注册号或者统一社会信用代码。若没有传入营业执照图片,则RegNum为必选项,若图片和RegNum都传入,则只使用RegNum。
|
11394
|
-
# @type RegNum: String
|
11395
|
-
# @param Name: 用于入参是文本的场景,Name表示企业名称。Name为可选项,填写后会返回Name的校验结果。
|
11396
|
-
# @type Name: String
|
11397
|
-
# @param Address: 用于入参是文本的场景,Address表示经营地址,填写后会返回Address的校验结果。
|
11398
|
-
# @type Address: String
|
11399
|
-
|
11400
|
-
attr_accessor :ImageBase64, :ImageUrl, :ImageConfig, :RegNum, :Name, :Address
|
11401
|
-
|
11402
|
-
def initialize(imagebase64=nil, imageurl=nil, imageconfig=nil, regnum=nil, name=nil, address=nil)
|
11403
|
-
@ImageBase64 = imagebase64
|
11404
|
-
@ImageUrl = imageurl
|
11405
|
-
@ImageConfig = imageconfig
|
11406
|
-
@RegNum = regnum
|
11407
|
-
@Name = name
|
11408
|
-
@Address = address
|
11409
|
-
end
|
11410
|
-
|
11411
|
-
def deserialize(params)
|
11412
|
-
@ImageBase64 = params['ImageBase64']
|
11413
|
-
@ImageUrl = params['ImageUrl']
|
11414
|
-
@ImageConfig = params['ImageConfig']
|
11415
|
-
@RegNum = params['RegNum']
|
11416
|
-
@Name = params['Name']
|
11417
|
-
@Address = params['Address']
|
11418
|
-
end
|
11419
|
-
end
|
11420
|
-
|
11421
|
-
# VerifyBizLicense返回参数结构体
|
11422
|
-
class VerifyBizLicenseResponse < TencentCloud::Common::AbstractModel
|
11423
|
-
# @param ErrorCode: 状态码
|
11424
|
-
# @type ErrorCode: Integer
|
11425
|
-
# @param CreditCode: 统一社会信用代码
|
11426
|
-
# @type CreditCode: String
|
11427
|
-
# @param OrgCode: 组织机构代码
|
11428
|
-
# @type OrgCode: String
|
11429
|
-
# @param OpenFrom: 经营期限自(YYYY-MM-DD)
|
11430
|
-
# @type OpenFrom: String
|
11431
|
-
# @param OpenTo: 经营期限至(YYYY-MM-DD)
|
11432
|
-
# @type OpenTo: String
|
11433
|
-
# @param FrName: 法人姓名
|
11434
|
-
# @type FrName: String
|
11435
|
-
# @param EnterpriseStatus: 经营状态,包括:成立、筹建、存续、在营、开业、在册、正常经营、开业登记中、登记成立、撤销、撤销登记、非正常户、告解、个体暂时吊销、个体转企业、吊销(未注销)、拟注销、已注销、(待)迁入、(待)迁出、停业、歇业、清算等。
|
11436
|
-
# @type EnterpriseStatus: String
|
11437
|
-
# @param OperateScopeAndForm: 经营(业务)范围及方式
|
11438
|
-
# @type OperateScopeAndForm: String
|
11439
|
-
# @param RegCap: 注册资金(单位:万元)
|
11440
|
-
# @type RegCap: String
|
11441
|
-
# @param RegCapCur: 注册币种
|
11442
|
-
# @type RegCapCur: String
|
11443
|
-
# @param RegOrg: 登记机关
|
11444
|
-
# @type RegOrg: String
|
11445
|
-
# @param EsDate: 开业日期(YYYY-MM-DD)
|
11446
|
-
# @type EsDate: String
|
11447
|
-
# @param EnterpriseType: 企业(机构)类型
|
11448
|
-
# @type EnterpriseType: String
|
11449
|
-
# @param CancelDate: 注销日期
|
11450
|
-
# @type CancelDate: String
|
11451
|
-
# @param RevokeDate: 吊销日期
|
11452
|
-
# @type RevokeDate: String
|
11453
|
-
# @param AbuItem: 许可经营项目
|
11454
|
-
# @type AbuItem: String
|
11455
|
-
# @param CbuItem: 一般经营项目
|
11456
|
-
# @type CbuItem: String
|
11457
|
-
# @param ApprDate: 核准时间
|
11458
|
-
# @type ApprDate: String
|
11459
|
-
# @param Province: 省(返回空值)
|
11460
|
-
# @type Province: String
|
11461
|
-
# @param City: 地级市(返回空值)
|
11462
|
-
# @type City: String
|
11463
|
-
# @param County: 区\县(返回空值)
|
11464
|
-
# @type County: String
|
11465
|
-
# @param AreaCode: 住所所在行政区划代码(返回空值)
|
11466
|
-
# @type AreaCode: String
|
11467
|
-
# @param IndustryPhyCode: 行业门类代码(返回空值)
|
11468
|
-
# @type IndustryPhyCode: String
|
11469
|
-
# @param IndustryPhyName: 行业门类名称(返回空值)
|
11470
|
-
# @type IndustryPhyName: String
|
11471
|
-
# @param IndustryCode: 国民经济行业代码(返回空值)
|
11472
|
-
# @type IndustryCode: String
|
11473
|
-
# @param IndustryName: 国民经济行业名称(返回空值)
|
11474
|
-
# @type IndustryName: String
|
11475
|
-
# @param OperateScope: 经营(业务)范围
|
11476
|
-
# @type OperateScope: String
|
11477
|
-
# @param VerifyRegNo: 要核验的工商注册号
|
11478
|
-
# @type VerifyRegNo: String
|
11479
|
-
# @param RegNo: 工商注册号
|
11480
|
-
# @type RegNo: String
|
11481
|
-
# @param VerifyEnterpriseName: 要核验的企业名称
|
11482
|
-
# @type VerifyEnterpriseName: String
|
11483
|
-
# @param EnterpriseName: 企业名称
|
11484
|
-
# @type EnterpriseName: String
|
11485
|
-
# @param VerifyAddress: 要核验的注册地址
|
11486
|
-
# @type VerifyAddress: String
|
11487
|
-
# @param Address: 注册地址
|
11488
|
-
# @type Address: String
|
11489
|
-
# @param RegNumResult: 验证结果
|
11490
|
-
# @type RegNumResult: :class:`Tencentcloud::Ocr.v20181119.models.BizLicenseVerifyResult`
|
11491
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
11492
|
-
# @type RequestId: String
|
11493
|
-
|
11494
|
-
attr_accessor :ErrorCode, :CreditCode, :OrgCode, :OpenFrom, :OpenTo, :FrName, :EnterpriseStatus, :OperateScopeAndForm, :RegCap, :RegCapCur, :RegOrg, :EsDate, :EnterpriseType, :CancelDate, :RevokeDate, :AbuItem, :CbuItem, :ApprDate, :Province, :City, :County, :AreaCode, :IndustryPhyCode, :IndustryPhyName, :IndustryCode, :IndustryName, :OperateScope, :VerifyRegNo, :RegNo, :VerifyEnterpriseName, :EnterpriseName, :VerifyAddress, :Address, :RegNumResult, :RequestId
|
11495
|
-
|
11496
|
-
def initialize(errorcode=nil, creditcode=nil, orgcode=nil, openfrom=nil, opento=nil, frname=nil, enterprisestatus=nil, operatescopeandform=nil, regcap=nil, regcapcur=nil, regorg=nil, esdate=nil, enterprisetype=nil, canceldate=nil, revokedate=nil, abuitem=nil, cbuitem=nil, apprdate=nil, province=nil, city=nil, county=nil, areacode=nil, industryphycode=nil, industryphyname=nil, industrycode=nil, industryname=nil, operatescope=nil, verifyregno=nil, regno=nil, verifyenterprisename=nil, enterprisename=nil, verifyaddress=nil, address=nil, regnumresult=nil, requestid=nil)
|
11497
|
-
@ErrorCode = errorcode
|
11498
|
-
@CreditCode = creditcode
|
11499
|
-
@OrgCode = orgcode
|
11500
|
-
@OpenFrom = openfrom
|
11501
|
-
@OpenTo = opento
|
11502
|
-
@FrName = frname
|
11503
|
-
@EnterpriseStatus = enterprisestatus
|
11504
|
-
@OperateScopeAndForm = operatescopeandform
|
11505
|
-
@RegCap = regcap
|
11506
|
-
@RegCapCur = regcapcur
|
11507
|
-
@RegOrg = regorg
|
11508
|
-
@EsDate = esdate
|
11509
|
-
@EnterpriseType = enterprisetype
|
11510
|
-
@CancelDate = canceldate
|
11511
|
-
@RevokeDate = revokedate
|
11512
|
-
@AbuItem = abuitem
|
11513
|
-
@CbuItem = cbuitem
|
11514
|
-
@ApprDate = apprdate
|
11515
|
-
@Province = province
|
11516
|
-
@City = city
|
11517
|
-
@County = county
|
11518
|
-
@AreaCode = areacode
|
11519
|
-
@IndustryPhyCode = industryphycode
|
11520
|
-
@IndustryPhyName = industryphyname
|
11521
|
-
@IndustryCode = industrycode
|
11522
|
-
@IndustryName = industryname
|
11523
|
-
@OperateScope = operatescope
|
11524
|
-
@VerifyRegNo = verifyregno
|
11525
|
-
@RegNo = regno
|
11526
|
-
@VerifyEnterpriseName = verifyenterprisename
|
11527
|
-
@EnterpriseName = enterprisename
|
11528
|
-
@VerifyAddress = verifyaddress
|
11529
|
-
@Address = address
|
11530
|
-
@RegNumResult = regnumresult
|
11531
|
-
@RequestId = requestid
|
11532
|
-
end
|
11533
|
-
|
11534
|
-
def deserialize(params)
|
11535
|
-
@ErrorCode = params['ErrorCode']
|
11536
|
-
@CreditCode = params['CreditCode']
|
11537
|
-
@OrgCode = params['OrgCode']
|
11538
|
-
@OpenFrom = params['OpenFrom']
|
11539
|
-
@OpenTo = params['OpenTo']
|
11540
|
-
@FrName = params['FrName']
|
11541
|
-
@EnterpriseStatus = params['EnterpriseStatus']
|
11542
|
-
@OperateScopeAndForm = params['OperateScopeAndForm']
|
11543
|
-
@RegCap = params['RegCap']
|
11544
|
-
@RegCapCur = params['RegCapCur']
|
11545
|
-
@RegOrg = params['RegOrg']
|
11546
|
-
@EsDate = params['EsDate']
|
11547
|
-
@EnterpriseType = params['EnterpriseType']
|
11548
|
-
@CancelDate = params['CancelDate']
|
11549
|
-
@RevokeDate = params['RevokeDate']
|
11550
|
-
@AbuItem = params['AbuItem']
|
11551
|
-
@CbuItem = params['CbuItem']
|
11552
|
-
@ApprDate = params['ApprDate']
|
11553
|
-
@Province = params['Province']
|
11554
|
-
@City = params['City']
|
11555
|
-
@County = params['County']
|
11556
|
-
@AreaCode = params['AreaCode']
|
11557
|
-
@IndustryPhyCode = params['IndustryPhyCode']
|
11558
|
-
@IndustryPhyName = params['IndustryPhyName']
|
11559
|
-
@IndustryCode = params['IndustryCode']
|
11560
|
-
@IndustryName = params['IndustryName']
|
11561
|
-
@OperateScope = params['OperateScope']
|
11562
|
-
@VerifyRegNo = params['VerifyRegNo']
|
11563
|
-
@RegNo = params['RegNo']
|
11564
|
-
@VerifyEnterpriseName = params['VerifyEnterpriseName']
|
11565
|
-
@EnterpriseName = params['EnterpriseName']
|
11566
|
-
@VerifyAddress = params['VerifyAddress']
|
11567
|
-
@Address = params['Address']
|
11568
|
-
unless params['RegNumResult'].nil?
|
11569
|
-
@RegNumResult = BizLicenseVerifyResult.new
|
11570
|
-
@RegNumResult.deserialize(params['RegNumResult'])
|
11571
|
-
end
|
11572
|
-
@RequestId = params['RequestId']
|
11573
|
-
end
|
11574
|
-
end
|
11575
|
-
|
11576
11201
|
# VerifyOfdVatInvoiceOCR请求参数结构体
|
11577
11202
|
class VerifyOfdVatInvoiceOCRRequest < TencentCloud::Common::AbstractModel
|
11578
11203
|
# @param OfdFileUrl: OFD文件的 Url 地址。
|
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.632
|
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-08-
|
11
|
+
date: 2023-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|