tencentcloud-sdk-cpdp 3.0.418 → 3.0.419

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: 661634cde889152c25993869446276644df1a3d9
4
- data.tar.gz: b566effa19d7da3ca94f168a037970f36f800263
3
+ metadata.gz: 22ac879927aef85b87c7156290e7eb80ff8cb738
4
+ data.tar.gz: a6dc4baa6b6bc4c59b401910c168106f2e301f7c
5
5
  SHA512:
6
- metadata.gz: 2bef1de20d59040eb4c7c62a1f2f49e4eefc215e9e63100c1e283a742d528f589bdef3a212544c19ccac79722ef4055ea6f85078a315a489df08dca8b750f3a1
7
- data.tar.gz: 92588560e4abb5c0c855884dcb0b72a0eedb483f49776f991faed4017de36cb176f6105183af4994da4011d47a67372c0aac180d080c8050c4b21f14d642384a
6
+ metadata.gz: 98fd3dd46203bbfb695ba7868014f3442f8505417cb460a5e7a9638a099c538553762e634de33ee0eb2ebdf661a8dd6172252bfc6424099bb878ea6227328cb9
7
+ data.tar.gz: 665eecb4d3d27fd72ce03b61478640426f20e7026c45cef82f85cc8efc17845bffdd3fcfa92733c782be47675e085084bcf11ba51f824c484a972ae3ea3d1405
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.418
1
+ 3.0.419
@@ -2823,6 +2823,30 @@ module TencentCloud
2823
2823
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2824
2824
  end
2825
2825
 
2826
+ # 财税-查询金融数据文件下载链接
2827
+
2828
+ # @param request: Request instance for QueryFinancialDataUrl.
2829
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::QueryFinancialDataUrlRequest`
2830
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::QueryFinancialDataUrlResponse`
2831
+ def QueryFinancialDataUrl(request)
2832
+ body = send_request('QueryFinancialDataUrl', request.serialize)
2833
+ response = JSON.parse(body)
2834
+ if response['Response'].key?('Error') == false
2835
+ model = QueryFinancialDataUrlResponse.new
2836
+ model.deserialize(response['Response'])
2837
+ model
2838
+ else
2839
+ code = response['Response']['Error']['Code']
2840
+ message = response['Response']['Error']['Message']
2841
+ reqid = response['Response']['RequestId']
2842
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2843
+ end
2844
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2845
+ raise e
2846
+ rescue StandardError => e
2847
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2848
+ end
2849
+
2826
2850
  # 灵云V2-查询税前金额
2827
2851
 
2828
2852
  # @param request: Request instance for QueryFlexAmountBeforeTax.
@@ -13134,10 +13134,13 @@ module TencentCloud
13134
13134
  # @type PayeeId: String
13135
13135
  # @param OutUserId: 外部用户ID
13136
13136
  # @type OutUserId: String
13137
+ # @param ChannelOrderId: 渠道支付订单号
13138
+ # 注意:此字段可能返回 null,表示取不到有效值。
13139
+ # @type ChannelOrderId: String
13137
13140
 
13138
- attr_accessor :IncomeType, :AmountBeforeTax, :AmountAfterTax, :Tax, :OutOrderId, :OrderId, :InitiateTime, :FinishTime, :Status, :StatusDesc, :Remark, :PayeeId, :OutUserId
13141
+ attr_accessor :IncomeType, :AmountBeforeTax, :AmountAfterTax, :Tax, :OutOrderId, :OrderId, :InitiateTime, :FinishTime, :Status, :StatusDesc, :Remark, :PayeeId, :OutUserId, :ChannelOrderId
13139
13142
 
