tencentcloud-sdk-cpdp 3.0.471 → 3.0.473
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/v20190820/client.rb +24 -0
- data/lib/v20190820/models.rb +106 -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: 0fac02db4f8b13d3afc5bfbc8d3245035490f878
|
4
|
+
data.tar.gz: d01c6d9219572921926f939b79b4d28b7a3cb9c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c8f3d854f10befe541c6d57632b9df186e327fa5dee407b63934174139436412f2aadf6248d9d209015a76c74e12a25f766ceca3f068e47c5db0f1bb51b0ff8
|
7
|
+
data.tar.gz: b584f6580a56ab7e55f9185e81eaea03c117882223a329bc72d11f122c49e507832f9ba122f9f490c9766123f58be19d0b4d6bcb519f42c0af49e2b3a61f8573
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.473
|
data/lib/v20190820/client.rb
CHANGED
@@ -3159,6 +3159,30 @@ module TencentCloud
|
|
3159
3159
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3160
3160
|
end
|
3161
3161
|
|
3162
|
+
# 灵云V2-平台账户余额查询
|
3163
|
+
|
3164
|
+
# @param request: Request instance for QueryFlexPlatformAccountBalance.
|
3165
|
+
# @type request: :class:`Tencentcloud::cpdp::V20190820::QueryFlexPlatformAccountBalanceRequest`
|
3166
|
+
# @rtype: :class:`Tencentcloud::cpdp::V20190820::QueryFlexPlatformAccountBalanceResponse`
|
3167
|
+
def QueryFlexPlatformAccountBalance(request)
|
3168
|
+
body = send_request('QueryFlexPlatformAccountBalance', request.serialize)
|
3169
|
+
response = JSON.parse(body)
|
3170
|
+
if response['Response'].key?('Error') == false
|
3171
|
+
model = QueryFlexPlatformAccountBalanceResponse.new
|
3172
|
+
model.deserialize(response['Response'])
|
3173
|
+
model
|
3174
|
+
else
|
3175
|
+
code = response['Response']['Error']['Code']
|
3176
|
+
message = response['Response']['Error']['Message']
|
3177
|
+
reqid = response['Response']['RequestId']
|
3178
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3179
|
+
end
|
3180
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3181
|
+
raise e
|
3182
|
+
rescue StandardError => e
|
3183
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3184
|
+
end
|
3185
|
+
|
3162
3186
|
# 灵云V2-查询结算订单列表
|
3163
3187
|
|
3164
3188
|
# @param request: Request instance for QueryFlexSettlementOrderList.
|
data/lib/v20190820/models.rb
CHANGED
@@ -14086,6 +14086,50 @@ module TencentCloud
|
|
14086
14086
|
end
|
14087
14087
|
end
|
14088
14088
|
|
14089
|
+
# 平台账户余额信息
|
14090
|
+
class PlatformAccountBalanceResult < TencentCloud::Common::AbstractModel
|
14091
|
+
# @param IncomeType: 收入类型
|
14092
|
+
# LABOR:劳务所得
|
14093
|
+
# OCCASION:偶然所得
|
14094
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14095
|
+
# @type IncomeType: String
|
14096
|
+
# @param Balance: 总余额
|
14097
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14098
|
+
# @type Balance: String
|
14099
|
+
# @param SystemFreezeBalance: 系统冻结余额
|
14100
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14101
|
+
# @type SystemFreezeBalance: String
|
14102
|
+
# @param ManualFreezeBalance: 人工冻结余额
|
14103
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14104
|
+
# @type ManualFreezeBalance: String
|
14105
|
+
# @param PayableBalance: 可提现余额
|
14106
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14107
|
+
# @type PayableBalance: String
|
14108
|
+
# @param InPayBalance: 提现中余额
|
14109
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14110
|
+
# @type InPayBalance: String
|
14111
|
+
|
14112
|
+
attr_accessor :IncomeType, :Balance, :SystemFreezeBalance, :ManualFreezeBalance, :PayableBalance, :InPayBalance
|
14113
|
+
|
14114
|
+
def initialize(incometype=nil, balance=nil, systemfreezebalance=nil, manualfreezebalance=nil, payablebalance=nil, inpaybalance=nil)
|
14115
|
+
@IncomeType = incometype
|
14116
|
+
@Balance = balance
|
14117
|
+
@SystemFreezeBalance = systemfreezebalance
|
14118
|
+
@ManualFreezeBalance = manualfreezebalance
|
14119
|
+
@PayableBalance = payablebalance
|
14120
|
+
@InPayBalance = inpaybalance
|
14121
|
+
end
|
14122
|
+
|
14123
|
+
def deserialize(params)
|
14124
|
+
@IncomeType = params['IncomeType']
|
14125
|
+
@Balance = params['Balance']
|
14126
|
+
@SystemFreezeBalance = params['SystemFreezeBalance']
|
14127
|
+
@ManualFreezeBalance = params['ManualFreezeBalance']
|
14128
|
+
@PayableBalance = params['PayableBalance']
|
14129
|
+
@InPayBalance = params['InPayBalance']
|
14130
|
+
end
|
14131
|
+
end
|
14132
|
+
|
14089
14133
|
# QueryAcctBinding请求参数结构体
|
14090
14134
|
class QueryAcctBindingRequest < TencentCloud::Common::AbstractModel
|
14091
14135
|
# @param MidasAppId: 聚鑫分配的支付主MidasAppId
|
@@ -17432,6 +17476,68 @@ module TencentCloud
|
|
17432
17476
|
end
|
17433
17477
|
end
|
17434
17478
|
|
17479
|
+
# QueryFlexPlatformAccountBalance请求参数结构体
|
17480
|
+
class QueryFlexPlatformAccountBalanceRequest < TencentCloud::Common::AbstractModel
|
17481
|
+
# @param IncomeType: 收入类型
|
17482
|
+
# LABOR:劳务所得
|
17483
|
+
# OCCASION:偶然所得
|
17484
|
+
# @type IncomeType: String
|
17485
|
+
# @param Environment: 环境类型
|
17486
|
+
# __release__:生产环境
|
17487
|
+
# __sandbox__:沙箱环境
|
17488
|
+
# __test__:测试环境
|
17489
|
+
# 缺省默认为生产环境
|
17490
|
+
# @type Environment: String
|
17491
|
+
# @param SnapshotDate: 快照日期。格式yyyy-MM-dd
|
17492
|
+
# @type SnapshotDate: String
|
17493
|
+
|
17494
|
+
attr_accessor :IncomeType, :Environment, :SnapshotDate
|
17495
|
+
|
17496
|
+
def initialize(incometype=nil, environment=nil, snapshotdate=nil)
|
17497
|
+
@IncomeType = incometype
|
17498
|
+
@Environment = environment
|
17499
|
+
@SnapshotDate = snapshotdate
|
17500
|
+
end
|
17501
|
+
|
17502
|
+
def deserialize(params)
|
17503
|
+
@IncomeType = params['IncomeType']
|
17504
|
+
@Environment = params['Environment']
|
17505
|
+
@SnapshotDate = params['SnapshotDate']
|
17506
|
+
end
|
17507
|
+
end
|
17508
|
+
|
17509
|
+
# QueryFlexPlatformAccountBalance返回参数结构体
|
17510
|
+
class QueryFlexPlatformAccountBalanceResponse < TencentCloud::Common::AbstractModel
|
17511
|
+
# @param ErrCode: 错误码。SUCCESS为成功,其他为失败
|
17512
|
+
# @type ErrCode: String
|
17513
|
+
# @param ErrMessage: 错误消息
|
17514
|
+
# @type ErrMessage: String
|
17515
|
+
# @param Result: 返回结果
|
17516
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
17517
|
+
# @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.PlatformAccountBalanceResult`
|
17518
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
17519
|
+
# @type RequestId: String
|
17520
|
+
|
17521
|
+
attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
|
17522
|
+
|
17523
|
+
def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
|
17524
|
+
@ErrCode = errcode
|
17525
|
+
@ErrMessage = errmessage
|
17526
|
+
@Result = result
|
17527
|
+
@RequestId = requestid
|
17528
|
+
end
|
17529
|
+
|
17530
|
+
def deserialize(params)
|
17531
|
+
@ErrCode = params['ErrCode']
|
17532
|
+
@ErrMessage = params['ErrMessage']
|
17533
|
+
unless params['Result'].nil?
|
17534
|
+
@Result = PlatformAccountBalanceResult.new
|
17535
|
+
@Result.deserialize(params['Result'])
|
17536
|
+
end
|
17537
|
+
@RequestId = params['RequestId']
|
17538
|
+
end
|
17539
|
+
end
|
17540
|
+
|
17435
17541
|
# QueryFlexSettlementOrderList请求参数结构体
|
17436
17542
|
class QueryFlexSettlementOrderListRequest < TencentCloud::Common::AbstractModel
|
17437
17543
|
# @param PayeeId: 收款用户ID
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cpdp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.473
|
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-12-
|
11
|
+
date: 2022-12-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|