tencentcloud-sdk-billing 1.0.272 → 1.0.273
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180709/client.rb +48 -0
- data/lib/v20180709/models.rb +334 -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: e9782e8072e8e850c70b2ec0717d79742f5e95f7
|
4
|
+
data.tar.gz: dcc6350c3db046a5cade57417c1dc15ccbff8a95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f7fd0be4d55b0a031c982f2f24ba8e46dbe035ea484eeac685961f2022486a9b35ccb21a14d5d8c0fb3514c017df18d360c4325e690fcab41a7b2b4ce87327c
|
7
|
+
data.tar.gz: f88e3156a6a8cbf35343e8c760232c984f554a935bf853e5d4a979e67e74dbc5833b4a3427ab91768e6e62432bccca7fe7244a7a8fed92ffe547b0de16512ed3
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.273
|
data/lib/v20180709/client.rb
CHANGED
@@ -437,6 +437,54 @@ 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 DescribeVoucherInfo.
|
443
|
+
# @type request: :class:`Tencentcloud::billing::V20180709::DescribeVoucherInfoRequest`
|
444
|
+
# @rtype: :class:`Tencentcloud::billing::V20180709::DescribeVoucherInfoResponse`
|
445
|
+
def DescribeVoucherInfo(request)
|
446
|
+
body = send_request('DescribeVoucherInfo', request.serialize)
|
447
|
+
response = JSON.parse(body)
|
448
|
+
if response['Response'].key?('Error') == false
|
449
|
+
model = DescribeVoucherInfoResponse.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
|
+
|
464
|
+
# 获取代金券使用记录
|
465
|
+
|
466
|
+
# @param request: Request instance for DescribeVoucherUsageDetails.
|
467
|
+
# @type request: :class:`Tencentcloud::billing::V20180709::DescribeVoucherUsageDetailsRequest`
|
468
|
+
# @rtype: :class:`Tencentcloud::billing::V20180709::DescribeVoucherUsageDetailsResponse`
|
469
|
+
def DescribeVoucherUsageDetails(request)
|
470
|
+
body = send_request('DescribeVoucherUsageDetails', request.serialize)
|
471
|
+
response = JSON.parse(body)
|
472
|
+
if response['Response'].key?('Error') == false
|
473
|
+
model = DescribeVoucherUsageDetailsResponse.new
|
474
|
+
model.deserialize(response['Response'])
|
475
|
+
model
|
476
|
+
else
|
477
|
+
code = response['Response']['Error']['Code']
|
478
|
+
message = response['Response']['Error']['Message']
|
479
|
+
reqid = response['Response']['RequestId']
|
480
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
481
|
+
end
|
482
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
483
|
+
raise e
|
484
|
+
rescue StandardError => e
|
485
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
486
|
+
end
|
487
|
+
|
440
488
|
# 支付订单
|
441
489
|
|
442
490
|
# @param request: Request instance for PayDeals.
|
data/lib/v20180709/models.rb
CHANGED
@@ -65,6 +65,26 @@ module TencentCloud
|
|
65
65
|
end
|
66
66
|
end
|
67
67
|
|
68
|
+
# 适用商品信息
|
69
|
+
class ApplicableProducts < TencentCloud::Common::AbstractModel
|
70
|
+
# @param GoodsName: 适用商品名称,值为“全产品通用”或商品名称组成的string,以","分割。
|
71
|
+
# @type GoodsName: String
|
72
|
+
# @param PayMode: postPay后付费/prePay预付费/riPay预留实例/空字符串或者"*"表示全部模式。如GoodsName为多个商品名以","分割组成的string,而PayMode为"*",表示每一件商品的模式都为"*"。
|
73
|
+
# @type PayMode: String
|
74
|
+
|
75
|
+
attr_accessor :GoodsName, :PayMode
|
76
|
+
|
77
|
+
def initialize(goodsname=nil, paymode=nil)
|
78
|
+
@GoodsName = goodsname
|
79
|
+
@PayMode = paymode
|
80
|
+
end
|
81
|
+
|
82
|
+
def deserialize(params)
|
83
|
+
@GoodsName = params['GoodsName']
|
84
|
+
@PayMode = params['PayMode']
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
68
88
|
# 账单明细数据对象
|
69
89
|
class BillDetail < TencentCloud::Common::AbstractModel
|
70
90
|
# @param BusinessCodeName: 产品名称:云产品大类,如云服务器CVM、云数据库MySQL
|
@@ -2769,6 +2789,178 @@ module TencentCloud
|
|
2769
2789
|
end
|
2770
2790
|
end
|
2771
2791
|
|
2792
|
+
# DescribeVoucherInfo请求参数结构体
|
2793
|
+
class DescribeVoucherInfoRequest < TencentCloud::Common::AbstractModel
|
2794
|
+
# @param Limit: 一页多少条数据,默认是20条,最大不超过1000
|
2795
|
+
# @type Limit: Integer
|
2796
|
+
# @param Offset: 第多少页,默认是1
|
2797
|
+
# @type Offset: Integer
|
2798
|
+
# @param Status: 券状态:待使用:unUsed,已使用: used,已发货:delivered,已作废: cancel,已过期:overdue
|
2799
|
+
# @type Status: String
|
2800
|
+
# @param VoucherId: 代金券id
|
2801
|
+
# @type VoucherId: String
|
2802
|
+
# @param CodeId: 代金券订单id
|
2803
|
+
# @type CodeId: String
|
2804
|
+
# @param ProductCode: 商品码
|
2805
|
+
# @type ProductCode: String
|
2806
|
+
# @param ActivityId: 活动id
|
2807
|
+
# @type ActivityId: String
|
2808
|
+
# @param VoucherName: 代金券名称
|
2809
|
+
# @type VoucherName: String
|
2810
|
+
# @param TimeFrom: 发放开始时间
|
2811
|
+
# @type TimeFrom: String
|
2812
|
+
# @param TimeTo: 发放结束时间
|
2813
|
+
# @type TimeTo: String
|
2814
|
+
# @param SortField: 指定排序字段:BeginTime开始时间、EndTime到期时间、CreateTime创建时间
|
2815
|
+
# @type SortField: String
|
2816
|
+
# @param SortOrder: 指定升序降序:desc、asc
|
2817
|
+
# @type SortOrder: String
|
2818
|
+
# @param PayMode: 付费模式,postPay后付费/prePay预付费/riPay预留实例/""或者"*"表示全部模式,如果payMode为""或"*",那么productCode与subProductCode必须传空
|
2819
|
+
# @type PayMode: String
|
2820
|
+
# @param PayScene: 付费场景PayMode=postPay时:spotpay-竞价实例,"settle account"-普通后付费PayMode=prePay时:purchase-包年包月新购,renew-包年包月续费(自动续费),modify-包年包月配置变更(变配)PayMode=riPay时:oneOffFee-预留实例预付,hourlyFee-预留实例每小时扣费,*-支持全部付费场景
|
2821
|
+
# @type PayScene: String
|
2822
|
+
# @param Operator: 操作人,默认就是用户uin
|
2823
|
+
# @type Operator: String
|
2824
|
+
|
2825
|
+
attr_accessor :Limit, :Offset, :Status, :VoucherId, :CodeId, :ProductCode, :ActivityId, :VoucherName, :TimeFrom, :TimeTo, :SortField, :SortOrder, :PayMode, :PayScene, :Operator
|
2826
|
+
|
2827
|
+
def initialize(limit=nil, offset=nil, status=nil, voucherid=nil, codeid=nil, productcode=nil, activityid=nil, vouchername=nil, timefrom=nil, timeto=nil, sortfield=nil, sortorder=nil, paymode=nil, payscene=nil, operator=nil)
|
2828
|
+
@Limit = limit
|
2829
|
+
@Offset = offset
|
2830
|
+
@Status = status
|
2831
|
+
@VoucherId = voucherid
|
2832
|
+
@CodeId = codeid
|
2833
|
+
@ProductCode = productcode
|
2834
|
+
@ActivityId = activityid
|
2835
|
+
@VoucherName = vouchername
|
2836
|
+
@TimeFrom = timefrom
|
2837
|
+
@TimeTo = timeto
|
2838
|
+
@SortField = sortfield
|
2839
|
+
@SortOrder = sortorder
|
2840
|
+
@PayMode = paymode
|
2841
|
+
@PayScene = payscene
|
2842
|
+
@Operator = operator
|
2843
|
+
end
|
2844
|
+
|
2845
|
+
def deserialize(params)
|
2846
|
+
@Limit = params['Limit']
|
2847
|
+
@Offset = params['Offset']
|
2848
|
+
@Status = params['Status']
|
2849
|
+
@VoucherId = params['VoucherId']
|
2850
|
+
@CodeId = params['CodeId']
|
2851
|
+
@ProductCode = params['ProductCode']
|
2852
|
+
@ActivityId = params['ActivityId']
|
2853
|
+
@VoucherName = params['VoucherName']
|
2854
|
+
@TimeFrom = params['TimeFrom']
|
2855
|
+
@TimeTo = params['TimeTo']
|
2856
|
+
@SortField = params['SortField']
|
2857
|
+
@SortOrder = params['SortOrder']
|
2858
|
+
@PayMode = params['PayMode']
|
2859
|
+
@PayScene = params['PayScene']
|
2860
|
+
@Operator = params['Operator']
|
2861
|
+
end
|
2862
|
+
end
|
2863
|
+
|
2864
|
+
# DescribeVoucherInfo返回参数结构体
|
2865
|
+
class DescribeVoucherInfoResponse < TencentCloud::Common::AbstractModel
|
2866
|
+
# @param TotalCount: 券总数
|
2867
|
+
# @type TotalCount: Integer
|
2868
|
+
# @param TotalBalance: 总余额(微分)
|
2869
|
+
# @type TotalBalance: Integer
|
2870
|
+
# @param VoucherInfos: 代金券相关信息
|
2871
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2872
|
+
# @type VoucherInfos: Array
|
2873
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2874
|
+
# @type RequestId: String
|
2875
|
+
|
2876
|
+
attr_accessor :TotalCount, :TotalBalance, :VoucherInfos, :RequestId
|
2877
|
+
|
2878
|
+
def initialize(totalcount=nil, totalbalance=nil, voucherinfos=nil, requestid=nil)
|
2879
|
+
@TotalCount = totalcount
|
2880
|
+
@TotalBalance = totalbalance
|
2881
|
+
@VoucherInfos = voucherinfos
|
2882
|
+
@RequestId = requestid
|
2883
|
+
end
|
2884
|
+
|
2885
|
+
def deserialize(params)
|
2886
|
+
@TotalCount = params['TotalCount']
|
2887
|
+
@TotalBalance = params['TotalBalance']
|
2888
|
+
unless params['VoucherInfos'].nil?
|
2889
|
+
@VoucherInfos = []
|
2890
|
+
params['VoucherInfos'].each do |i|
|
2891
|
+
voucherinfos_tmp = VoucherInfos.new
|
2892
|
+
voucherinfos_tmp.deserialize(i)
|
2893
|
+
@VoucherInfos << voucherinfos_tmp
|
2894
|
+
end
|
2895
|
+
end
|
2896
|
+
@RequestId = params['RequestId']
|
2897
|
+
end
|
2898
|
+
end
|
2899
|
+
|
2900
|
+
# DescribeVoucherUsageDetails请求参数结构体
|
2901
|
+
class DescribeVoucherUsageDetailsRequest < TencentCloud::Common::AbstractModel
|
2902
|
+
# @param Limit: 一页多少条数据,默认是20条,最大不超过1000
|
2903
|
+
# @type Limit: Integer
|
2904
|
+
# @param Offset: 第多少页,默认是1
|
2905
|
+
# @type Offset: Integer
|
2906
|
+
# @param VoucherId: 代金券id
|
2907
|
+
# @type VoucherId: String
|
2908
|
+
# @param Operator: 操作人,默认就是用户uin
|
2909
|
+
# @type Operator: String
|
2910
|
+
|
2911
|
+
attr_accessor :Limit, :Offset, :VoucherId, :Operator
|
2912
|
+
|
2913
|
+
def initialize(limit=nil, offset=nil, voucherid=nil, operator=nil)
|
2914
|
+
@Limit = limit
|
2915
|
+
@Offset = offset
|
2916
|
+
@VoucherId = voucherid
|
2917
|
+
@Operator = operator
|
2918
|
+
end
|
2919
|
+
|
2920
|
+
def deserialize(params)
|
2921
|
+
@Limit = params['Limit']
|
2922
|
+
@Offset = params['Offset']
|
2923
|
+
@VoucherId = params['VoucherId']
|
2924
|
+
@Operator = params['Operator']
|
2925
|
+
end
|
2926
|
+
end
|
2927
|
+
|
2928
|
+
# DescribeVoucherUsageDetails返回参数结构体
|
2929
|
+
class DescribeVoucherUsageDetailsResponse < TencentCloud::Common::AbstractModel
|
2930
|
+
# @param TotalCount: 券总数
|
2931
|
+
# @type TotalCount: Integer
|
2932
|
+
# @param TotalUsedAmount: 总已用金额(微分)
|
2933
|
+
# @type TotalUsedAmount: Integer
|
2934
|
+
# @param UsageRecords: 代金券使用记录细节
|
2935
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2936
|
+
# @type UsageRecords: Array
|
2937
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2938
|
+
# @type RequestId: String
|
2939
|
+
|
2940
|
+
attr_accessor :TotalCount, :TotalUsedAmount, :UsageRecords, :RequestId
|
2941
|
+
|
2942
|
+
def initialize(totalcount=nil, totalusedamount=nil, usagerecords=nil, requestid=nil)
|
2943
|
+
@TotalCount = totalcount
|
2944
|
+
@TotalUsedAmount = totalusedamount
|
2945
|
+
@UsageRecords = usagerecords
|
2946
|
+
@RequestId = requestid
|
2947
|
+
end
|
2948
|
+
|
2949
|
+
def deserialize(params)
|
2950
|
+
@TotalCount = params['TotalCount']
|
2951
|
+
@TotalUsedAmount = params['TotalUsedAmount']
|
2952
|
+
unless params['UsageRecords'].nil?
|
2953
|
+
@UsageRecords = []
|
2954
|
+
params['UsageRecords'].each do |i|
|
2955
|
+
usagerecords_tmp = UsageRecords.new
|
2956
|
+
usagerecords_tmp.deserialize(i)
|
2957
|
+
@UsageRecords << usagerecords_tmp
|
2958
|
+
end
|
2959
|
+
end
|
2960
|
+
@RequestId = params['RequestId']
|
2961
|
+
end
|
2962
|
+
end
|
2963
|
+
|
2772
2964
|
# 由时间和值组成的数据结构
|
2773
2965
|
class DetailPoint < TencentCloud::Common::AbstractModel
|
2774
2966
|
# @param Time: 时间
|
@@ -2821,6 +3013,26 @@ module TencentCloud
|
|
2821
3013
|
end
|
2822
3014
|
end
|
2823
3015
|
|
3016
|
+
# 不适用商品信息
|
3017
|
+
class ExcludedProducts < TencentCloud::Common::AbstractModel
|
3018
|
+
# @param GoodsName: 不适用商品名称
|
3019
|
+
# @type GoodsName: String
|
3020
|
+
# @param PayMode: postPay后付费/prePay预付费/riPay预留实例/空字符串或者"*"表示全部模式。
|
3021
|
+
# @type PayMode: String
|
3022
|
+
|
3023
|
+
attr_accessor :GoodsName, :PayMode
|
3024
|
+
|
3025
|
+
def initialize(goodsname=nil, paymode=nil)
|
3026
|
+
@GoodsName = goodsname
|
3027
|
+
@PayMode = paymode
|
3028
|
+
end
|
3029
|
+
|
3030
|
+
def deserialize(params)
|
3031
|
+
@GoodsName = params['GoodsName']
|
3032
|
+
@PayMode = params['PayMode']
|
3033
|
+
end
|
3034
|
+
end
|
3035
|
+
|
2824
3036
|
# PayDeals请求参数结构体
|
2825
3037
|
class PayDealsRequest < TencentCloud::Common::AbstractModel
|
2826
3038
|
# @param OrderIds: 需要支付的一个或者多个子订单号,与BigDealIds字段两者必须且仅传一个参数
|
@@ -3103,6 +3315,128 @@ module TencentCloud
|
|
3103
3315
|
end
|
3104
3316
|
end
|
3105
3317
|
|
3318
|
+
# 购买商品信息
|
3319
|
+
class UsageDetails < TencentCloud::Common::AbstractModel
|
3320
|
+
# @param ProductName: 商品名
|
3321
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3322
|
+
# @type ProductName: String
|
3323
|
+
# @param SubProductName: 商品细节
|
3324
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3325
|
+
# @type SubProductName: String
|
3326
|
+
|
3327
|
+
attr_accessor :ProductName, :SubProductName
|
3328
|
+
|
3329
|
+
def initialize(productname=nil, subproductname=nil)
|
3330
|
+
@ProductName = productname
|
3331
|
+
@SubProductName = subproductname
|
3332
|
+
end
|
3333
|
+
|
3334
|
+
def deserialize(params)
|
3335
|
+
@ProductName = params['ProductName']
|
3336
|
+
@SubProductName = params['SubProductName']
|
3337
|
+
end
|
3338
|
+
end
|
3339
|
+
|
3340
|
+
# 使用记录
|
3341
|
+
class UsageRecords < TencentCloud::Common::AbstractModel
|
3342
|
+
# @param UsedAmount: 使用金额(微分)
|
3343
|
+
# @type UsedAmount: Integer
|
3344
|
+
# @param UsedTime: 使用时间
|
3345
|
+
# @type UsedTime: String
|
3346
|
+
# @param UsageDetails: 使用记录细节
|
3347
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3348
|
+
# @type UsageDetails: Array
|
3349
|
+
|
3350
|
+
attr_accessor :UsedAmount, :UsedTime, :UsageDetails
|
3351
|
+
|
3352
|
+
def initialize(usedamount=nil, usedtime=nil, usagedetails=nil)
|
3353
|
+
@UsedAmount = usedamount
|
3354
|
+
@UsedTime = usedtime
|
3355
|
+
@UsageDetails = usagedetails
|
3356
|
+
end
|
3357
|
+
|
3358
|
+
def deserialize(params)
|
3359
|
+
@UsedAmount = params['UsedAmount']
|
3360
|
+
@UsedTime = params['UsedTime']
|
3361
|
+
unless params['UsageDetails'].nil?
|
3362
|
+
@UsageDetails = []
|
3363
|
+
params['UsageDetails'].each do |i|
|
3364
|
+
usagedetails_tmp = UsageDetails.new
|
3365
|
+
usagedetails_tmp.deserialize(i)
|
3366
|
+
@UsageDetails << usagedetails_tmp
|
3367
|
+
end
|
3368
|
+
end
|
3369
|
+
end
|
3370
|
+
end
|
3371
|
+
|
3372
|
+
# 代金券相关信息
|
3373
|
+
class VoucherInfos < TencentCloud::Common::AbstractModel
|
3374
|
+
# @param OwnerUin: 代金券拥有者
|
3375
|
+
# @type OwnerUin: String
|
3376
|
+
# @param Status: 券状态:待使用:unUsed,已使用: used,已发货:delivered,已作废: cancel,已过期:overdue
|
3377
|
+
# @type Status: String
|
3378
|
+
# @param NominalValue: 代金券面额(微分)
|
3379
|
+
# @type NominalValue: Integer
|
3380
|
+
# @param Balance: 剩余金额(微分)
|
3381
|
+
# @type Balance: Integer
|
3382
|
+
# @param VoucherId: 代金券id
|
3383
|
+
# @type VoucherId: String
|
3384
|
+
# @param PayMode: postPay后付费/prePay预付费/riPay预留实例/空字符串或者'*'表示全部模式
|
3385
|
+
# @type PayMode: String
|
3386
|
+
# @param PayScene: 付费场景PayMode=postPay时:spotpay-竞价实例,"settle account"-普通后付费PayMode=prePay时:purchase-包年包月新购,renew-包年包月续费(自动续费),modify-包年包月配置变更(变配)PayMode=riPay时:oneOffFee-预留实例预付,hourlyFee-预留实例每小时扣费,*-支持全部付费场景
|
3387
|
+
# @type PayScene: String
|
3388
|
+
# @param BeginTime: 有效期生效时间
|
3389
|
+
# @type BeginTime: String
|
3390
|
+
# @param EndTime: 有效期截止时间
|
3391
|
+
# @type EndTime: String
|
3392
|
+
# @param ApplicableProducts: 适用商品信息
|
3393
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3394
|
+
# @type ApplicableProducts: :class:`Tencentcloud::Billing.v20180709.models.ApplicableProducts`
|
3395
|
+
# @param ExcludedProducts: 不适用商品信息
|
3396
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3397
|
+
# @type ExcludedProducts: Array
|
3398
|
+
|
3399
|
+
attr_accessor :OwnerUin, :Status, :NominalValue, :Balance, :VoucherId, :PayMode, :PayScene, :BeginTime, :EndTime, :ApplicableProducts, :ExcludedProducts
|
3400
|
+
|
3401
|
+
def initialize(owneruin=nil, status=nil, nominalvalue=nil, balance=nil, voucherid=nil, paymode=nil, payscene=nil, begintime=nil, endtime=nil, applicableproducts=nil, excludedproducts=nil)
|
3402
|
+
@OwnerUin = owneruin
|
3403
|
+
@Status = status
|
3404
|
+
@NominalValue = nominalvalue
|
3405
|
+
@Balance = balance
|
3406
|
+
@VoucherId = voucherid
|
3407
|
+
@PayMode = paymode
|
3408
|
+
@PayScene = payscene
|
3409
|
+
@BeginTime = begintime
|
3410
|
+
@EndTime = endtime
|
3411
|
+
@ApplicableProducts = applicableproducts
|
3412
|
+
@ExcludedProducts = excludedproducts
|
3413
|
+
end
|
3414
|
+
|
3415
|
+
def deserialize(params)
|
3416
|
+
@OwnerUin = params['OwnerUin']
|
3417
|
+
@Status = params['Status']
|
3418
|
+
@NominalValue = params['NominalValue']
|
3419
|
+
@Balance = params['Balance']
|
3420
|
+
@VoucherId = params['VoucherId']
|
3421
|
+
@PayMode = params['PayMode']
|
3422
|
+
@PayScene = params['PayScene']
|
3423
|
+
@BeginTime = params['BeginTime']
|
3424
|
+
@EndTime = params['EndTime']
|
3425
|
+
unless params['ApplicableProducts'].nil?
|
3426
|
+
@ApplicableProducts = ApplicableProducts.new
|
3427
|
+
@ApplicableProducts.deserialize(params['ApplicableProducts'])
|
3428
|
+
end
|
3429
|
+
unless params['ExcludedProducts'].nil?
|
3430
|
+
@ExcludedProducts = []
|
3431
|
+
params['ExcludedProducts'].each do |i|
|
3432
|
+
excludedproducts_tmp = ExcludedProducts.new
|
3433
|
+
excludedproducts_tmp.deserialize(i)
|
3434
|
+
@ExcludedProducts << excludedproducts_tmp
|
3435
|
+
end
|
3436
|
+
end
|
3437
|
+
end
|
3438
|
+
end
|
3439
|
+
|
3106
3440
|
end
|
3107
3441
|
end
|
3108
3442
|
end
|
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: 1.0.
|
4
|
+
version: 1.0.273
|
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-03-
|
11
|
+
date: 2022-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|