tencentcloud-sdk-billing 3.0.584 → 3.0.585

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: b65f8cfa8ac11785c840d2616e2f3a532992e4eb
4
- data.tar.gz: 6e7e7c2d27bb4123a1405610087fc515e0aafcde
3
+ metadata.gz: 5a6965bad66eb94ff14803a7e4c503f2610ca920
4
+ data.tar.gz: 3ba94be47d59bd84ed8a503fbf1a2f29bb4efa18
5
5
  SHA512:
6
- metadata.gz: 74964e5c79f7ba81b5d27c0f7bb6e37cac103efce7d204e9ada7dcb799528038937cc78c3cceaf0d1abe7ff5902e500e611791e6d61f2a0101bd7997cb3538c5
7
- data.tar.gz: 138369fe38293dfab2d4a54f1afdc274c619668b3df131693d4b0ec270e507016ca8ccf7981223a22a37b8947ad7dd5d4871934d5191a6cef79ed383fcc1083a
6
+ metadata.gz: 4bc811c3efa58c51272ddff908bd3d14ce934108ffd1b91aff83246b7ec1c99c38e223d2552e4077197113d7b67f7f7e41bf7e9fa1ec8486bae1cd83905ebbd8
7
+ data.tar.gz: f906b152cd4ecc6677dde80ab41ed83823f9d5f9d4821acf726dfb9dbba117be98016742d0a4abfa072d5903718741cfd69ab858a14f685b29d60b5f0bd08961
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.584
1
+ 3.0.585
@@ -128,6 +128,30 @@ module TencentCloud
128
128
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
129
129
  end
130
130
 
131
+ # 该接口支持通过传参,按照产品、项目、地域、计费模式和标签五个维度获取账单费用明细。
132
+
133
+ # @param request: Request instance for DescribeBillSummary.
134
+ # @type request: :class:`Tencentcloud::billing::V20180709::DescribeBillSummaryRequest`
135
+ # @rtype: :class:`Tencentcloud::billing::V20180709::DescribeBillSummaryResponse`
136
+ def DescribeBillSummary(request)
137
+ body = send_request('DescribeBillSummary', request.serialize)
138
+ response = JSON.parse(body)
139
+ if response['Response'].key?('Error') == false
140
+ model = DescribeBillSummaryResponse.new
141
+ model.deserialize(response['Response'])
142
+ model
143
+ else
144
+ code = response['Response']['Error']['Code']
145
+ message = response['Response']['Error']['Message']
146
+ reqid = response['Response']['RequestId']
147
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
148
+ end
149
+ rescue TencentCloud::Common::TencentCloudSDKException => e
150
+ raise e
151
+ rescue StandardError => e
152
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
153
+ end
154
+
131
155
  # 获取按计费模式汇总费用分布
132
156
 
133
157
  # @param request: Request instance for DescribeBillSummaryByPayMode.
@@ -602,6 +602,52 @@ module TencentCloud
602
602
  end
603
603
  end
604
604
 