13140
- def initialize(incometype=nil, amountbeforetax=nil, amountaftertax=nil, tax=nil, outorderid=nil, orderid=nil, initiatetime=nil, finishtime=nil, status=nil, statusdesc=nil, remark=nil, payeeid=nil, outuserid=nil)
13143
+ def initialize(incometype=nil, amountbeforetax=nil, amountaftertax=nil, tax=nil, outorderid=nil, orderid=nil, initiatetime=nil, finishtime=nil, status=nil, statusdesc=nil, remark=nil, payeeid=nil, outuserid=nil, channelorderid=nil)
13141
13144
  @IncomeType = incometype
13142
13145
  @AmountBeforeTax = amountbeforetax
13143
13146
  @AmountAfterTax = amountaftertax
@@ -13151,6 +13154,7 @@ module TencentCloud
13151
13154
  @Remark = remark
13152
13155
  @PayeeId = payeeid
13153
13156
  @OutUserId = outuserid
13157
+ @ChannelOrderId = channelorderid
13154
13158
  end
13155
13159
 
13156
13160
  def deserialize(params)
@@ -13167,6 +13171,7 @@ module TencentCloud
13167
13171
  @Remark = params['Remark']
13168
13172
  @PayeeId = params['PayeeId']
13169
13173
  @OutUserId = params['OutUserId']
13174
+ @ChannelOrderId = params['ChannelOrderId']
13170
13175
  end
13171
13176
  end
13172
13177
 
@@ -15784,6 +15789,56 @@ module TencentCloud
15784
15789
  end
15785
15790
  end
15786
15791
 
15792
+ # QueryFinancialDataUrl请求参数结构体
15793
+ class QueryFinancialDataUrlRequest < TencentCloud::Common::AbstractModel
15794
+ # @param EndTime: 数据查询范围:结束时间
15795
+ # @type EndTime: String
15796
+ # @param StartTime: 数据查询范围:开始时间
15797
+ # @type StartTime: String
15798
+ # @param DataType: 数据类型:ADDED_INVOICE_REPORT 增值税开票数据,NATURAL_FINANCE_REPORT 自然人金融数据
15799
+ # @type DataType: String
15800
+
15801
+ attr_accessor :EndTime, :StartTime, :DataType
15802
+
15803
+ def initialize(endtime=nil, starttime=nil, datatype=nil)
15804
+ @EndTime = endtime
15805
+ @StartTime = starttime
15806
+ @DataType = datatype
15807
+ end
15808
+
15809
+ def deserialize(params)
15810
+ @EndTime = params['EndTime']
15811
+ @StartTime = params['StartTime']
15812
+ @DataType = params['DataType']
15813
+ end
15814
+ end
15815
+
15816
+ # QueryFinancialDataUrl返回参数结构体
15817
+ class QueryFinancialDataUrlResponse < TencentCloud::Common::AbstractModel
15818
+ # @param CosUrl: 下载链接
15819
+ # 注意:此字段可能返回 null,表示取不到有效值。
15820
+ # @type CosUrl: String
15821
+ # @param ExpireTime: 过期时间
15822
+ # 注意:此字段可能返回 null,表示取不到有效值。
15823
+ # @type ExpireTime: String
15824
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
15825
+ # @type RequestId: String
15826
+
15827
+ attr_accessor :CosUrl, :ExpireTime, :RequestId
15828
+
15829
+ def initialize(cosurl=nil, expiretime=nil, requestid=nil)
15830
+ @CosUrl = cosurl
15831
+ @ExpireTime = expiretime
15832
+ @RequestId = requestid
15833
+ end
15834
+
15835
+ def deserialize(params)
15836
+ @CosUrl = params['CosUrl']
15837
+ @ExpireTime = params['ExpireTime']
15838
+ @RequestId = params['RequestId']
15839
+ end
15840
+ end
15841
+
15787
15842
  # QueryFlexAmountBeforeTax请求参数结构体
15788
15843
  class QueryFlexAmountBeforeTaxRequest < TencentCloud::Common::AbstractModel
15789
15844
  # @param PayeeId: 收款用户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.418
4
+ version: 3.0.419
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-09-26 00:00:00.000000000 Z
11
+ date: 2022-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common