tencentcloud-sdk-cpdp 3.0.424 → 3.0.425

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7e2d689cb914e2332c66f2594aaa8b3ec03e3789
4
- data.tar.gz: 8f37264da198cd6b45192ba2ed9c46a0de3253cd
3
+ metadata.gz: 71973cf9445faf0c870075e39c717c9f9e7003c2
4
+ data.tar.gz: c8d3f54ce8202b3b7707a0cae6abf5cc7bec2307
5
5
  SHA512:
6
- metadata.gz: 59d2ed3cca64d9b4d8b27f26635a819b5e81be1de86db907c0d9d11311694d829dce895cfac79f2b754c52057ecef37e50ad67a97fffed028e92cdc563b5511c
7
- data.tar.gz: 3b0001343fe526f4cb26850cee16b07dc4812acf27172770ba6001ebd4a7cd75e3d0ca763d3d4dec82d0992a2a05e69200e638656584b3f0cf5d2658f4d4a511
6
+ metadata.gz: 707cffc6896781af1e108999882f6c3a7eb4ac5fc20d251758992f00be61f5b365743e0f648b260d0214b1f9446d386dbf171fab488e5f1a960de799491aa26a
7
+ data.tar.gz: 582c3c4596ea1c62980f6e84370d0511c160ddeff9cb7b8bbb91778f28d062602e61cb1d6aefce8ad3dfbaa698d1b2b43c778104d06d12a3a5aff6a4ea2b1c2c
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.424
1
+ 3.0.425
@@ -2631,6 +2631,30 @@ module TencentCloud
2631
2631
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2632
2632
  end
2633
2633
 
2634
+ # 智慧零售-查询公司抬头
2635
+
2636
+ # @param request: Request instance for QueryCompanyTitle.
2637
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::QueryCompanyTitleRequest`
2638
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::QueryCompanyTitleResponse`
2639
+ def QueryCompanyTitle(request)
2640
+ body = send_request('QueryCompanyTitle', request.serialize)
2641
+ response = JSON.parse(body)
2642
+ if response['Response'].key?('Error') == false
2643
+ model = QueryCompanyTitleResponse.new
2644
+ model.deserialize(response['Response'])
2645
+ model
2646
+ else
2647
+ code = response['Response']['Error']['Code']
2648
+ message = response['Response']['Error']['Message']
2649
+ reqid = response['Response']['RequestId']
2650
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2651
+ end
2652
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2653
+ raise e
2654
+ rescue StandardError => e
2655
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2656
+ end
2657
+
2634
2658
  # 通过此接口查询签约数据
2635
2659
 
2636
2660
  # @param request: Request instance for QueryContract.
@@ -4297,6 +4297,48 @@ module TencentCloud
4297
4297
  end
4298
4298
  end
4299
4299
 
4300
+ # 公司抬头结果
4301
+ class CompanyTitleResult < TencentCloud::Common::AbstractModel
4302
+ # @param CompanyBankAccount: 公司银行账号
4303
+ # 注意:此字段可能返回 null,表示取不到有效值。
4304
+ # @type CompanyBankAccount: String
4305
+ # @param CompanyAddress: 公司地址
4306
+ # 注意:此字段可能返回 null,表示取不到有效值。
4307
+ # @type CompanyAddress: String
4308
+ # @param CompanyTaxpayerNum: 公司税号
4309
+ # 注意:此字段可能返回 null,表示取不到有效值。
4310
+ # @type CompanyTaxpayerNum: String
4311
+ # @param CompanyName: 公司名称
4312
+ # 注意:此字段可能返回 null,表示取不到有效值。
4313
+ # @type CompanyName: String
4314
+ # @param CompanyBankName: 公司银行名称
4315
+ # 注意:此字段可能返回 null,表示取不到有效值。
4316
+ # @type CompanyBankName: String
4317
+ # @param CompanyPhone: 公司电话
4318
+ # 注意:此字段可能返回 null,表示取不到有效值。
4319
+ # @type CompanyPhone: String
4320
+
4321
+ attr_accessor :CompanyBankAccount, :CompanyAddress, :CompanyTaxpayerNum, :CompanyName, :CompanyBankName, :CompanyPhone
4322
+
4323
+ def initialize(companybankaccount=nil, companyaddress=nil, companytaxpayernum=nil, companyname=nil, companybankname=nil, companyphone=nil)
4324
+ @CompanyBankAccount = companybankaccount
4325
+ @CompanyAddress = companyaddress
4326
+ @CompanyTaxpayerNum = companytaxpayernum
4327
+ @CompanyName = companyname
4328
+ @CompanyBankName = companybankname
4329
+ @CompanyPhone = companyphone
4330
+ end
4331
+
4332
+ def deserialize(params)
4333
+ @CompanyBankAccount = params['CompanyBankAccount']
4334
+ @CompanyAddress = params['CompanyAddress']
4335
+ @CompanyTaxpayerNum = params['CompanyTaxpayerNum']
4336
+ @CompanyName = params['CompanyName']
4337
+ @CompanyBankName = params['CompanyBankName']
4338
+ @CompanyPhone = params['CompanyPhone']
4339
+ end
4340
+ end
4341
+
4300
4342
  # ConfirmOrder请求参数结构体