605
+ # 产品汇总信息
606
+ class BusinessSummaryInfo < TencentCloud::Common::AbstractModel
607
+ # @param BusinessCode: 产品编码
608
+ # @type BusinessCode: String
609
+ # @param BusinessCodeName: 产品名称:用户所采购的各类云产品,例如:云服务器 CVM
610
+ # @type BusinessCodeName: String
611
+ # @param TotalCost: 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。
612
+ # 注意:此字段可能返回 null,表示取不到有效值。
613
+ # @type TotalCost: String
614
+ # @param RealTotalCost: 优惠后总价
615
+ # @type RealTotalCost: String
616
+ # @param CashPayAmount: 现金账户支出:通过现金账户支付的金额
617
+ # @type CashPayAmount: String
618
+ # @param IncentivePayAmount: 赠送账户支出:使用赠送金支付的金额
619
+ # @type IncentivePayAmount: String
620
+ # @param VoucherPayAmount: 优惠券支出:使用各类优惠券(如代金券、现金券等)支付的金额
621
+ # @type VoucherPayAmount: String
622
+ # @param TransferPayAmount: 分成金账户支出:通过分成金账户支付的金额
623
+ # 注意:此字段可能返回 null,表示取不到有效值。
624
+ # @type TransferPayAmount: String
625
+
626
+ attr_accessor :BusinessCode, :BusinessCodeName, :TotalCost, :RealTotalCost, :CashPayAmount, :IncentivePayAmount, :VoucherPayAmount, :TransferPayAmount
627
+
628
+ def initialize(businesscode=nil, businesscodename=nil, totalcost=nil, realtotalcost=nil, cashpayamount=nil, incentivepayamount=nil, voucherpayamount=nil, transferpayamount=nil)
629
+ @BusinessCode = businesscode
630
+ @BusinessCodeName = businesscodename
631
+ @TotalCost = totalcost
632
+ @RealTotalCost = realtotalcost
633
+ @CashPayAmount = cashpayamount
634
+ @IncentivePayAmount = incentivepayamount
635
+ @VoucherPayAmount = voucherpayamount
636
+ @TransferPayAmount = transferpayamount
637
+ end
638
+
639
+ def deserialize(params)
640
+ @BusinessCode = params['BusinessCode']
641
+ @BusinessCodeName = params['BusinessCodeName']
642
+ @TotalCost = params['TotalCost']
643
+ @RealTotalCost = params['RealTotalCost']
644
+ @CashPayAmount = params['CashPayAmount']
645
+ @IncentivePayAmount = params['IncentivePayAmount']
646
+ @VoucherPayAmount = params['VoucherPayAmount']
647
+ @TransferPayAmount = params['TransferPayAmount']
648
+ end
649
+ end
650
+
605
651
  # 按产品汇总产品详情
606
652
  class BusinessSummaryOverviewItem < TencentCloud::Common::AbstractModel
607
653
  # @param BusinessCode: 产品编码
@@ -869,14 +915,30 @@ module TencentCloud
869
915
  # @type RealTotalCost: String
870
916
  # @param Trend: 费用趋势
871
917
  # @type Trend: :class:`Tencentcloud::Billing.v20180709.models.ConsumptionSummaryTrend`
918
+ # @param CashPayAmount: 现金
919
+ # 注意:此字段可能返回 null,表示取不到有效值。
920
+ # @type CashPayAmount: String
921
+ # @param IncentivePayAmount: 赠送金
922
+ # 注意:此字段可能返回 null,表示取不到有效值。
923
+ # @type IncentivePayAmount: String
924
+ # @param VoucherPayAmount: 代金券
925
+ # 注意:此字段可能返回 null,表示取不到有效值。
926
+ # @type VoucherPayAmount: String
927
+ # @param TransferPayAmount: 分成金
928
+ # 注意:此字段可能返回 null,表示取不到有效值。
929
+ # @type TransferPayAmount: String
872
930
 
873
- attr_accessor :BusinessCode, :BusinessCodeName, :RealTotalCost, :Trend
931
+ attr_accessor :BusinessCode, :BusinessCodeName, :RealTotalCost, :Trend, :CashPayAmount, :IncentivePayAmount, :VoucherPayAmount, :TransferPayAmount
874
932
 
875
- def initialize(businesscode=nil, businesscodename=nil, realtotalcost=nil, trend=nil)
933
+ def initialize(businesscode=nil, businesscodename=nil, realtotalcost=nil, trend=nil, cashpayamount=nil, incentivepayamount=nil, voucherpayamount=nil, transferpayamount=nil)
876
934
  @BusinessCode = businesscode
877
935
  @BusinessCodeName = businesscodename
878
936
  @RealTotalCost = realtotalcost
879
937
  @Trend = trend
938
+ @CashPayAmount = cashpayamount
939
+ @IncentivePayAmount = incentivepayamount
940
+ @VoucherPayAmount = voucherpayamount
941
+ @TransferPayAmount = transferpayamount
880
942
  end
881
943
 
882
944
  def deserialize(params)
@@ -887,6 +949,10 @@ module TencentCloud
887
949
  @Trend = ConsumptionSummaryTrend.new
888
950
  @Trend.deserialize(params['Trend'])
889
951
  end
952
+ @CashPayAmount = params['CashPayAmount']
953
+ @IncentivePayAmount = params['IncentivePayAmount']
954
+ @VoucherPayAmount = params['VoucherPayAmount']
955
+ @TransferPayAmount = params['TransferPayAmount']
890
956
  end
891
957
  end
892
958
 
@@ -902,15 +968,31 @@ module TencentCloud
902
968
  # @type Trend: :class:`Tencentcloud::Billing.v20180709.models.ConsumptionSummaryTrend`
