tencentcloud-sdk-cpdp 1.0.286 → 1.0.287
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 +25 -0
- data/lib/v20190820/models.rb +74 -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: 96fa9e469eac1c4885ac60b12aea607039fbed32
|
4
|
+
data.tar.gz: a862de2e8ad99658d1ca1a3b3daf40faff9afafb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48a0d11690ba27a41d7f5281c7af0cc24c3db882d34fb3d0fcf37721ebd379a17fa8c8ef39d495c14d812c4303ec29713b737d75bd2459a0a0f59863206867fa
|
7
|
+
data.tar.gz: 29001ad5dabe29445389fee66448395bbcc0118e5f200d33be2d51179731378e5bf75dc0bd96d536405154ee46d3433f0cd46091c7f140f57edf2ce30cca145d
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.287
|
data/lib/v20190820/client.rb
CHANGED
@@ -1429,6 +1429,31 @@ module TencentCloud
|
|
1429
1429
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1430
1430
|
end
|
1431
1431
|
|
1432
|
+
# 调用该接口返回对账单下载地址,对账单下载URL通过GET方式访问,返回zip包,解压后为csv格式文件。文件首行如下:
|
1433
|
+
# 订单号,订单归属日期,机构编号,订单描述,交易类型,订单状态,支付场景,原始金额,折扣金额,实际交易金额,支付渠道优惠金额,抹零金额,币种,下单时间,付款成功时间,商户编号,门店编号,付款方式编号,付款方式名称,商户手续费T1,商户扣率,是否信用卡交易,原始订单号,用户账号,外部订单号,订单备注
|
1434
|
+
|
1435
|
+
# @param request: Request instance for GetBillDownloadUrl.
|
1436
|
+
# @type request: :class:`Tencentcloud::cpdp::V20190820::GetBillDownloadUrlRequest`
|
1437
|
+
# @rtype: :class:`Tencentcloud::cpdp::V20190820::GetBillDownloadUrlResponse`
|
1438
|
+
def GetBillDownloadUrl(request)
|
1439
|
+
body = send_request('GetBillDownloadUrl', request.serialize)
|
1440
|
+
response = JSON.parse(body)
|
1441
|
+
if response['Response'].key?('Error') == false
|
1442
|
+
model = GetBillDownloadUrlResponse.new
|
1443
|
+
model.deserialize(response['Response'])
|
1444
|
+
model
|
1445
|
+
else
|
1446
|
+
code = response['Response']['Error']['Code']
|
1447
|
+
message = response['Response']['Error']['Message']
|
1448
|
+
reqid = response['Response']['RequestId']
|
1449
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1450
|
+
end
|
1451
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1452
|
+
raise e
|
1453
|
+
rescue StandardError => e
|
1454
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1455
|
+
end
|
1456
|
+
|
1432
1457
|
# 山姆聚合支付项目-存量订单退款接口。可以通过本接口将支付款全部或部分退还给付款方,在收到用户退款请求并且验证成功之后,按照退款规则将支付款按原路退回到支付帐号。
|
1433
1458
|
|
1434
1459
|
# @param request: Request instance for MigrateOrderRefund.
|
data/lib/v20190820/models.rb
CHANGED
@@ -1831,6 +1831,23 @@ module TencentCloud
|
|
1831
1831
|
end
|
1832
1832
|
end
|
1833
1833
|
|
1834
|
+
# 机构账单文件下载地址响应对象
|
1835
|
+
class BillDownloadUrlResult < TencentCloud::Common::AbstractModel
|
1836
|
+
# @param DownloadUrl: 对账单下载地址。GET方式访问,返回zip包,解压后为csv格式文件。
|
1837
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1838
|
+
# @type DownloadUrl: String
|
1839
|
+
|
1840
|
+
attr_accessor :DownloadUrl
|
1841
|
+
|
1842
|
+
def initialize(downloadurl=nil)
|
1843
|
+
@DownloadUrl = downloadurl
|
1844
|
+
end
|
1845
|
+
|
1846
|
+
def deserialize(params)
|
1847
|
+
@DownloadUrl = params['DownloadUrl']
|
1848
|
+
end
|
1849
|
+
end
|
1850
|
+
|
1834
1851
|
# BindAccount请求参数结构体
|
1835
1852
|
class BindAccountRequest < TencentCloud::Common::AbstractModel
|
1836
1853
|
# @param AnchorId: 主播Id
|
@@ -7511,6 +7528,63 @@ module TencentCloud
|
|
7511
7528
|
end
|
7512
7529
|
end
|
7513
7530
|
|
7531
|
+
# GetBillDownloadUrl请求参数结构体
|
7532
|
+
class GetBillDownloadUrlRequest < TencentCloud::Common::AbstractModel
|
7533
|
+
# @param OpenId: 收单系统分配的开放ID
|
7534
|
+
# @type OpenId: String
|
7535
|
+
# @param OpenKey: 收单系统分配的密钥
|
7536
|
+
# @type OpenKey: String
|
7537
|
+
# @param Day: 清算日期(YYYYMMDD,今天传昨天的日期,每日下午1点后出前一日的账单)
|
7538
|
+
# @type Day: String
|
7539
|
+
|
7540
|
+
attr_accessor :OpenId, :OpenKey, :Day
|
7541
|
+
|
7542
|
+
def initialize(openid=nil, openkey=nil, day=nil)
|
7543
|
+
@OpenId = openid
|
7544
|
+
@OpenKey = openkey
|
7545
|
+
@Day = day
|
7546
|
+
end
|
7547
|
+
|
7548
|
+
def deserialize(params)
|
7549
|
+
@OpenId = params['OpenId']
|
7550
|
+
@OpenKey = params['OpenKey']
|
7551
|
+
@Day = params['Day']
|
7552
|
+
end
|
7553
|
+
end
|
7554
|
+
|
7555
|
+
# GetBillDownloadUrl返回参数结构体
|
7556
|
+
class GetBillDownloadUrlResponse < TencentCloud::Common::AbstractModel
|
7557
|
+
# @param ErrCode: 业务系统返回码
|
7558
|
+
# @type ErrCode: String
|
7559
|
+
# @param ErrMessage: 业务系统返回消息
|
7560
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7561
|
+
# @type ErrMessage: String
|
7562
|
+
# @param Result: 账单文件下载地址响应对象
|
7563
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7564
|
+
# @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.BillDownloadUrlResult`
|
7565
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
7566
|
+
# @type RequestId: String
|
7567
|
+
|
7568
|
+
attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
|
7569
|
+
|
7570
|
+
def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
|
7571
|
+
@ErrCode = errcode
|
7572
|
+
@ErrMessage = errmessage
|
7573
|
+
@Result = result
|
7574
|
+
@RequestId = requestid
|
7575
|
+
end
|
7576
|
+
|
7577
|
+
def deserialize(params)
|
7578
|
+
@ErrCode = params['ErrCode']
|
7579
|
+
@ErrMessage = params['ErrMessage']
|
7580
|
+
unless params['Result'].nil?
|
7581
|
+
@Result = BillDownloadUrlResult.new
|
7582
|
+
@Result.deserialize(params['Result'])
|
7583
|
+
end
|
7584
|
+
@RequestId = params['RequestId']
|
7585
|
+
end
|
7586
|
+
end
|
7587
|
+
|
7514
7588
|
# 会员间交易明细信息
|
7515
7589
|
class MemberTransactionItem < TencentCloud::Common::AbstractModel
|
7516
7590
|
# @param TransType: 交易类型。
|
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: 1.0.
|
4
|
+
version: 1.0.287
|
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-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|