tencentcloud-sdk-partners 3.0.438 → 3.0.439

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: c121b1db5c2504dddb85540771101132e0553aeb
4
- data.tar.gz: 2f5b3b468a848f7a7bda89663f73933d8a190384
3
+ metadata.gz: 2b0cb82ec01d8e6c0f5fd3060da338e4492f2c82
4
+ data.tar.gz: 3a096696655af276e477c9a4347f4eb99a6ef69d
5
5
  SHA512:
6
- metadata.gz: a6ac8c05eb992f25414e1e18dd5e70f674c93a583285bc7c514019e2d31f902a6f05045f6a67ff4325070c65fed225e61301e39abc00e11dee73b9307a927e4b
7
- data.tar.gz: 83e6ba6ed2788e28d46441f710841316370f25979cbf3e0a5797f9d0a2019ac6b0a3ec400df886e5c1efd42e7979d8690b21748c92696c678179d4977e543878
6
+ metadata.gz: 5f994e103bb4d8fd062b30aa1dba5cc1590380c13f91feb02df8f19b13612867326908c8d08f274200bc871bb85ecb3d08f45086db4992ebf0e6ce9266378282
7
+ data.tar.gz: f5fc2cdb0bed0bf1590ac88012fd40b170078762b825adde2bc1d7e4f8bb9e3030236b343bac7dcd2de8f6b32699abf742eee5f79a4a1ac27e31952b1c5f8f4b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.438
1
+ 3.0.439
@@ -437,6 +437,30 @@ module TencentCloud
437
437
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
438
438
  end
439
439
 
440
+ # 代理商可查询自己名下全部返佣信息
441
+
442
+ # @param request: Request instance for DescribeRebateInfosNew.
443
+ # @type request: :class:`Tencentcloud::partners::V20180321::DescribeRebateInfosNewRequest`
444
+ # @rtype: :class:`Tencentcloud::partners::V20180321::DescribeRebateInfosNewResponse`
445
+ def DescribeRebateInfosNew(request)
446
+ body = send_request('DescribeRebateInfosNew', request.serialize)
447
+ response = JSON.parse(body)
448
+ if response['Response'].key?('Error') == false
449
+ model = DescribeRebateInfosNewResponse.new
450
+ model.deserialize(response['Response'])
451
+ model
452
+ else
453
+ code = response['Response']['Error']['Code']
454
+ message = response['Response']['Error']['Message']
455
+ reqid = response['Response']['RequestId']
456
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
457
+ end
458
+ rescue TencentCloud::Common::TencentCloudSDKException => e
459
+ raise e
460
+ rescue StandardError => e
461
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
462
+ end
463
+
440
464
  # 代理商查询名下业务员列表信息
441
465
 
442
466
  # @param request: Request instance for DescribeSalesmans.
@@ -1610,6 +1610,61 @@ module TencentCloud
1610
1610
  end
1611
1611
  end
1612
1612
 