903
969
  # @param Business: 产品消耗详情
904
970
  # @type Business: Array
971
+ # @param CashPayAmount: 现金
972
+ # 注意:此字段可能返回 null,表示取不到有效值。
973
+ # @type CashPayAmount: String
974
+ # @param IncentivePayAmount: 赠送金
975
+ # 注意:此字段可能返回 null,表示取不到有效值。
976
+ # @type IncentivePayAmount: String
977
+ # @param VoucherPayAmount: 代金券
978
+ # 注意:此字段可能返回 null,表示取不到有效值。
979
+ # @type VoucherPayAmount: String
980
+ # @param TransferPayAmount: 分成金
981
+ # 注意:此字段可能返回 null,表示取不到有效值。
982
+ # @type TransferPayAmount: String
905
983
 
906
- attr_accessor :ProjectId, :ProjectName, :RealTotalCost, :Trend, :Business
984
+ attr_accessor :ProjectId, :ProjectName, :RealTotalCost, :Trend, :Business, :CashPayAmount, :IncentivePayAmount, :VoucherPayAmount, :TransferPayAmount
907
985
 
908
- def initialize(projectid=nil, projectname=nil, realtotalcost=nil, trend=nil, business=nil)
986
+ def initialize(projectid=nil, projectname=nil, realtotalcost=nil, trend=nil, business=nil, cashpayamount=nil, incentivepayamount=nil, voucherpayamount=nil, transferpayamount=nil)
909
987
  @ProjectId = projectid
910
988
  @ProjectName = projectname
911
989
  @RealTotalCost = realtotalcost
912
990
  @Trend = trend
913
991
  @Business = business
992
+ @CashPayAmount = cashpayamount
993
+ @IncentivePayAmount = incentivepayamount
994
+ @VoucherPayAmount = voucherpayamount
995
+ @TransferPayAmount = transferpayamount
914
996
  end
915
997
 
916
998
  def deserialize(params)
@@ -929,6 +1011,10 @@ module TencentCloud
929
1011
  @Business << consumptionbusinesssummarydataitem_tmp
930
1012
  end
931
1013
  end
1014
+ @CashPayAmount = params['CashPayAmount']
1015
+ @IncentivePayAmount = params['IncentivePayAmount']
1016
+ @VoucherPayAmount = params['VoucherPayAmount']
1017
+ @TransferPayAmount = params['TransferPayAmount']
932
1018
  end
933
1019
  end
934
1020
 
@@ -1058,10 +1144,37 @@ module TencentCloud
1058
1144
  # @type BusinessCodeName: String
1059
1145
  # @param ConsumptionTypeName: 消耗类型
1060
1146
  # @type ConsumptionTypeName: String
1147
+ # @param RealCost: 折前价
1148
+ # 注意:此字段可能返回 null,表示取不到有效值。
1149
+ # @type RealCost: String
1150
+ # @param FeeBeginTime: 费用起始时间
1151
+ # 注意:此字段可能返回 null,表示取不到有效值。
1152
+ # @type FeeBeginTime: String
1153
+ # @param FeeEndTime: 费用结束时间
1154
+ # 注意:此字段可能返回 null,表示取不到有效值。
1155
+ # @type FeeEndTime: String
1156
+ # @param DayDiff: 天数
1157
+ # 注意:此字段可能返回 null,表示取不到有效值。
1158
+ # @type DayDiff: String
1159
+ # @param DailyTotalCost: 每日消耗
1160
+ # 注意:此字段可能返回 null,表示取不到有效值。
1161
+ # @type DailyTotalCost: String
1162
+ # @param OrderId: 订单号
1163
+ # 注意:此字段可能返回 null,表示取不到有效值。
1164
+ # @type OrderId: String
1165
+ # @param VoucherPayAmount: 代金券
1166
+ # 注意:此字段可能返回 null,表示取不到有效值。
1167
+ # @type VoucherPayAmount: String
1168
+ # @param IncentivePayAmount: 赠送金
1169
+ # 注意:此字段可能返回 null,表示取不到有效值。
1170
+ # @type IncentivePayAmount: String
1171
+ # @param TransferPayAmount: 分成金
1172
+ # 注意:此字段可能返回 null,表示取不到有效值。
1173
+ # @type TransferPayAmount: String
1061
1174
 
