tencentcloud-sdk-cpdp 1.0.326 → 1.0.327

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: 5fc71410b1abadabbd29e727e95e1bec5dd127e1
4
- data.tar.gz: e3fd7a9812e3e27f5d887f0242b3da04aea8d07f
3
+ metadata.gz: 8028bb912ee195d5ec4bffe9a6b082a558d374af
4
+ data.tar.gz: c8d51a0a6e7806511e03d147df3fb59a3f8b9aff
5
5
  SHA512:
6
- metadata.gz: 7f4c18685b8a6d62d07f34ce947914bdc23259ec29aaeec2ff12ac96f2162e5e3608cec2dba71719d83aa230f487e399f329eaedcae030459ce0e9ba09467a3e
7
- data.tar.gz: 81d5b3e72106251fd15a2f68aeb5f2aa3a9a9bf52fb0d9c01aa0edcb1d96993e4b5162f0e2780d60120471a3158ff62900c65414afedc59674eb23ba5c532004
6
+ metadata.gz: c4a3a2153956eed83f89189378e466db8b75266fcc7d438bb0f706adf4cd3d970b8ce194b7ee51f0ef59fa1d1245b5ac976affd0b2f897871b7cbf140b72e2c6
7
+ data.tar.gz: 438ff1ce247c6208643c54a9dab136792a43ac5e1aa470ed8f62ba917c06876f6a086d9f2e1d030311ac6740927828d45c384ae3241651fbebdc8fba61698093
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.326
1
+ 1.0.327
@@ -125,6 +125,54 @@ module TencentCloud
125
125
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
126
126
  end
127
127
 
128
+ # 灵云V2-付款
129
+
130
+ # @param request: Request instance for ApplyFlexPayment.
131
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::ApplyFlexPaymentRequest`
132
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::ApplyFlexPaymentResponse`
133
+ def ApplyFlexPayment(request)
134
+ body = send_request('ApplyFlexPayment', request.serialize)
135
+ response = JSON.parse(body)
136
+ if response['Response'].key?('Error') == false
137
+ model = ApplyFlexPaymentResponse.new
138
+ model.deserialize(response['Response'])
139
+ model
140
+ else
141
+ code = response['Response']['Error']['Code']
142
+ message = response['Response']['Error']['Message']
143
+ reqid = response['Response']['RequestId']
144
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
145
+ end
146
+ rescue TencentCloud::Common::TencentCloudSDKException => e
147
+ raise e
148
+ rescue StandardError => e
149
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
150
+ end
151
+
152
+ # 灵云V2-结算
153
+
154
+ # @param request: Request instance for ApplyFlexSettlement.
155
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::ApplyFlexSettlementRequest`
156
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::ApplyFlexSettlementResponse`
157
+ def ApplyFlexSettlement(request)
158
+ body = send_request('ApplyFlexSettlement', request.serialize)
159
+ response = JSON.parse(body)
160
+ if response['Response'].key?('Error') == false
161
+ model = ApplyFlexSettlementResponse.new
162
+ model.deserialize(response['Response'])
163
+ model
164
+ else
165
+ code = response['Response']['Error']['Code']
166
+ message = response['Response']['Error']['Message']
167
+ reqid = response['Response']['RequestId']
168
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
169
+ end
170
+ rescue TencentCloud::Common::TencentCloudSDKException => e
171
+ raise e
172
+ rescue StandardError => e
173
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
174
+ end
175
+
128
176
  # 云企付-申请单笔交易回单
129
177
 
130
178
  # @param request: Request instance for ApplyOpenBankOrderDetailReceipt.
@@ -781,6 +829,30 @@ module TencentCloud
781
829
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
782
830
  end
783
831
 
832
+ # 灵云V2-收款用户开立
833
+
834
+ # @param request: Request instance for CreateFlexPayee.
835
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::CreateFlexPayeeRequest`
836
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::CreateFlexPayeeResponse`
837
+ def CreateFlexPayee(request)
838
+ body = send_request('CreateFlexPayee', request.serialize)
839
+ response = JSON.parse(body)
840
+ if response['Response'].key?('Error') == false
841
+ model = CreateFlexPayeeResponse.new
842
+ model.deserialize(response['Response'])
843
+ model
844
+ else
845
+ code = response['Response']['Error']['Code']
846
+ message = response['Response']['Error']['Message']
847
+ reqid = response['Response']['RequestId']
848
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
849
+ end
850
+ rescue TencentCloud::Common::TencentCloudSDKException => e
851
+ raise e
852
+ rescue StandardError => e
853
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
854
+ end
855
+
784
856
  # 智慧零售-发票开具