1613
+ # DescribeRebateInfosNew请求参数结构体
1614
+ class DescribeRebateInfosNewRequest < TencentCloud::Common::AbstractModel
1615
+ # @param RebateMonth: 返佣月份,如2018-02
1616
+ # @type RebateMonth: String
1617
+ # @param Offset: 偏移量
1618
+ # @type Offset: Integer
1619
+ # @param Limit: 限制数目
1620
+ # @type Limit: Integer
1621
+
1622
+ attr_accessor :RebateMonth, :Offset, :Limit
1623
+
1624
+ def initialize(rebatemonth=nil, offset=nil, limit=nil)
1625
+ @RebateMonth = rebatemonth
1626
+ @Offset = offset
1627
+ @Limit = limit
1628
+ end
1629
+
1630
+ def deserialize(params)
1631
+ @RebateMonth = params['RebateMonth']
1632
+ @Offset = params['Offset']
1633
+ @Limit = params['Limit']
1634
+ end
1635
+ end
1636
+
1637
+ # DescribeRebateInfosNew返回参数结构体
1638
+ class DescribeRebateInfosNewResponse < TencentCloud::Common::AbstractModel
1639
+ # @param RebateInfoSet: 返佣信息列表
1640
+ # @type RebateInfoSet: Array
1641
+ # @param TotalCount: 符合查询条件返佣信息数目
1642
+ # @type TotalCount: Integer
1643
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1644
+ # @type RequestId: String
1645
+
1646
+ attr_accessor :RebateInfoSet, :TotalCount, :RequestId
1647
+
1648
+ def initialize(rebateinfoset=nil, totalcount=nil, requestid=nil)
1649
+ @RebateInfoSet = rebateinfoset
1650
+ @TotalCount = totalcount
1651
+ @RequestId = requestid
1652
+ end
1653
+
1654
+ def deserialize(params)
1655
+ unless params['RebateInfoSet'].nil?
1656
+ @RebateInfoSet = []
1657
+ params['RebateInfoSet'].each do |i|
1658
+ rebateinfoelemnew_tmp = RebateInfoElemNew.new
1659
+ rebateinfoelemnew_tmp.deserialize(i)
1660
+ @RebateInfoSet << rebateinfoelemnew_tmp
1661
+ end
1662
+ end
1663
+ @TotalCount = params['TotalCount']
1664
+ @RequestId = params['RequestId']
1665
+ end
1666
+ end
1667
+
1613
1668
  # DescribeRebateInfos请求参数结构体
1614
1669
  class DescribeRebateInfosRequest < TencentCloud::Common::AbstractModel
1615
1670
  # @param RebateMonth: 返佣月份,如2018-02
@@ -1891,6 +1946,42 @@ module TencentCloud
1891
1946
  end
1892
1947
  end
1893
1948
 
1949
+ # 返佣信息定义
1950
+ class RebateInfoElemNew < TencentCloud::Common::AbstractModel
1951
+ # @param Uin: 代理商账号ID
1952
+ # @type Uin: String
1953
+ # @param RebateMonth: 返佣月份,如2018-02
1954
+ # @type RebateMonth: String
1955
+ # @param Amt: 返佣金额,单位分
1956
+ # @type Amt: Integer
1957
+ # @param MonthSales: 月度业绩,单位分
1958
+ # @type MonthSales: Integer
1959
+ # @param QuarterSales: 季度业绩,单位分
1960
+ # @type QuarterSales: Integer
1961
+ # @param ExceptionFlag: NORMAL(正常)/HAS_OVERDUE_BILL(欠费)/NO_CONTRACT(缺合同)
1962
+ # @type ExceptionFlag: String
1963
+
1964
+ attr_accessor :Uin, :RebateMonth, :Amt, :MonthSales, :QuarterSales, :ExceptionFlag
1965
+
1966
+ def initialize(uin=nil, rebatemonth=nil, amt=nil, monthsales=nil, quartersales=nil, exceptionflag=nil)
1967
+ @Uin = uin
1968
+ @RebateMonth = rebatemonth
1969
+ @Amt = amt
1970
+ @MonthSales = monthsales
1971
+ @QuarterSales = quartersales
1972
+ @ExceptionFlag = exceptionflag
1973
+ end
1974
+
1975
+ def deserialize(params)
1976
+ @Uin = params['Uin']
1977
+ @RebateMonth = params['RebateMonth']
1978
+ @Amt = params['Amt']
1979
+ @MonthSales = params['MonthSales']
1980
+ @QuarterSales = params['QuarterSales']
1981
+ @ExceptionFlag = params['ExceptionFlag']
1982
+ end
1983
+ end
1984
+
1894
1985
  # RemovePayRelationForClient请求参数结构体
1895
1986
  class RemovePayRelationForClientRequest < TencentCloud::Common::AbstractModel
1896
1987
  # @param ClientUin: 客户账号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.438
4
+ version: 3.0.439
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-27 00:00:00.000000000 Z
11
+ date: 2022-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common