tencentcloud-sdk-billing 3.0.1183 → 3.0.1188
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/v20180709/models.rb +66 -10
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 69bd13f8f32358353b64f7b407f3ebcb6103b6e4
|
|
4
|
+
data.tar.gz: 0d2916ca822eb2a3d706d93f570ed55425793ddc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c418109d4b7a561871684b94dceb85084de45c4d2592b38ad1f07f1652ed78bf6f24de5c45ec379402519bf6eb472bd6ea0c49b06d9ad445f34b425da673f780
|
|
7
|
+
data.tar.gz: e2219434195469c00d0b7086d63f2e9065690064529a51ea2237292ac2e8b4b4281f07f7f729160cd78d6a899db16da79f073632d556149ebe07bb77c43f612f
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1188
|
data/lib/v20180709/models.rb
CHANGED
|
@@ -5212,10 +5212,12 @@ module TencentCloud
|
|
|
5212
5212
|
# @param ResourceId: 订单对应的资源id, 查询参数Limit超过200,将返回null
|
|
5213
5213
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
5214
5214
|
# @type ResourceId: Array
|
|
5215
|
+
# @param ZoneCode: 订单对应的可用区Id
|
|
5216
|
+
# @type ZoneCode: String
|
|
5215
5217
|
|
|
5216
|
-
attr_accessor :OrderId, :Status, :Payer, :CreateTime, :Creator, :RealTotalCost, :VoucherDecline, :ProjectId, :GoodsCategoryId, :ProductInfo, :TimeSpan, :TimeUnit, :Currency, :Policy, :Price, :TotalCost, :ProductCode, :SubProductCode, :BigDealId, :Formula, :RefReturnDeals, :PayMode, :Action, :ProductName, :SubProductName, :ResourceId
|
|
5218
|
+
attr_accessor :OrderId, :Status, :Payer, :CreateTime, :Creator, :RealTotalCost, :VoucherDecline, :ProjectId, :GoodsCategoryId, :ProductInfo, :TimeSpan, :TimeUnit, :Currency, :Policy, :Price, :TotalCost, :ProductCode, :SubProductCode, :BigDealId, :Formula, :RefReturnDeals, :PayMode, :Action, :ProductName, :SubProductName, :ResourceId, :ZoneCode
|
|
5217
5219
|
|
|
5218
|
-
def initialize(orderid=nil, status=nil, payer=nil, createtime=nil, creator=nil, realtotalcost=nil, voucherdecline=nil, projectid=nil, goodscategoryid=nil, productinfo=nil, timespan=nil, timeunit=nil, currency=nil, policy=nil, price=nil, totalcost=nil, productcode=nil, subproductcode=nil, bigdealid=nil, formula=nil, refreturndeals=nil, paymode=nil, action=nil, productname=nil, subproductname=nil, resourceid=nil)
|
|
5220
|
+
def initialize(orderid=nil, status=nil, payer=nil, createtime=nil, creator=nil, realtotalcost=nil, voucherdecline=nil, projectid=nil, goodscategoryid=nil, productinfo=nil, timespan=nil, timeunit=nil, currency=nil, policy=nil, price=nil, totalcost=nil, productcode=nil, subproductcode=nil, bigdealid=nil, formula=nil, refreturndeals=nil, paymode=nil, action=nil, productname=nil, subproductname=nil, resourceid=nil, zonecode=nil)
|
|
5219
5221
|
@OrderId = orderid
|
|
5220
5222
|
@Status = status
|
|
5221
5223
|
@Payer = payer
|
|
@@ -5242,6 +5244,7 @@ module TencentCloud
|
|
|
5242
5244
|
@ProductName = productname
|
|
5243
5245
|
@SubProductName = subproductname
|
|
5244
5246
|
@ResourceId = resourceid
|
|
5247
|
+
@ZoneCode = zonecode
|
|
5245
5248
|
end
|
|
5246
5249
|
|
|
5247
5250
|
def deserialize(params)
|
|
@@ -5278,6 +5281,7 @@ module TencentCloud
|
|
|
5278
5281
|
@ProductName = params['ProductName']
|
|
5279
5282
|
@SubProductName = params['SubProductName']
|
|
5280
5283
|
@ResourceId = params['ResourceId']
|
|
5284
|
+
@ZoneCode = params['ZoneCode']
|
|
5281
5285
|
end
|
|
5282
5286
|
end
|
|
5283
5287
|
|
|
@@ -5467,12 +5471,17 @@ module TencentCloud
|
|
|
5467
5471
|
|
|
5468
5472
|
# DescribeAccountBalance请求参数结构体
|
|
5469
5473
|
class DescribeAccountBalanceRequest < TencentCloud::Common::AbstractModel
|
|
5474
|
+
# @param TempCredit: 是否查询临时额度
|
|
5475
|
+
# @type TempCredit: Boolean
|
|
5470
5476
|
|
|
5477
|
+
attr_accessor :TempCredit
|
|
5471
5478
|
|
|
5472
|
-
def initialize()
|
|
5479
|
+
def initialize(tempcredit=nil)
|
|
5480
|
+
@TempCredit = tempcredit
|
|
5473
5481
|
end
|
|
5474
5482
|
|
|
5475
5483
|
def deserialize(params)
|
|
5484
|
+
@TempCredit = params['TempCredit']
|
|
5476
5485
|
end
|
|
5477
5486
|
end
|
|
5478
5487
|
|
|
@@ -5504,17 +5513,21 @@ module TencentCloud
|
|
|
5504
5513
|
# @type CreditBalance: Float
|
|
5505
5514
|
# @param RealCreditBalance: 真实可用信用额度,单位 分
|
|
5506
5515
|
# @type RealCreditBalance: Float
|
|
5516
|
+
# @param TempCredit: 临时额度,单位 分
|
|
5517
|
+
# @type TempCredit: Float
|
|
5518
|
+
# @param TempAmountInfoList: 临时额度详情
|
|
5519
|
+
# @type TempAmountInfoList: Array
|
|
5507
5520
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5508
5521
|
# @type RequestId: String
|
|
5509
5522
|
|
|
5510
|
-
attr_accessor :Balance, :Uin, :RealBalance, :CashAccountBalance, :IncomeIntoAccountBalance, :PresentAccountBalance, :FreezeAmount, :OweAmount, :IsAllowArrears, :IsCreditLimited, :CreditAmount, :CreditBalance, :RealCreditBalance, :RequestId
|
|
5523
|
+
attr_accessor :Balance, :Uin, :RealBalance, :CashAccountBalance, :IncomeIntoAccountBalance, :PresentAccountBalance, :FreezeAmount, :OweAmount, :IsAllowArrears, :IsCreditLimited, :CreditAmount, :CreditBalance, :RealCreditBalance, :TempCredit, :TempAmountInfoList, :RequestId
|
|
5511
5524
|
extend Gem::Deprecate
|
|
5512
5525
|
deprecate :IsAllowArrears, :none, 2025, 12
|
|
5513
5526
|
deprecate :IsAllowArrears=, :none, 2025, 12
|
|
5514
5527
|
deprecate :IsCreditLimited, :none, 2025, 12
|
|
5515
5528
|
deprecate :IsCreditLimited=, :none, 2025, 12
|
|
5516
5529
|
|
|
5517
|
-
def initialize(balance=nil, uin=nil, realbalance=nil, cashaccountbalance=nil, incomeintoaccountbalance=nil, presentaccountbalance=nil, freezeamount=nil, oweamount=nil, isallowarrears=nil, iscreditlimited=nil, creditamount=nil, creditbalance=nil, realcreditbalance=nil, requestid=nil)
|
|
5530
|
+
def initialize(balance=nil, uin=nil, realbalance=nil, cashaccountbalance=nil, incomeintoaccountbalance=nil, presentaccountbalance=nil, freezeamount=nil, oweamount=nil, isallowarrears=nil, iscreditlimited=nil, creditamount=nil, creditbalance=nil, realcreditbalance=nil, tempcredit=nil, tempamountinfolist=nil, requestid=nil)
|
|
5518
5531
|
@Balance = balance
|
|
5519
5532
|
@Uin = uin
|
|
5520
5533
|
@RealBalance = realbalance
|
|
@@ -5528,6 +5541,8 @@ module TencentCloud
|
|
|
5528
5541
|
@CreditAmount = creditamount
|
|
5529
5542
|
@CreditBalance = creditbalance
|
|
5530
5543
|
@RealCreditBalance = realcreditbalance
|
|
5544
|
+
@TempCredit = tempcredit
|
|
5545
|
+
@TempAmountInfoList = tempamountinfolist
|
|
5531
5546
|
@RequestId = requestid
|
|
5532
5547
|
end
|
|
5533
5548
|
|
|
@@ -5545,6 +5560,15 @@ module TencentCloud
|
|
|
5545
5560
|
@CreditAmount = params['CreditAmount']
|
|
5546
5561
|
@CreditBalance = params['CreditBalance']
|
|
5547
5562
|
@RealCreditBalance = params['RealCreditBalance']
|
|
5563
|
+
@TempCredit = params['TempCredit']
|
|
5564
|
+
unless params['TempAmountInfoList'].nil?
|
|
5565
|
+
@TempAmountInfoList = []
|
|
5566
|
+
params['TempAmountInfoList'].each do |i|
|
|
5567
|
+
uintempamountmodel_tmp = UinTempAmountModel.new
|
|
5568
|
+
uintempamountmodel_tmp.deserialize(i)
|
|
5569
|
+
@TempAmountInfoList << uintempamountmodel_tmp
|
|
5570
|
+
end
|
|
5571
|
+
end
|
|
5548
5572
|
@RequestId = params['RequestId']
|
|
5549
5573
|
end
|
|
5550
5574
|
end
|
|
@@ -8399,14 +8423,14 @@ module TencentCloud
|
|
|
8399
8423
|
# @type Limit: Integer
|
|
8400
8424
|
# @param Offset: 偏移量
|
|
8401
8425
|
# @type Offset: Integer
|
|
8402
|
-
# @param BeginTime:
|
|
8426
|
+
# @param BeginTime: 周期开始时间,查询粒度为天级别,需传入时分秒参数,格式为yyyy-mm-dd hh:ii:ss,Month和BeginTime&EndTime必传一个,如果有该字段则Month字段无效。BeginTime和EndTime必须一起传,且为同一月份,暂不支持跨月拉取。可拉取的数据是开通消耗账单后,且距今 18 个月内的数据。
|
|
8403
8427
|
# @type BeginTime: String
|
|
8404
|
-
# @param EndTime:
|
|
8428
|
+
# @param EndTime: 周期结束时间,查询粒度为天级别,需传入时分秒参数,格式为yyyy-mm-dd hh:ii:ss,Month和BeginTime&EndTime必传一个,如果有该字段则Month字段无效。BeginTime和EndTime必须一起传,且为同一月份,暂不支持跨月拉取。可拉取的数据是开通消耗账单后,且距今 18 个月内的数据。
|
|
8405
8429
|
# @type EndTime: String
|
|
8406
8430
|
# @param NeedRecordNum: 是否需要访问列表的总记录数,用于前端分页
|
|
8407
8431
|
# 1-表示需要, 0-表示不需要
|
|
8408
8432
|
# @type NeedRecordNum: Integer
|
|
8409
|
-
# @param Month: 月份,格式为yyyy-mm,Month和BeginTime&EndTime必传一个,如果有传BeginTime&EndTime则Month
|
|
8433
|
+
# @param Month: 月份,格式为yyyy-mm,Month和BeginTime&EndTime必传一个,如果有传BeginTime&EndTime则Month字段无效。不能早于开通消耗账单的月份,最多可拉取18个月内的数据。
|
|
8410
8434
|
# @type Month: String
|
|
8411
8435
|
# @param ProductCode: 查询指定产品信息
|
|
8412
8436
|
# @type ProductCode: String
|
|
@@ -8960,10 +8984,12 @@ module TencentCloud
|
|
|
8960
8984
|
# @type BigDealId: String
|
|
8961
8985
|
# @param ResourceId: 资源id
|
|
8962
8986
|
# @type ResourceId: String
|
|
8987
|
+
# @param StatusSet: 订单状态
|
|
8988
|
+
# @type StatusSet: Array
|
|
8963
8989
|
|
|
8964
|
-
attr_accessor :StartTime, :EndTime, :Limit, :Offset, :Status, :OrderId, :BigDealId, :ResourceId
|
|
8990
|
+
attr_accessor :StartTime, :EndTime, :Limit, :Offset, :Status, :OrderId, :BigDealId, :ResourceId, :StatusSet
|
|
8965
8991
|
|
|
8966
|
-
def initialize(starttime=nil, endtime=nil, limit=nil, offset=nil, status=nil, orderid=nil, bigdealid=nil, resourceid=nil)
|
|
8992
|
+
def initialize(starttime=nil, endtime=nil, limit=nil, offset=nil, status=nil, orderid=nil, bigdealid=nil, resourceid=nil, statusset=nil)
|
|
8967
8993
|
@StartTime = starttime
|
|
8968
8994
|
@EndTime = endtime
|
|
8969
8995
|
@Limit = limit
|
|
@@ -8972,6 +8998,7 @@ module TencentCloud
|
|
|
8972
8998
|
@OrderId = orderid
|
|
8973
8999
|
@BigDealId = bigdealid
|
|
8974
9000
|
@ResourceId = resourceid
|
|
9001
|
+
@StatusSet = statusset
|
|
8975
9002
|
end
|
|
8976
9003
|
|
|
8977
9004
|
def deserialize(params)
|
|
@@ -8983,6 +9010,7 @@ module TencentCloud
|
|
|
8983
9010
|
@OrderId = params['OrderId']
|
|
8984
9011
|
@BigDealId = params['BigDealId']
|
|
8985
9012
|
@ResourceId = params['ResourceId']
|
|
9013
|
+
@StatusSet = params['StatusSet']
|
|
8986
9014
|
end
|
|
8987
9015
|
end
|
|
8988
9016
|
|
|
@@ -11002,6 +11030,34 @@ module TencentCloud
|
|
|
11002
11030
|
end
|
|
11003
11031
|
end
|
|
11004
11032
|
|
|
11033
|
+
# 临时额度详情
|
|
11034
|
+
class UinTempAmountModel < TencentCloud::Common::AbstractModel
|
|
11035
|
+
# @param Uin: 用户uin
|
|
11036
|
+
# @type Uin: String
|
|
11037
|
+
# @param TempAmount: 临时额度
|
|
11038
|
+
# @type TempAmount: Float
|
|
11039
|
+
# @param StartTime: 开始时间
|
|
11040
|
+
# @type StartTime: String
|
|
11041
|
+
# @param EndTime: 结束时间
|
|
11042
|
+
# @type EndTime: String
|
|
11043
|
+
|
|
11044
|
+
attr_accessor :Uin, :TempAmount, :StartTime, :EndTime
|
|
11045
|
+
|
|
11046
|
+
def initialize(uin=nil, tempamount=nil, starttime=nil, endtime=nil)
|
|
11047
|
+
@Uin = uin
|
|
11048
|
+
@TempAmount = tempamount
|
|
11049
|
+
@StartTime = starttime
|
|
11050
|
+
@EndTime = endtime
|
|
11051
|
+
end
|
|
11052
|
+
|
|
11053
|
+
def deserialize(params)
|
|
11054
|
+
@Uin = params['Uin']
|
|
11055
|
+
@TempAmount = params['TempAmount']
|
|
11056
|
+
@StartTime = params['StartTime']
|
|
11057
|
+
@EndTime = params['EndTime']
|
|
11058
|
+
end
|
|
11059
|
+
end
|
|
11060
|
+
|
|
11005
11061
|
# 购买商品信息
|
|
11006
11062
|
class UsageDetails < TencentCloud::Common::AbstractModel
|
|
11007
11063
|
# @param ProductName: 商品名
|
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.
|
|
4
|
+
version: 3.0.1188
|
|
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-12-
|
|
11
|
+
date: 2025-12-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|
|
@@ -33,9 +33,9 @@ executables: []
|
|
|
33
33
|
extensions: []
|
|
34
34
|
extra_rdoc_files: []
|
|
35
35
|
files:
|
|
36
|
-
- lib/tencentcloud-sdk-billing.rb
|
|
37
|
-
- lib/v20180709/models.rb
|
|
38
36
|
- lib/v20180709/client.rb
|
|
37
|
+
- lib/v20180709/models.rb
|
|
38
|
+
- lib/tencentcloud-sdk-billing.rb
|
|
39
39
|
- lib/VERSION
|
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
|
41
41
|
licenses:
|