tencentcloud-sdk-billing 3.0.950 → 3.0.951

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180709/models.rb +36 -20
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 698fb5f706c9ba6bc3780de66366f2ce61c1b7d7
4
- data.tar.gz: b8d7ff4e8d33e5d5b69070eb06506273b290a4f6
3
+ metadata.gz: e9c0e6f087185aa687d6a0556b8cdf62cfdbac45
4
+ data.tar.gz: 5ede0a72030fabe34603099229af9a09c9e7c246
5
5
  SHA512:
6
- metadata.gz: da6921abfd703134227ea8c72ddbe5c6b80f072d1f0bdf517e512810f0d689a09f1052894ab5de5d8ea321c22c2e5f57ad9ea7c7b0783c00a8a5e87e89c917ea
7
- data.tar.gz: 6816bc2d2289b4e65bf1294501f94d7ef9ceaa2d2d57ee2ae38c3de8f9991567b9189dd3eafb52d3f3bc2e96000ab1de5c4d1c245ca515c9a8fc2d6cf146aedb
6
+ metadata.gz: 5f24f9ff0c0a974b8bf4e2e476d76f8f097d59faaf358ac2e789aff3643c56216cdf7ef3d5df19565ff1eacb8a422d77ad6616326e3076b5df35a55d53ceac1d
7
+ data.tar.gz: 47240ae00117fbf7c641162757ec60be2488c5be28cb530049d4cca9179983c2ff56624ba453e94efdee4b0b67d2afd85bf80760fc9aedc93bfe1b916ad2ab37
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.950
1
+ 3.0.951
@@ -2160,16 +2160,24 @@ module TencentCloud
2160
2160
 
2161
2161
  # 产品级联筛选值
2162
2162
  class BillBusinessLink < TencentCloud::Common::AbstractModel
2163
+ # @param BusinessCode: 产品编码
2164
+ # @type BusinessCode: String
2165
+ # @param BusinessCodeName: 产品名称
2166
+ # @type BusinessCodeName: String
2163
2167
  # @param Children: 子产品
2164
2168
  # @type Children: Array
2165
2169
 
2166
- attr_accessor :Children
2170
+ attr_accessor :BusinessCode, :BusinessCodeName, :Children
2167
2171
 
2168
- def initialize(children=nil)
2172
+ def initialize(businesscode=nil, businesscodename=nil, children=nil)
2173
+ @BusinessCode = businesscode
2174
+ @BusinessCodeName = businesscodename
2169
2175
  @Children = children
2170
2176
  end
2171
2177
 
2172
2178
  def deserialize(params)
2179
+ @BusinessCode = params['BusinessCode']
2180
+ @BusinessCodeName = params['BusinessCodeName']
2173
2181
  unless params['Children'].nil?
2174
2182
  @Children = []
2175
2183
  params['Children'].each do |i|
@@ -2915,12 +2923,35 @@ module TencentCloud
2915
2923
 
2916
2924
  # 分账条件子产品筛选
2917
2925
  class BillProductLink < TencentCloud::Common::AbstractModel
2926
+ # @param ProductCode: 子产品编码
2927
+ # 注意:此字段可能返回 null,表示取不到有效值。
2928
+ # @type ProductCode: String
2929
+ # @param ProductCodeName: 子产品名称
2930
+ # 注意:此字段可能返回 null,表示取不到有效值。
2931
+ # @type ProductCodeName: String
2932
+ # @param Children: 组件名称
2933
+ # 注意:此字段可能返回 null,表示取不到有效值。
2934
+ # @type Children: Array
2918
2935
 
2936
+ attr_accessor :ProductCode, :ProductCodeName, :Children
2919
2937
 
2920
- def initialize()
2938
+ def initialize(productcode=nil, productcodename=nil, children=nil)
2939
+ @ProductCode = productcode
2940
+ @ProductCodeName = productcodename
2941
+ @Children = children
2921
2942
  end
2922
2943
 
2923
2944
  def deserialize(params)
2945
+ @ProductCode = params['ProductCode']
2946
+ @ProductCodeName = params['ProductCodeName']
2947
+ unless params['Children'].nil?
2948
+ @Children = []
2949
+ params['Children'].each do |i|
2950
+ billitem_tmp = BillItem.new
2951
+ billitem_tmp.deserialize(i)
2952
+ @Children << billitem_tmp
2953
+ end
2954
+ end
2924
2955
  end
2925
2956
  end
2926
2957
 
@@ -7357,7 +7388,7 @@ module TencentCloud
7357
7388
  # @type Total: :class:`Tencentcloud::Billing.v20180709.models.ConsumptionSummaryTotal`
7358
7389
  # @param Data: 消耗按业务汇总详情
7359
7390
  # @type Data: Array
7360
- # @param RecordNum: 记录数量,NeedRecordNum为0是返回null
7391
+ # @param RecordNum: 记录数量,NeedRecordNum为0时返回null
7361
7392
  # @type RecordNum: Integer