1062
- attr_accessor :ResourceId, :ResourceName, :RealTotalCost, :CashPayAmount, :ProjectId, :ProjectName, :RegionId, :RegionName, :PayMode, :PayModeName, :BusinessCode, :BusinessCodeName, :ConsumptionTypeName
1175
+ attr_accessor :ResourceId, :ResourceName, :RealTotalCost, :CashPayAmount, :ProjectId, :ProjectName, :RegionId, :RegionName, :PayMode, :PayModeName, :BusinessCode, :BusinessCodeName, :ConsumptionTypeName, :RealCost, :FeeBeginTime, :FeeEndTime, :DayDiff, :DailyTotalCost, :OrderId, :VoucherPayAmount, :IncentivePayAmount, :TransferPayAmount
1063
1176
 
1064
- def initialize(resourceid=nil, resourcename=nil, realtotalcost=nil, cashpayamount=nil, projectid=nil, projectname=nil, regionid=nil, regionname=nil, paymode=nil, paymodename=nil, businesscode=nil, businesscodename=nil, consumptiontypename=nil)
1177
+ def initialize(resourceid=nil, resourcename=nil, realtotalcost=nil, cashpayamount=nil, projectid=nil, projectname=nil, regionid=nil, regionname=nil, paymode=nil, paymodename=nil, businesscode=nil, businesscodename=nil, consumptiontypename=nil, realcost=nil, feebegintime=nil, feeendtime=nil, daydiff=nil, dailytotalcost=nil, orderid=nil, voucherpayamount=nil, incentivepayamount=nil, transferpayamount=nil)
1065
1178
  @ResourceId = resourceid
1066
1179
  @ResourceName = resourcename
1067
1180
  @RealTotalCost = realtotalcost
@@ -1075,6 +1188,15 @@ module TencentCloud
1075
1188
  @BusinessCode = businesscode
1076
1189
  @BusinessCodeName = businesscodename
1077
1190
  @ConsumptionTypeName = consumptiontypename
1191
+ @RealCost = realcost
1192
+ @FeeBeginTime = feebegintime
1193
+ @FeeEndTime = feeendtime
1194
+ @DayDiff = daydiff
1195
+ @DailyTotalCost = dailytotalcost
1196
+ @OrderId = orderid
1197
+ @VoucherPayAmount = voucherpayamount
1198
+ @IncentivePayAmount = incentivepayamount
1199
+ @TransferPayAmount = transferpayamount
1078
1200
  end
1079
1201
 
1080
1202
  def deserialize(params)
@@ -1091,6 +1213,15 @@ module TencentCloud
1091
1213
  @BusinessCode = params['BusinessCode']
1092
1214
  @BusinessCodeName = params['BusinessCodeName']
1093
1215
  @ConsumptionTypeName = params['ConsumptionTypeName']
1216
+ @RealCost = params['RealCost']
1217
+ @FeeBeginTime = params['FeeBeginTime']
1218
+ @FeeEndTime = params['FeeEndTime']
1219
+ @DayDiff = params['DayDiff']
1220
+ @DailyTotalCost = params['DailyTotalCost']
1221
+ @OrderId = params['OrderId']
1222
+ @VoucherPayAmount = params['VoucherPayAmount']
1223
+ @IncentivePayAmount = params['IncentivePayAmount']
1224
+ @TransferPayAmount = params['TransferPayAmount']
1094
1225
  end
1095
1226
  end
1096
1227
 
@@ -2231,6 +2362,61 @@ module TencentCloud
2231
2362
  end
2232
2363
  end
2233
2364
 
