tencentcloud-sdk-partners 3.0.1055 → 3.0.1057

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f43815e877b5836300b2712b55134fd2f17f7f4c
4
- data.tar.gz: 88f1b01ad9fbd15f99f2ee5d4864df1ba7dd9315
3
+ metadata.gz: 5a2950972ec4339d03dbd1ee35d389cb0e6f3ee8
4
+ data.tar.gz: 3e22c99c14d4415b6ad11e0fefcdffed84a93e86
5
5
  SHA512:
6
- metadata.gz: d2bf9305312f2bb77d94e8ac2df8856d8ac1a5651e8108d4a478bb1a57288387a6aadb82691d36f93517b42d79ebe08d5f6fe48db14d33f88c02b2d4a9eb58a2
7
- data.tar.gz: 3d2274fad4bf62d14a7017affd48b8c2b707f1a3e228227b4512ca21dff01ebdec8f7346735c4f2ceb05820957c8b6e61b832df8116c95019dcf9a8ab5dea86b
6
+ metadata.gz: 227b0fc634b17479e816b57c34fc9801d2457f56fbca402ef20418bd251d7c3e9481b50019878218434f3d3d3f2291deae560a1b1f41512947cddb634c24e56e
7
+ data.tar.gz: 0dae527685d915d43f1ddd7a89af583dbab2d94536f4f5a459aa50980919ab95710973d5faccb0438e3f1721e97e84c37f6228110992f64ef883bb26e6ac58a8
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1055
1
+ 3.0.1057
@@ -272,6 +272,30 @@ module TencentCloud
272
272
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
273
273
  end
274
274
 
275
+ # 供代理商使用名下有效普通代客的预付费子订单号查询订单费用详情
276
+
277
+ # @param request: Request instance for DescribeAgentDealsPriceDetailByDealName.
278
+ # @type request: :class:`Tencentcloud::partners::V20180321::DescribeAgentDealsPriceDetailByDealNameRequest`
279
+ # @rtype: :class:`Tencentcloud::partners::V20180321::DescribeAgentDealsPriceDetailByDealNameResponse`
280
+ def DescribeAgentDealsPriceDetailByDealName(request)
281
+ body = send_request('DescribeAgentDealsPriceDetailByDealName', request.serialize)
282
+ response = JSON.parse(body)
283
+ if response['Response'].key?('Error') == false
284
+ model = DescribeAgentDealsPriceDetailByDealNameResponse.new
285
+ model.deserialize(response['Response'])
286
+ model
287
+ else
288
+ code = response['Response']['Error']['Code']
289
+ message = response['Response']['Error']['Message']
290
+ reqid = response['Response']['RequestId']
291
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
292
+ end
293
+ rescue TencentCloud::Common::TencentCloudSDKException => e
294
+ raise e
295
+ rescue StandardError => e
296
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
297
+ end
298
+
275
299
  # 可以查询代理商代付的预付费订单
276
300
 
277
301
  # @param request: Request instance for DescribeAgentPayDealsV2.
@@ -675,6 +675,37 @@ module TencentCloud
675
675
  end
676
676
  end
677
677
 
678
+ # 订单价格详情
679
+ class DealPriceDetail < TencentCloud::Common::AbstractModel
680
+ # @param DealName: 子订单号
681
+ # @type DealName: String
682
+ # @param OwnerUin: 订单归属人uin(代客uin)
683
+ # @type OwnerUin: String
684
+ # @param SubProductPriceDetail: 子产品价格详情列表
685
+ # @type SubProductPriceDetail: Array
686
+
687
+ attr_accessor :DealName, :OwnerUin, :SubProductPriceDetail
688
+
689
+ def initialize(dealname=nil, owneruin=nil, subproductpricedetail=nil)
690
+ @DealName = dealname
691
+ @OwnerUin = owneruin
692
+ @SubProductPriceDetail = subproductpricedetail
693
+ end
694
+
695
+ def deserialize(params)
696
+ @DealName = params['DealName']
697
+ @OwnerUin = params['OwnerUin']
698
+ unless params['SubProductPriceDetail'].nil?
699
+ @SubProductPriceDetail = []
700
+ params['SubProductPriceDetail'].each do |i|
701
+ subproductpricedetail_tmp = SubProductPriceDetail.new
702
+ subproductpricedetail_tmp.deserialize(i)
703
+ @SubProductPriceDetail << subproductpricedetail_tmp
704
+ end
705
+ end
706
+ end
707
+ end
708
+
678
709
  # DescribeAgentAuditedClients请求参数结构体
