tencentcloud-sdk-partners 3.0.1054 → 3.0.1056
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/v20180321/client.rb +24 -0
- data/lib/v20180321/models.rb +110 -0
- 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: 253d4e44474a91da854dfbb4297c1271e385acfd
|
4
|
+
data.tar.gz: d85ea78c4d52ef183247000111c201173f7d7af6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef765fb5a0d9c1ece8c18babd36e496a4939d5bc1b5c6ad213f007524ee659b0b6b5518cad6b38e25e219f24c62403073335739ee2aa0f1adae62056fce6fc76
|
7
|
+
data.tar.gz: 961984e4b637c0be82d7349f3ca19affbc6aa829863a73f6e1cf534318533974776f15c7d77968b72c325a1fb8edf8684547c0892d4f13be29d6679454bc7c81
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1056
|
data/lib/v20180321/client.rb
CHANGED
@@ -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.
|
data/lib/v20180321/models.rb
CHANGED
@@ -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.
|
4
|
+
version: 3.0.1056
|
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-
|
11
|
+
date: 2025-05-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|