tencentcloud-sdk-cpdp 1.0.305 → 1.0.306

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5ed755443fe04193a16ade331dab2c3fc47f18f8
4
- data.tar.gz: 9de62ee51cd77f1c59408f1a6c08577f9f56197d
3
+ metadata.gz: 58a041a7326c2aa66f9d1ca2205342f7d213dc64
4
+ data.tar.gz: 8091b852909be5b14047dd4bac74703f305676c5
5
5
  SHA512:
6
- metadata.gz: 3022524e2700d90d4a62468ee2147113518e17fc95c86102f3c8e33738903834e34e1ed2aeea8817de8af827283c271bef1dc545b685e3350ce0e601660803ad
7
- data.tar.gz: 9f841159815f975fc634233b1439faa8d596e3ca09efaa454d1223c59d7763eff7e46847b2f22b9560d763b08716cfb7430fe1da4bee49f00e3f7baa0a7dc25e
6
+ metadata.gz: 43f55a9bee81d30adbaa48348eedd2061de8b6b91c8d60f2d1dacc044668c020df85ecf0ff34dba4d9c90819f773e47f9566b1305e22e9f42f5c856baac39f59
7
+ data.tar.gz: 7e6129c5bb7a51f08921fc9c9c26c272c5fc1298c326edc0ddc78efc59d4e239ac1aa4f9e5a2aa30a5b226e35f2252d450744491939a55c9de33e331e1bcee2c
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.305
1
+ 1.0.306
@@ -1574,6 +1574,31 @@ module TencentCloud
1574
1574
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1575
1575
  end
1576
1576
 
1577
+ # 调用该接口返回对账单下载地址,对账单下载URL通过GET方式访问,返回zip包,解压后为csv格式文件。文件首行如下:
1578
+ # 商户号,订单号,支付订单号,分账订单总金额,分账详情(通过|分割每笔明细:商户号1#分账金额1|商户号2#分账金额2),交易手续费承担方商户号,交易手续费,发起时间,分账状态,结算日期,非交易主体分账金额,商户退款订单号,商户分账单号
1579
+
1580
+ # @param request: Request instance for GetDistributeBillDownloadUrl.
1581
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::GetDistributeBillDownloadUrlRequest`
1582
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::GetDistributeBillDownloadUrlResponse`
1583
+ def GetDistributeBillDownloadUrl(request)
1584
+ body = send_request('GetDistributeBillDownloadUrl', request.serialize)
1585
+ response = JSON.parse(body)
1586
+ if response['Response'].key?('Error') == false
1587
+ model = GetDistributeBillDownloadUrlResponse.new
1588
+ model.deserialize(response['Response'])
1589
+ model
1590
+ else
1591
+ code = response['Response']['Error']['Code']
1592
+ message = response['Response']['Error']['Message']
1593
+ reqid = response['Response']['RequestId']
1594
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1595
+ end
1596
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1597
+ raise e
1598
+ rescue StandardError => e
1599
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1600
+ end
1601
+
1577
1602
  # 山姆聚合支付项目-存量订单退款接口。可以通过本接口将支付款全部或部分退还给付款方,在收到用户退款请求并且验证成功之后,按照退款规则将支付款按原路退回到支付帐号。
1578
1603
 
1579
1604
  # @param request: Request instance for MigrateOrderRefund.
@@ -8716,6 +8716,63 @@ module TencentCloud
8716
8716
  end
8717
8717
  end
8718
8718
 
8719
+ # GetDistributeBillDownloadUrl请求参数结构体
8720
+ class GetDistributeBillDownloadUrlRequest < TencentCloud::Common::AbstractModel
8721
+ # @param OpenId: 收单系统分配的开放ID
8722
+ # @type OpenId: String
8723
+ # @param OpenKey: 收单系统分配的密钥
8724
+ # @type OpenKey: String
8725
+ # @param Day: 分账日期(YYYYMMDD,今天传昨天的日期)
8726
+ # @type Day: String
8727
+
8728
+ attr_accessor :OpenId, :OpenKey, :Day
8729
+
8730
+ def initialize(openid=nil, openkey=nil, day=nil)
8731
+ @OpenId = openid
8732
+ @OpenKey = openkey
8733
+ @Day = day
8734
+ end
8735
+
8736
+ def deserialize(params)
8737
+ @OpenId = params['OpenId']
8738
+ @OpenKey = params['OpenKey']
8739
+ @Day = params['Day']
8740
+ end
8741
+ end
8742
+
8743
+ # GetDistributeBillDownloadUrl返回参数结构体
8744
+ class GetDistributeBillDownloadUrlResponse < TencentCloud::Common::AbstractModel
8745
+ # @param ErrCode: 业务系统返回码
8746
+ # @type ErrCode: String
8747
+ # @param ErrMessage: 业务系统返回消息
8748
+ # 注意:此字段可能返回 null,表示取不到有效值。
8749
+ # @type ErrMessage: String
8750
+ # @param Result: 账单文件下载地址响应对象
8751
+ # 注意:此字段可能返回 null,表示取不到有效值。
8752
+ # @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.BillDownloadUrlResult`
8753
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8754
+ # @type RequestId: String
8755
+
8756
+ attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
8757
+
8758
+ def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
8759
+ @ErrCode = errcode
8760
+ @ErrMessage = errmessage
8761
+ @Result = result
8762
+ @RequestId = requestid
8763
+ end
8764
+
8765
+ def deserialize(params)
8766
+ @ErrCode = params['ErrCode']
8767
+ @ErrMessage = params['ErrMessage']
8768
+ unless params['Result'].nil?
8769
+ @Result = BillDownloadUrlResult.new
8770
+ @Result.deserialize(params['Result'])
8771
+ end
8772
+ @RequestId = params['RequestId']
8773
+ end
8774
+ end
8775
+
8719
8776
  # 会员间交易明细信息
8720
8777
  class MemberTransactionItem < TencentCloud::Common::AbstractModel
8721
8778
  # @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.305
4
+ version: 1.0.306
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-04-28 00:00:00.000000000 Z
11
+ date: 2022-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common