7362
7393
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7363
7394
  # @type RequestId: String
@@ -7435,7 +7466,7 @@ module TencentCloud
7435
7466
  # @type Total: :class:`Tencentcloud::Billing.v20180709.models.ConsumptionSummaryTotal`
7436
7467
  # @param Data: 消耗按地域汇总详情
7437
7468
  # @type Data: Array
7438
- # @param RecordNum: 记录数量,NeedRecordNum为0是返回null
7469
+ # @param RecordNum: 记录数量,NeedRecordNum为0时返回null
7439
7470
  # 注意:此字段可能返回 null,表示取不到有效值。
7440
7471
  # @type RecordNum: Integer
7441
7472
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -8595,7 +8626,6 @@ module TencentCloud
8595
8626
  # @param TotalUsedAmount: 总已用金额(微分)
8596
8627
  # @type TotalUsedAmount: Integer
8597
8628
  # @param UsageRecords: 代金券使用记录细节
8598
- # 注意:此字段可能返回 null,表示取不到有效值。
8599
8629
  # @type UsageRecords: Array
8600
8630
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8601
8631
  # @type RequestId: String
@@ -9690,34 +9720,24 @@ module TencentCloud
9690
9720
  # 购买商品信息
9691
9721
  class UsageDetails < TencentCloud::Common::AbstractModel
9692
9722
  # @param ProductName: 商品名
9693
- # 注意:此字段可能返回 null,表示取不到有效值。
9694
9723
  # @type ProductName: String
9695
9724
  # @param SubProductName: 商品细节
9696
- # 注意:此字段可能返回 null,表示取不到有效值。
9697
9725
  # @type SubProductName: String
9698
9726
  # @param ProductCode: 产品码
9699
- # 注意:此字段可能返回 null,表示取不到有效值。
9700
9727
  # @type ProductCode: String
9701
9728
  # @param SubProductCode: 子产品码
9702
- # 注意:此字段可能返回 null,表示取不到有效值。
9703
9729
  # @type SubProductCode: String
9704
9730
  # @param BillingItemCode: 计费项码
9705
- # 注意:此字段可能返回 null,表示取不到有效值。
9706
9731
  # @type BillingItemCode: String
9707
9732
  # @param SubBillingItemCode: 计费细项码
9708
- # 注意:此字段可能返回 null,表示取不到有效值。
9709
9733
  # @type SubBillingItemCode: String
9710
9734
  # @param ProductEnName: 产品英文名
9711
- # 注意:此字段可能返回 null,表示取不到有效值。
9712
9735
  # @type ProductEnName: String
9713
9736
  # @param SubProductEnName: 子产品英文名
9714
- # 注意:此字段可能返回 null,表示取不到有效值。
9715
9737
  # @type SubProductEnName: String
9716
9738
  # @param CalcUnit: 结算周期
9717
- # 注意:此字段可能返回 null,表示取不到有效值。
9718
9739
  # @type CalcUnit: String
9719
9740
  # @param Action: payMode为prepay 且 payScene为common的情况下存在
9720
- # 注意:此字段可能返回 null,表示取不到有效值。
9721
9741
  # @type Action: String
9722
9742
 
9723
9743
  attr_accessor :ProductName, :SubProductName, :ProductCode, :SubProductCode, :BillingItemCode, :SubBillingItemCode, :ProductEnName, :SubProductEnName, :CalcUnit, :Action
@@ -9756,18 +9776,14 @@ module TencentCloud
9756
9776
  # @param UsedTime: 使用时间
9757
9777
  # @type UsedTime: String
9758
9778
  # @param UsageDetails: 使用记录细节
9759
- # 注意:此字段可能返回 null,表示取不到有效值。
9760
9779
  # @type UsageDetails: Array
9761
9780
  # @param PayMode: 付费模式
9762
9781
  # @type PayMode: String
9763
9782
  # @param VoucherId: 查询的券id
9764
- # 注意:此字段可能返回 null,表示取不到有效值。
9765
9783
  # @type VoucherId: String
9766
9784
  # @param PayScene: 交易场景:(adjust:调账、common:正常交易场景)
9767
- # 注意:此字段可能返回 null,表示取不到有效值。
9768
9785
  # @type PayScene: String
9769
9786
  # @param SeqId: 唯一id,对应交易:预付费的dealName,调账/后付费的outTradeNo
9770
- # 注意:此字段可能返回 null,表示取不到有效值。
9771
9787
  # @type SeqId: String
9772
9788
 
9773
9789
  attr_accessor :UsedAmount, :UsedTime, :UsageDetails, :PayMode, :VoucherId, :PayScene, :SeqId
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.950
4
+ version: 3.0.951
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-27 00:00:00.000000000 Z
11
+ date: 2024-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common