785
857
 
786
858
  # @param request: Request instance for CreateInvoice.
@@ -1621,6 +1693,30 @@ module TencentCloud
1621
1693
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1622
1694
  end
1623
1695
 
1696
+ # 灵云V2-冻结余额
1697
+
1698
+ # @param request: Request instance for FreezeFlexBalance.
1699
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::FreezeFlexBalanceRequest`
1700
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::FreezeFlexBalanceResponse`
1701
+ def FreezeFlexBalance(request)
1702
+ body = send_request('FreezeFlexBalance', request.serialize)
1703
+ response = JSON.parse(body)
1704
+ if response['Response'].key?('Error') == false
1705
+ model = FreezeFlexBalanceResponse.new
1706
+ model.deserialize(response['Response'])
1707
+ model
1708
+ else
1709
+ code = response['Response']['Error']['Code']
1710
+ message = response['Response']['Error']['Message']
1711
+ reqid = response['Response']['RequestId']
1712
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1713
+ end
1714
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1715
+ raise e
1716
+ rescue StandardError => e
1717
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1718
+ end
1719
+
1624
1720
  # 调用该接口返回对账单下载地址,对账单下载URL通过GET方式访问,返回zip包,解压后为csv格式文件。文件首行如下:
1625
1721
  # 订单号,订单归属日期,机构编号,订单描述,交易类型,订单状态,支付场景,原始金额,折扣金额,实际交易金额,支付渠道优惠金额,抹零金额,币种,下单时间,付款成功时间,商户编号,门店编号,付款方式编号,付款方式名称,商户手续费T1,商户扣率,是否信用卡交易,原始订单号,用户账号,外部订单号,订单备注
1626
1722
 
@@ -1839,6 +1935,30 @@ module TencentCloud
1839
1935
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1840
1936
  end
1841
1937
 
1938
+ # 灵云V2-收款用户账户权益状态修改
1939
+
1940
+ # @param request: Request instance for ModifyFlexPayeeAccountRightStatus.
1941
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::ModifyFlexPayeeAccountRightStatusRequest`
1942
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::ModifyFlexPayeeAccountRightStatusResponse`
1943
+ def ModifyFlexPayeeAccountRightStatus(request)
1944
+ body = send_request('ModifyFlexPayeeAccountRightStatus', request.serialize)
1945
+ response = JSON.parse(body)
1946
+ if response['Response'].key?('Error') == false
1947
+ model = ModifyFlexPayeeAccountRightStatusResponse.new
1948
+ model.deserialize(response['Response'])
1949
+ model
1950
+ else
1951
+ code = response['Response']['Error']['Code']
1952
+ message = response['Response']['Error']['Message']
1953
+ reqid = response['Response']['RequestId']
1954
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1955
+ end
1956
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1957
+ raise e
1958
+ rescue StandardError => e
1959
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1960
+ end
1961
+
1842
1962
  # 云鉴-商户信息修改的接口
1843
1963
 
1844
1964
  # @param request: Request instance for ModifyMerchant.
@@ -2535,6 +2655,222 @@ module TencentCloud
2535
2655
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2536
2656
  end
2537
2657
 