2365
+ # DescribeBillSummary请求参数结构体
2366
+ class DescribeBillSummaryRequest < TencentCloud::Common::AbstractModel
2367
+ # @param Month: 账单月份,格式为2023-04
2368
+ # @type Month: String
2369
+ # @param GroupType: 账单维度类型,枚举值如下:business、project、region、payMode、tag
2370
+ # @type GroupType: String
2371
+ # @param TagKey: 标签键,GroupType=tag获取标签维度账单时传
2372
+ # @type TagKey: Array
2373
+
2374
+ attr_accessor :Month, :GroupType, :TagKey
2375
+
2376
+ def initialize(month=nil, grouptype=nil, tagkey=nil)
2377
+ @Month = month
2378
+ @GroupType = grouptype
2379
+ @TagKey = tagkey
2380
+ end
2381
+
2382
+ def deserialize(params)
2383
+ @Month = params['Month']
2384
+ @GroupType = params['GroupType']
2385
+ @TagKey = params['TagKey']
2386
+ end
2387
+ end
2388
+
2389
+ # DescribeBillSummary返回参数结构体
2390
+ class DescribeBillSummaryResponse < TencentCloud::Common::AbstractModel
2391
+ # @param Ready: 数据是否准备好,0准备中,1已就绪。(Ready=0,为当前UIN首次进行初始化出账,预计需要5~10分钟出账,请于10分钟后重试即可)
2392
+ # @type Ready: Integer
2393
+ # @param SummaryDetail: 账单多维度汇总消费详情
2394
+ # @type SummaryDetail: Array
2395
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2396
+ # @type RequestId: String
2397
+
2398
+ attr_accessor :Ready, :SummaryDetail, :RequestId
2399
+
2400
+ def initialize(ready=nil, summarydetail=nil, requestid=nil)
2401
+ @Ready = ready
2402
+ @SummaryDetail = summarydetail
2403
+ @RequestId = requestid
2404
+ end
2405
+
2406
+ def deserialize(params)
2407
+ @Ready = params['Ready']
2408
+ unless params['SummaryDetail'].nil?
2409
+ @SummaryDetail = []
2410
+ params['SummaryDetail'].each do |i|
2411
+ summarydetail_tmp = SummaryDetail.new
2412
+ summarydetail_tmp.deserialize(i)
2413
+ @SummaryDetail << summarydetail_tmp
2414
+ end
2415
+ end
2416
+ @RequestId = params['RequestId']
2417
+ end
2418
+ end
2419
+
2234
2420
  # DescribeCostDetail请求参数结构体
2235
2421
  class DescribeCostDetailRequest < TencentCloud::Common::AbstractModel
2236
2422
  # @param Limit: 数量,最大值为100
@@ -2319,9 +2505,9 @@ module TencentCloud
2319
2505
  # @type BeginTime: String
2320
2506
  # @param EndTime: 目前必须和BeginTime为相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2018-09,EndTime 为 2018-09,查询结果是 2018 年 9 月数据。
2321
2507
  # @type EndTime: String
2322
- # @param Limit: 每次获取数据量
2508
+ # @param Limit: 每次获取数据量,最大值为100
2323
2509
  # @type Limit: Integer
2324
- # @param Offset: 偏移量
2510
+ # @param Offset: 偏移量,默认从0开始
2325
2511
  # @type Offset: Integer
2326
2512
  # @param PayerUin: 查询账单数据的用户UIN
2327
2513
  # @type PayerUin: String
@@ -2399,9 +2585,9 @@ module TencentCloud
2399
2585
  # @type BeginTime: String
2400
2586
  # @param EndTime: 目前必须和BeginTime为相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2018-09,EndTime 为 2018-09,查询结果是 2018 年 9 月数据。
2401
2587
  # @type EndTime: String
2402
- # @param Limit: 每次获取数据量
2588
+ # @param Limit: 每次获取数据量,最大值为100
2403
2589
  # @type Limit: Integer
2404
- # @param Offset: 偏移量
2590
+ # @param Offset: 偏移量,默认从0开始
2405
2591
  # @type Offset: Integer
2406
2592
  # @param PayerUin: 查询账单数据的用户UIN
2407
2593
  # @type PayerUin: String
@@ -2477,9 +2663,9 @@ module TencentCloud
2477
2663
  # @type BeginTime: String
2478
2664
  # @param EndTime: 目前必须和BeginTime为相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2018-09,EndTime 为 2018-09,查询结果是 2018 年 9 月数据。
2479
2665
  # @type EndTime: String
2480
- # @param Limit: 每次获取数据量
2666
+ # @param Limit: 每次获取数据量,最大值为100
2481
2667
  # @type Limit: Integer
2482
- # @param Offset: 偏移量
2668
+ # @param Offset: 偏移量,默认从0开始
2483
2669
  # @type Offset: Integer
2484
2670
  # @param PayerUin: 查询账单数据的用户UIN
2485
2671
  # @type PayerUin: String
@@ -2556,9 +2742,9 @@ module TencentCloud
2556
2742
  # @type BeginTime: String
2557
2743
  # @param EndTime: 目前必须和BeginTime为相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2018-09,EndTime 为 2018-09,查询结果是 2018 年 9 月数据。