4301
4343
  class ConfirmOrderRequest < TencentCloud::Common::AbstractModel
4302
4344
  # @param MerchantAppId: 分配给商户的AppId
@@ -14891,6 +14933,70 @@ module TencentCloud
14891
14933
  end
14892
14934
  end
14893
14935
 
14936
+ # QueryCompanyTitle请求参数结构体
14937
+ class QueryCompanyTitleRequest < TencentCloud::Common::AbstractModel
14938
+ # @param CompanyTitleKeyword: 公司抬头关键字
14939
+ # @type CompanyTitleKeyword: String
14940
+ # @param InvoicePlatformId: 开票平台ID。0:高灯,1:票易通
14941
+ # @type InvoicePlatformId: Integer
14942
+ # @param SellerTaxpayerNum: 销方纳税人识别号
14943
+ # @type SellerTaxpayerNum: String
14944
+ # @param Profile: 接入环境。沙箱环境填sandbox。
14945
+ # @type Profile: String
14946
+
14947
+ attr_accessor :CompanyTitleKeyword, :InvoicePlatformId, :SellerTaxpayerNum, :Profile
14948
+
14949
+ def initialize(companytitlekeyword=nil, invoiceplatformid=nil, sellertaxpayernum=nil, profile=nil)
14950
+ @CompanyTitleKeyword = companytitlekeyword
14951
+ @InvoicePlatformId = invoiceplatformid
14952
+ @SellerTaxpayerNum = sellertaxpayernum
14953
+ @Profile = profile
14954
+ end
14955
+
14956
+ def deserialize(params)
14957
+ @CompanyTitleKeyword = params['CompanyTitleKeyword']
14958
+ @InvoicePlatformId = params['InvoicePlatformId']
14959
+ @SellerTaxpayerNum = params['SellerTaxpayerNum']
14960
+ @Profile = params['Profile']
14961
+ end
14962
+ end
14963
+
14964
+ # QueryCompanyTitle返回参数结构体
14965
+ class QueryCompanyTitleResponse < TencentCloud::Common::AbstractModel
14966
+ # @param ErrCode: 错误码
14967
+ # @type ErrCode: String
14968
+ # @param ErrMessage: 错误消息
14969
+ # @type ErrMessage: String
14970
+ # @param Result: 公司抬头结果
14971
+ # 注意:此字段可能返回 null,表示取不到有效值。
14972
+ # @type Result: Array
14973
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
14974
+ # @type RequestId: String
14975
+
14976
+ attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
14977
+
14978
+ def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
14979
+ @ErrCode = errcode
14980
+ @ErrMessage = errmessage
14981
+ @Result = result
14982
+ @RequestId = requestid
14983
+ end
14984
+
14985
+ def deserialize(params)
14986
+ @ErrCode = params['ErrCode']
14987
+ @ErrMessage = params['ErrMessage']
14988
+ unless params['Result'].nil?
14989
+ @Result = []
14990
+ params['Result'].each do |i|
14991
+ companytitleresult_tmp = CompanyTitleResult.new
14992
+ companytitleresult_tmp.deserialize(i)
14993
+ @Result << companytitleresult_tmp
14994
+ end
14995
+ end
14996
+ @RequestId = params['RequestId']
14997
+ end
14998
+ end
14999
+
14894
15000
  # QueryContractPayFee请求参数结构体
14895
15001
  class QueryContractPayFeeRequest < TencentCloud::Common::AbstractModel
14896
15002
  # @param OpenId: 收单系统分配的开放ID
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cpdp
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.424
4
+ version: 3.0.425
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-10-09 00:00:00.000000000 Z
11
+ date: 2022-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common