2658
+ # 灵云V2-查询税前金额
2659
+
2660
+ # @param request: Request instance for QueryFlexAmountBeforeTax.
2661
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::QueryFlexAmountBeforeTaxRequest`
2662
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::QueryFlexAmountBeforeTaxResponse`
2663
+ def QueryFlexAmountBeforeTax(request)
2664
+ body = send_request('QueryFlexAmountBeforeTax', request.serialize)
2665
+ response = JSON.parse(body)
2666
+ if response['Response'].key?('Error') == false
2667
+ model = QueryFlexAmountBeforeTaxResponse.new
2668
+ model.deserialize(response['Response'])
2669
+ model
2670
+ else
2671
+ code = response['Response']['Error']['Code']
2672
+ message = response['Response']['Error']['Message']
2673
+ reqid = response['Response']['RequestId']
2674
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2675
+ end
2676
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2677
+ raise e
2678
+ rescue StandardError => e
2679
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2680
+ end
2681
+
2682
+ # 灵云V2-查询冻结订单列表
2683
+
2684
+ # @param request: Request instance for QueryFlexFreezeOrderList.
2685
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::QueryFlexFreezeOrderListRequest`
2686
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::QueryFlexFreezeOrderListResponse`
2687
+ def QueryFlexFreezeOrderList(request)
2688
+ body = send_request('QueryFlexFreezeOrderList', request.serialize)
2689
+ response = JSON.parse(body)
2690
+ if response['Response'].key?('Error') == false
2691
+ model = QueryFlexFreezeOrderListResponse.new
2692
+ model.deserialize(response['Response'])
2693
+ model
2694
+ else
2695
+ code = response['Response']['Error']['Code']
2696
+ message = response['Response']['Error']['Message']
2697
+ reqid = response['Response']['RequestId']
2698
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2699
+ end
2700
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2701
+ raise e
2702
+ rescue StandardError => e
2703
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2704
+ end
2705
+
2706
+ # 灵云V2-收款用户账户余额查询
2707
+
2708
+ # @param request: Request instance for QueryFlexPayeeAccountBalance.
2709
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::QueryFlexPayeeAccountBalanceRequest`
2710
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::QueryFlexPayeeAccountBalanceResponse`
2711
+ def QueryFlexPayeeAccountBalance(request)
2712
+ body = send_request('QueryFlexPayeeAccountBalance', request.serialize)
2713
+ response = JSON.parse(body)
2714
+ if response['Response'].key?('Error') == false
2715
+ model = QueryFlexPayeeAccountBalanceResponse.new
2716
+ model.deserialize(response['Response'])
2717
+ model
2718
+ else
2719
+ code = response['Response']['Error']['Code']
2720
+ message = response['Response']['Error']['Message']
2721
+ reqid = response['Response']['RequestId']
2722
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2723
+ end
2724
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2725
+ raise e
2726
+ rescue StandardError => e
2727
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2728
+ end
2729
+
2730
+ # 灵云V2-收款用户账户信息查询
2731
+
2732
+ # @param request: Request instance for QueryFlexPayeeAccountInfo.
2733
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::QueryFlexPayeeAccountInfoRequest`
2734
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::QueryFlexPayeeAccountInfoResponse`
2735
+ def QueryFlexPayeeAccountInfo(request)
2736
+ body = send_request('QueryFlexPayeeAccountInfo', request.serialize)
2737
+ response = JSON.parse(body)
2738
+ if response['Response'].key?('Error') == false
2739
+ model = QueryFlexPayeeAccountInfoResponse.new
2740
+ model.deserialize(response['Response'])
2741
+ model
2742
+ else
2743
+ code = response['Response']['Error']['Code']
2744
+ message = response['Response']['Error']['Message']
2745
+ reqid = response['Response']['RequestId']
2746
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2747
+ end
2748
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2749
+ raise e
2750
+ rescue StandardError => e
2751
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2752
+ end
2753
+
2754
+ # 灵云V2-收款用户账户列表查询
2755
+
2756
+ # @param request: Request instance for QueryFlexPayeeAccountList.
2757
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::QueryFlexPayeeAccountListRequest`
2758
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::QueryFlexPayeeAccountListResponse`
2759
+ def QueryFlexPayeeAccountList(request)
2760
+ body = send_request('QueryFlexPayeeAccountList', request.serialize)
2761
+ response = JSON.parse(body)
2762
+ if response['Response'].key?('Error') == false
2763
+ model = QueryFlexPayeeAccountListResponse.new
2764
+ model.deserialize(response['Response'])
2765
+ model
2766
+ else
2767
+ code = response['Response']['Error']['Code']
2768
+ message = response['Response']['Error']['Message']
2769
+ reqid = response['Response']['RequestId']
2770
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2771
+ end
2772
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2773
+ raise e
2774
+ rescue StandardError => e
2775
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2776
+ end
2777
+
2778
+ # 灵云V2-收款用户信息查询
2779
+
2780
+ # @param request: Request instance for QueryFlexPayeeInfo.
2781
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::QueryFlexPayeeInfoRequest`
2782
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::QueryFlexPayeeInfoResponse`
2783
+ def QueryFlexPayeeInfo(request)
2784
+ body = send_request('QueryFlexPayeeInfo', request.serialize)
2785
+ response = JSON.parse(body)
2786
+ if response['Response'].key?('Error') == false
2787
+ model = QueryFlexPayeeInfoResponse.new
2788
+ model.deserialize(response['Response'])
2789
+ model
2790
+ else
2791
+ code = response['Response']['Error']['Code']
2792
+ message = response['Response']['Error']['Message']
2793
+ reqid = response['Response']['RequestId']
2794
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2795
+ end
2796
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2797
+ raise e
2798
+ rescue StandardError => e
2799
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2800
+ end
2801
+
2802
+ # 灵云V2-查询付款订单列表
2803
+
2804
+ # @param request: Request instance for QueryFlexPaymentOrderList.
2805
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::QueryFlexPaymentOrderListRequest`
2806
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::QueryFlexPaymentOrderListResponse`
2807
+ def QueryFlexPaymentOrderList(request)
2808
+ body = send_request('QueryFlexPaymentOrderList', request.serialize)
2809
+ response = JSON.parse(body)
2810
+ if response['Response'].key?('Error') == false
2811
+ model = QueryFlexPaymentOrderListResponse.new
2812
+ model.deserialize(response['Response'])
2813
+ model
2814
+ else
2815
+ code = response['Response']['Error']['Code']
2816
+ message = response['Response']['Error']['Message']
2817
+ reqid = response['Response']['RequestId']
2818
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2819
+ end
2820
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2821
+ raise e
2822
+ rescue StandardError => e
2823
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2824
+ end
2825
+
2826
+ # 灵云V2-查询付款订单状态
2827
+
2828
+ # @param request: Request instance for QueryFlexPaymentOrderStatus.
2829
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::QueryFlexPaymentOrderStatusRequest`
2830
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::QueryFlexPaymentOrderStatusResponse`
2831
+ def QueryFlexPaymentOrderStatus(request)
2832
+ body = send_request('QueryFlexPaymentOrderStatus', request.serialize)
2833
+ response = JSON.parse(body)
2834
+ if response['Response'].key?('Error') == false
2835
+ model = QueryFlexPaymentOrderStatusResponse.new
2836
+ model.deserialize(response['Response'])
2837
+ model
2838
+ else
2839
+ code = response['Response']['Error']['Code']
2840
+ message = response['Response']['Error']['Message']
2841
+ reqid = response['Response']['RequestId']
2842
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2843
+ end
2844
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2845
+ raise e
2846
+ rescue StandardError => e
2847
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2848
+ end
2849
+
2850
+ # 灵云V2-查询结算订单列表
2851
+
2852
+ # @param request: Request instance for QueryFlexSettlementOrderList.
2853
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::QueryFlexSettlementOrderListRequest`
2854
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::QueryFlexSettlementOrderListResponse`
2855
+ def QueryFlexSettlementOrderList(request)
2856
+ body = send_request('QueryFlexSettlementOrderList', request.serialize)
2857
+ response = JSON.parse(body)
2858
+ if response['Response'].key?('Error') == false
2859
+ model = QueryFlexSettlementOrderListResponse.new
2860
+ model.deserialize(response['Response'])
2861
+ model
2862
+ else
2863
+ code = response['Response']['Error']['Code']
2864
+ message = response['Response']['Error']['Message']
2865
+ reqid = response['Response']['RequestId']
2866
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2867
+ end
2868
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2869
+ raise e
2870
+ rescue StandardError => e
2871
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2872
+ end
2873
+
2538
2874
  # 聚鑫-查询会员资金交易信息列表
2539
2875
 
2540
2876
  # @param request: Request instance for QueryFundsTransactionDetails.