2558
2744
  # @type EndTime: String
2559
- # @param Limit: 每次获取数据量
2745
+ # @param Limit: 每次获取数据量,最大值为100
2560
2746
  # @type Limit: Integer
2561
- # @param Offset: 偏移量
2747
+ # @param Offset: 偏移量,默认从0开始
2562
2748
  # @type Offset: Integer
2563
2749
  # @param PayerUin: 查询账单数据的用户UIN
2564
2750
  # @type PayerUin: String
@@ -3366,6 +3552,65 @@ module TencentCloud
3366
3552
  end
3367
3553
  end
3368
3554
 
3555
+ # 账单多维度汇总消费详情
3556
+ class SummaryDetail < TencentCloud::Common::AbstractModel
3557
+ # @param GroupKey: 账单维度编码
3558
+ # 注意:此字段可能返回 null,表示取不到有效值。
3559
+ # @type GroupKey: String
3560
+ # @param GroupValue: 账单维度值
3561
+ # 注意:此字段可能返回 null,表示取不到有效值。
3562
+ # @type GroupValue: String
3563
+ # @param TotalCost: 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。
3564
+ # @type TotalCost: String
3565
+ # @param RealTotalCost: 优惠后总价
3566
+ # @type RealTotalCost: String
3567
+ # @param CashPayAmount: 现金账户支出:通过现金账户支付的金额
3568
+ # @type CashPayAmount: String
3569
+ # @param IncentivePayAmount: 赠送账户支出:使用赠送金支付的金额
3570
+ # @type IncentivePayAmount: String
3571
+ # @param VoucherPayAmount: 优惠券支出:使用各类优惠券(如代金券、现金券等)支付的金额
3572
+ # @type VoucherPayAmount: String
3573
+ # @param TransferPayAmount: 分成金账户支出:通过分成金账户支付的金额
3574
+ # 注意:此字段可能返回 null,表示取不到有效值。
3575
+ # @type TransferPayAmount: String
3576
+ # @param Business: 产品汇总信息
3577
+ # 注意:此字段可能返回 null,表示取不到有效值。
3578
+ # @type Business: Array
3579
+
3580
+ attr_accessor :GroupKey, :GroupValue, :TotalCost, :RealTotalCost, :CashPayAmount, :IncentivePayAmount, :VoucherPayAmount, :TransferPayAmount, :Business
3581
+
3582
+ def initialize(groupkey=nil, groupvalue=nil, totalcost=nil, realtotalcost=nil, cashpayamount=nil, incentivepayamount=nil, voucherpayamount=nil, transferpayamount=nil, business=nil)
3583
+ @GroupKey = groupkey
3584
+ @GroupValue = groupvalue
3585
+ @TotalCost = totalcost
3586
+ @RealTotalCost = realtotalcost
3587
+ @CashPayAmount = cashpayamount
3588
+ @IncentivePayAmount = incentivepayamount
3589
+ @VoucherPayAmount = voucherpayamount
3590
+ @TransferPayAmount = transferpayamount
3591
+ @Business = business
3592
+ end
3593
+
3594
+ def deserialize(params)
3595
+ @GroupKey = params['GroupKey']
3596
+ @GroupValue = params['GroupValue']
3597
+ @TotalCost = params['TotalCost']
3598
+ @RealTotalCost = params['RealTotalCost']
3599
+ @CashPayAmount = params['CashPayAmount']
3600
+ @IncentivePayAmount = params['IncentivePayAmount']
3601
+ @VoucherPayAmount = params['VoucherPayAmount']
3602
+ @TransferPayAmount = params['TransferPayAmount']
3603
+ unless params['Business'].nil?
3604
+ @Business = []
3605
+ params['Business'].each do |i|
3606
+ businesssummaryinfo_tmp = BusinessSummaryInfo.new
3607
+ businesssummaryinfo_tmp.deserialize(i)
3608
+ @Business << businesssummaryinfo_tmp
3609
+ end
3610
+ end
3611
+ end
3612
+ end
3613
+
3369
3614
  # 总数
3370
3615
  class SummaryTotal < TencentCloud::Common::AbstractModel
3371
3616
  # @param RealTotalCost: 优惠后总价
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-billing
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.584
4
+ version: 3.0.585
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-05 00:00:00.000000000 Z
11
+ date: 2023-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common