679
710
  class DescribeAgentAuditedClientsRequest < TencentCloud::Common::AbstractModel
680
711
  # @param ClientUin: 客户账号ID
@@ -1047,6 +1078,57 @@ module TencentCloud
1047
1078
  end
1048
1079
  end
1049
1080
 
1081
+ # DescribeAgentDealsPriceDetailByDealName请求参数结构体
1082
+ class DescribeAgentDealsPriceDetailByDealNameRequest < TencentCloud::Common::AbstractModel
1083
+ # @param DealCreatYear: 下单年份(订单创建时间归属年份)
1084
+ # @type DealCreatYear: Integer
1085
+ # @param DealNames: 子订单号,每个请求最多查询100条
1086
+ # @type DealNames: Array
1087
+ # @param OwnerUin: 订单归属代客uin
1088
+ # @type OwnerUin: String
1089
+
1090
+ attr_accessor :DealCreatYear, :DealNames, :OwnerUin
1091
+
1092
+ def initialize(dealcreatyear=nil, dealnames=nil, owneruin=nil)
1093
+ @DealCreatYear = dealcreatyear
1094
+ @DealNames = dealnames
1095
+ @OwnerUin = owneruin
1096
+ end
1097
+
1098
+ def deserialize(params)
1099
+ @DealCreatYear = params['DealCreatYear']
1100
+ @DealNames = params['DealNames']
1101
+ @OwnerUin = params['OwnerUin']
1102
+ end
1103
+ end
1104
+
1105
+ # DescribeAgentDealsPriceDetailByDealName返回参数结构体
1106
+ class DescribeAgentDealsPriceDetailByDealNameResponse < TencentCloud::Common::AbstractModel
1107
+ # @param DealList: 子订单的费用详情
1108
+ # @type DealList: Array
1109
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1110
+ # @type RequestId: String
1111
+
1112
+ attr_accessor :DealList, :RequestId
1113
+
1114
+ def initialize(deallist=nil, requestid=nil)
1115
+ @DealList = deallist
1116
+ @RequestId = requestid
1117
+ end
1118
+
1119
+ def deserialize(params)
1120
+ unless params['DealList'].nil?
1121
+ @DealList = []
1122
+ params['DealList'].each do |i|
1123
+ dealpricedetail_tmp = DealPriceDetail.new
1124
+ dealpricedetail_tmp.deserialize(i)
1125
+ @DealList << dealpricedetail_tmp
1126
+ end
1127
+ end
1128
+ @RequestId = params['RequestId']
1129
+ end
1130
+ end
1131
+
1050
1132
  # DescribeAgentPayDealsV2请求参数结构体
1051
1133
  class DescribeAgentPayDealsV2Request < TencentCloud::Common::AbstractModel
1052
1134
  # @param Offset: 偏移量
@@ -1804,6 +1886,34 @@ module TencentCloud
1804
1886
  end
1805
1887
  end
1806
1888
 
1889
+ # 订单子产品价格详情
1890
+ class SubProductPriceDetail < TencentCloud::Common::AbstractModel
1891
+ # @param Name: 子产品名称
1892
+ # @type Name: String
1893
+ # @param DiscountValue: 折扣值,=100时表示无折扣,=85时表示8.5折
1894
+ # @type DiscountValue: Float
1895
+ # @param TotalCost: 原价,折扣前价格,单位:分
1896
+ # @type TotalCost: Integer
1897
+ # @param RealTotalCost: 折后价,单位:分
1898
+ # @type RealTotalCost: Integer
1899
+
1900
+ attr_accessor :Name, :DiscountValue, :TotalCost, :RealTotalCost
1901
+
1902
+ def initialize(name=nil, discountvalue=nil, totalcost=nil, realtotalcost=nil)
1903
+ @Name = name
1904
+ @DiscountValue = discountvalue
1905
+ @TotalCost = totalcost
1906
+ @RealTotalCost = realtotalcost
1907
+ end
1908
+
1909
+ def deserialize(params)
1910
+ @Name = params['Name']
1911
+ @DiscountValue = params['DiscountValue']
1912
+ @TotalCost = params['TotalCost']
1913
+ @RealTotalCost = params['RealTotalCost']
1914
+ end
1915
+ end
1916
+
1807
1917
  # 解绑客户信息
1808
1918
  class UnbindClientElem < TencentCloud::Common::AbstractModel
1809
1919
  # @param Uin: 解绑账号ID
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-partners
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1055
4
+ version: 3.0.1057
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-05-08 00:00:00.000000000 Z
11
+ date: 2025-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common