tencentcloud-sdk-cpdp 1.0.203 → 1.0.204

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: 47957ffdc833c080b48feb37cd02b3ce7f097bef
4
- data.tar.gz: 6e07239da33e2c49e2a6baf74b0d581fcb223b8d
3
+ metadata.gz: 04e59a4e0e1970f811e5d9e12c3f67675b79ba7f
4
+ data.tar.gz: 71fa5bb213d770855590079b2ea26e843357dd24
5
5
  SHA512:
6
- metadata.gz: 31ed7e1dc9f4b290ad55f8fa709776e2d9dfb3110c9a2a5faa3a88a67339d0f15de872f1a1f2fb85c0c061e5805e7d9dae00ae46cedc5af163bd40fd278df65e
7
- data.tar.gz: 3a27d9d656944268dec95cabec0988a637b71650c8d88ee94c7e638c87318c448448aafed37d5b02f8008628db0679ffdaed45e11209c2a624109b80bd178a0c
6
+ metadata.gz: 8d1ebefbce3b96c9c02d1f297f01de5538a25b69c0404857f8f71d1fea53a5d2edc05e5db401989d2fd4ae54a801cec2214d231ae8de08dc47dcb29c87d9076a
7
+ data.tar.gz: 3ce56fc1594135b997499e2c42e64869d0a3b8d23b155de2b7420a7b05eaad2e1d27a8b28f6676f962017e11bdf15d71ba0c5606d3c6444ea30197e1aea52d9b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.203
1
+ 1.0.204
@@ -29,6 +29,78 @@ module TencentCloud
29
29
  end
30
30
 
31
31
 
32
+ # 云支付-添加合同接口
33
+
34
+ # @param request: Request instance for AddContract.
35
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::AddContractRequest`
36
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::AddContractResponse`
37
+ def AddContract(request)
38
+ body = send_request('AddContract', request.serialize)
39
+ response = JSON.parse(body)
40
+ if response['Response'].key?('Error') == false
41
+ model = AddContractResponse.new
42
+ model.deserialize(response['Response'])
43
+ model
44
+ else
45
+ code = response['Response']['Error']['Code']
46
+ message = response['Response']['Error']['Message']
47
+ reqid = response['Response']['RequestId']
48
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
49
+ end
50
+ rescue TencentCloud::Common::TencentCloudSDKException => e
51
+ raise e
52
+ rescue StandardError => e
53
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
+ end
55
+
56
+ # 云支付-添加商户接口
57
+
58
+ # @param request: Request instance for AddMerchant.
59
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::AddMerchantRequest`
60
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::AddMerchantResponse`
61
+ def AddMerchant(request)
62
+ body = send_request('AddMerchant', request.serialize)
63
+ response = JSON.parse(body)
64
+ if response['Response'].key?('Error') == false
65
+ model = AddMerchantResponse.new
66
+ model.deserialize(response['Response'])
67
+ model
68
+ else
69
+ code = response['Response']['Error']['Code']
70
+ message = response['Response']['Error']['Message']
71
+ reqid = response['Response']['RequestId']
72
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
73
+ end
74
+ rescue TencentCloud::Common::TencentCloudSDKException => e
75
+ raise e
76
+ rescue StandardError => e
77
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
+ end
79
+
80
+ # 云支付-添加门店接口
81
+
82
+ # @param request: Request instance for AddShop.
83
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::AddShopRequest`
84
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::AddShopResponse`
85
+ def AddShop(request)
86
+ body = send_request('AddShop', request.serialize)
87
+ response = JSON.parse(body)
88
+ if response['Response'].key?('Error') == false
89
+ model = AddShopResponse.new
90
+ model.deserialize(response['Response'])
91
+ model
92
+ else
93
+ code = response['Response']['Error']['Code']
94
+ message = response['Response']['Error']['Message']
95
+ reqid = response['Response']['RequestId']
96
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
97
+ end
98
+ rescue TencentCloud::Common::TencentCloudSDKException => e
99
+ raise e
100
+ rescue StandardError => e
101
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
102
+ end
103
+
32
104
  # 跨境-提交申报材料。申报材料的主体是付款人,需要提前调用【跨境-付款人申请】接口提交付款人信息且审核通过后调用。
33
105
 
34
106
  # @param request: Request instance for ApplyApplicationMaterial.
@@ -901,6 +973,198 @@ module TencentCloud
901
973
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
902
974
  end
903
975
 
976
+ # 云支付-分账授权申请查询接口
977
+
978
+ # @param request: Request instance for DistributeAccreditQuery.
979
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::DistributeAccreditQueryRequest`
980
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::DistributeAccreditQueryResponse`
981
+ def DistributeAccreditQuery(request)
982
+ body = send_request('DistributeAccreditQuery', request.serialize)
983
+ response = JSON.parse(body)
984
+ if response['Response'].key?('Error') == false
985
+ model = DistributeAccreditQueryResponse.new
986
+ model.deserialize(response['Response'])
987
+ model
988
+ else
989
+ code = response['Response']['Error']['Code']
990
+ message = response['Response']['Error']['Message']
991
+ reqid = response['Response']['RequestId']
992
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
993
+ end
994
+ rescue TencentCloud::Common::TencentCloudSDKException => e
995
+ raise e
996
+ rescue StandardError => e
997
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
998
+ end
999
+
1000
+ # 云支付-分账授权申请接口
1001
+
1002
+ # @param request: Request instance for DistributeAccreditTlinx.
1003
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::DistributeAccreditTlinxRequest`
1004
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::DistributeAccreditTlinxResponse`
1005
+ def DistributeAccreditTlinx(request)
1006
+ body = send_request('DistributeAccreditTlinx', request.serialize)
1007
+ response = JSON.parse(body)
1008
+ if response['Response'].key?('Error') == false
1009
+ model = DistributeAccreditTlinxResponse.new
1010
+ model.deserialize(response['Response'])
1011
+ model
1012
+ else
1013
+ code = response['Response']['Error']['Code']
1014
+ message = response['Response']['Error']['Message']
1015
+ reqid = response['Response']['RequestId']
1016
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1017
+ end
1018
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1019
+ raise e
1020
+ rescue StandardError => e
1021
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1022
+ end
1023
+
1024
+ # 云支付-分账添加分账接收方接口
1025
+
1026
+ # @param request: Request instance for DistributeAddReceiver.
1027
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::DistributeAddReceiverRequest`
1028
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::DistributeAddReceiverResponse`
1029
+ def DistributeAddReceiver(request)
1030
+ body = send_request('DistributeAddReceiver', request.serialize)
1031
+ response = JSON.parse(body)
1032
+ if response['Response'].key?('Error') == false
1033
+ model = DistributeAddReceiverResponse.new
1034
+ model.deserialize(response['Response'])
1035
+ model
1036
+ else
1037
+ code = response['Response']['Error']['Code']
1038
+ message = response['Response']['Error']['Message']
1039
+ reqid = response['Response']['RequestId']
1040
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1041
+ end
1042
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1043
+ raise e
1044
+ rescue StandardError => e
1045
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1046
+ end
1047
+
1048
+ # 云支付-分账请求接口
1049
+
1050
+ # @param request: Request instance for DistributeApply.
1051
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::DistributeApplyRequest`
1052
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::DistributeApplyResponse`
1053
+ def DistributeApply(request)
1054
+ body = send_request('DistributeApply', request.serialize)
1055
+ response = JSON.parse(body)
1056
+ if response['Response'].key?('Error') == false
1057
+ model = DistributeApplyResponse.new
1058
+ model.deserialize(response['Response'])
1059
+ model
1060
+ else
1061
+ code = response['Response']['Error']['Code']
1062
+ message = response['Response']['Error']['Message']
1063
+ reqid = response['Response']['RequestId']
1064
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1065
+ end
1066
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1067
+ raise e
1068
+ rescue StandardError => e
1069
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1070
+ end
1071
+
1072
+ # 云支付-分账撤销接口
1073
+
1074
+ # @param request: Request instance for DistributeCancel.
1075
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::DistributeCancelRequest`
1076
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::DistributeCancelResponse`
1077
+ def DistributeCancel(request)
1078
+ body = send_request('DistributeCancel', request.serialize)
1079
+ response = JSON.parse(body)
1080
+ if response['Response'].key?('Error') == false
1081
+ model = DistributeCancelResponse.new
1082
+ model.deserialize(response['Response'])
1083
+ model
1084
+ else
1085
+ code = response['Response']['Error']['Code']
1086
+ message = response['Response']['Error']['Message']
1087
+ reqid = response['Response']['RequestId']
1088
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1089
+ end
1090
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1091
+ raise e
1092
+ rescue StandardError => e
1093
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1094
+ end
1095
+
1096
+ # 云支付-分账结果查询接口
1097
+
1098
+ # @param request: Request instance for DistributeQuery.
1099
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::DistributeQueryRequest`
1100
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::DistributeQueryResponse`
1101
+ def DistributeQuery(request)
1102
+ body = send_request('DistributeQuery', request.serialize)
1103
+ response = JSON.parse(body)
1104
+ if response['Response'].key?('Error') == false
1105
+ model = DistributeQueryResponse.new
1106
+ model.deserialize(response['Response'])
1107
+ model
1108
+ else
1109
+ code = response['Response']['Error']['Code']
1110
+ message = response['Response']['Error']['Message']
1111
+ reqid = response['Response']['RequestId']
1112
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1113
+ end
1114
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1115
+ raise e
1116
+ rescue StandardError => e
1117
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1118
+ end
1119
+
1120
+ # 云支付-T查询已添加分账接收方接口
1121
+
1122
+ # @param request: Request instance for DistributeQueryReceiver.
1123
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::DistributeQueryReceiverRequest`
1124
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::DistributeQueryReceiverResponse`
1125
+ def DistributeQueryReceiver(request)
1126
+ body = send_request('DistributeQueryReceiver', request.serialize)
1127
+ response = JSON.parse(body)
1128
+ if response['Response'].key?('Error') == false
1129
+ model = DistributeQueryReceiverResponse.new
1130
+ model.deserialize(response['Response'])
1131
+ model
1132
+ else
1133
+ code = response['Response']['Error']['Code']
1134
+ message = response['Response']['Error']['Message']
1135
+ reqid = response['Response']['RequestId']
1136
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1137
+ end
1138
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1139
+ raise e
1140
+ rescue StandardError => e
1141
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1142
+ end
1143
+
1144
+ # 云支付-分账解除分账接收方接口
1145
+
1146
+ # @param request: Request instance for DistributeRemoveReceiver.
1147
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::DistributeRemoveReceiverRequest`
1148
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::DistributeRemoveReceiverResponse`
1149
+ def DistributeRemoveReceiver(request)
1150
+ body = send_request('DistributeRemoveReceiver', request.serialize)
1151
+ response = JSON.parse(body)
1152
+ if response['Response'].key?('Error') == false
1153
+ model = DistributeRemoveReceiverResponse.new
1154
+ model.deserialize(response['Response'])
1155
+ model
1156
+ else
1157
+ code = response['Response']['Error']['Code']
1158
+ message = response['Response']['Error']['Message']
1159
+ reqid = response['Response']['RequestId']
1160
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1161
+ end
1162
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1163
+ raise e
1164
+ rescue StandardError => e
1165
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1166
+ end
1167
+
904
1168
  # 账单下载接口,根据本接口返回的URL地址,在D+1日下载对账单。注意,本接口返回的URL地址有时效,请尽快下载。URL超时时效后,请重新调用本接口再次获取。
905
1169
 
906
1170
  # @param request: Request instance for DownloadBill.
@@ -925,6 +1189,30 @@ module TencentCloud
925
1189
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
926
1190
  end
927
1191
 
1192
+ # 云支付-下载机构文件接口
1193
+
1194
+ # @param request: Request instance for DownloadOrgFile.
1195
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::DownloadOrgFileRequest`
1196
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::DownloadOrgFileResponse`
1197
+ def DownloadOrgFile(request)
1198
+ body = send_request('DownloadOrgFile', request.serialize)
1199
+ response = JSON.parse(body)
1200
+ if response['Response'].key?('Error') == false
1201
+ model = DownloadOrgFileResponse.new
1202
+ model.deserialize(response['Response'])
1203
+ model
1204
+ else
1205
+ code = response['Response']['Error']['Code']
1206
+ message = response['Response']['Error']['Message']
1207
+ reqid = response['Response']['RequestId']
1208
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1209
+ end
1210
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1211
+ raise e
1212
+ rescue StandardError => e
1213
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1214
+ end
1215
+
928
1216
  # 获取对账中心账单下载地址的接口
929
1217
 
930
1218
  # @param request: Request instance for DownloadReconciliationUrl.
@@ -1429,6 +1717,30 @@ module TencentCloud
1429
1717
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1430
1718
  end
1431
1719
 
1720
+ # 云支付-查询城市编码接口
1721
+
1722
+ # @param request: Request instance for QueryCityCode.
1723
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::QueryCityCodeRequest`
1724
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::QueryCityCodeResponse`
1725
+ def QueryCityCode(request)
1726
+ body = send_request('QueryCityCode', request.serialize)
1727
+ response = JSON.parse(body)
1728
+ if response['Response'].key?('Error') == false
1729
+ model = QueryCityCodeResponse.new
1730
+ model.deserialize(response['Response'])
1731
+ model
1732
+ else
1733
+ code = response['Response']['Error']['Code']
1734
+ message = response['Response']['Error']['Message']
1735
+ reqid = response['Response']['RequestId']
1736
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1737
+ end
1738
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1739
+ raise e
1740
+ rescue StandardError => e
1741
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1742
+ end
1743
+
1432
1744
  # 查询普通转账充值明细。接口用于查询会员主动转账进资金汇总账户的明细情况。若会员使用绑定账号转入,则直接入账到会员子账户。若未使用绑定账号转入,则系统无法自动清分到对应子账户,则转入挂账子账户由平台自行清分。若是 “见证+收单充值”T0充值记录时备注Note为“见证+收单充值,订单号” 此接口可以查到T0到账的“见证+收单充值”充值记录。
1433
1745
 
1434
1746
  # @param request: Request instance for QueryCommonTransferRecharge.
@@ -1477,6 +1789,78 @@ module TencentCloud
1477
1789
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1478
1790
  end
1479
1791
 
1792
+ # 云支付-查询支付方式费率及自定义表单项接口
1793
+
1794
+ # @param request: Request instance for QueryContractPayFee.
1795
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::QueryContractPayFeeRequest`
1796
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::QueryContractPayFeeResponse`
1797
+ def QueryContractPayFee(request)
1798
+ body = send_request('QueryContractPayFee', request.serialize)
1799
+ response = JSON.parse(body)
1800
+ if response['Response'].key?('Error') == false
1801
+ model = QueryContractPayFeeResponse.new
1802
+ model.deserialize(response['Response'])
1803
+ model
1804
+ else
1805
+ code = response['Response']['Error']['Code']
1806
+ message = response['Response']['Error']['Message']
1807
+ reqid = response['Response']['RequestId']
1808
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1809
+ end
1810
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1811
+ raise e
1812
+ rescue StandardError => e
1813
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1814
+ end
1815
+
1816
+ # 云支付-查询合同支付方式列表接口
1817
+
1818
+ # @param request: Request instance for QueryContractPayWayList.
1819
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::QueryContractPayWayListRequest`
1820
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::QueryContractPayWayListResponse`
1821
+ def QueryContractPayWayList(request)
1822
+ body = send_request('QueryContractPayWayList', request.serialize)
1823
+ response = JSON.parse(body)
1824
+ if response['Response'].key?('Error') == false
1825
+ model = QueryContractPayWayListResponse.new
1826
+ model.deserialize(response['Response'])
1827
+ model
1828
+ else
1829
+ code = response['Response']['Error']['Code']
1830
+ message = response['Response']['Error']['Message']
1831
+ reqid = response['Response']['RequestId']
1832
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1833
+ end
1834
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1835
+ raise e
1836
+ rescue StandardError => e
1837
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1838
+ end
1839
+
1840
+ # 云支付-查询合同可关联门店接口
1841
+
1842
+ # @param request: Request instance for QueryContractRelateShop.
1843
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::QueryContractRelateShopRequest`
1844
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::QueryContractRelateShopResponse`
1845
+ def QueryContractRelateShop(request)
1846
+ body = send_request('QueryContractRelateShop', request.serialize)
1847
+ response = JSON.parse(body)
1848
+ if response['Response'].key?('Error') == false
1849
+ model = QueryContractRelateShopResponse.new
1850
+ model.deserialize(response['Response'])
1851
+ model
1852
+ else
1853
+ code = response['Response']['Error']['Code']
1854
+ message = response['Response']['Error']['Message']
1855
+ reqid = response['Response']['RequestId']
1856
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1857
+ end
1858
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1859
+ raise e
1860
+ rescue StandardError => e
1861
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1862
+ end
1863
+
1480
1864
  # 查询银行子账户余额。查询会员子账户以及平台的功能子账户的余额。
1481
1865
 
1482
1866
  # @param request: Request instance for QueryCustAcctIdBalance.
@@ -1718,6 +2102,30 @@ module TencentCloud
1718
2102
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1719
2103
  end
1720
2104
 
2105
+ # 云支付-查询商户分类接口
2106
+
2107
+ # @param request: Request instance for QueryMerchantClassification.
2108
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::QueryMerchantClassificationRequest`
2109
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::QueryMerchantClassificationResponse`
2110
+ def QueryMerchantClassification(request)
2111
+ body = send_request('QueryMerchantClassification', request.serialize)
2112
+ response = JSON.parse(body)
2113
+ if response['Response'].key?('Error') == false
2114
+ model = QueryMerchantClassificationResponse.new
2115
+ model.deserialize(response['Response'])
2116
+ model
2117
+ else
2118
+ code = response['Response']['Error']['Code']
2119
+ message = response['Response']['Error']['Message']
2120
+ reqid = response['Response']['RequestId']
2121
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2122
+ end
2123
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2124
+ raise e
2125
+ rescue StandardError => e
2126
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2127
+ end
2128
+
1721
2129
  # 智慧零售-查询管理端商户
1722
2130
 
1723
2131
  # @param request: Request instance for QueryMerchantInfoForManagement.
@@ -1934,6 +2342,30 @@ module TencentCloud
1934
2342
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1935
2343
  end
1936
2344
 
2345
+ # 云支付-获取门店OpenId接口
2346
+
2347
+ # @param request: Request instance for QueryShopOpenId.
2348
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::QueryShopOpenIdRequest`
2349
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::QueryShopOpenIdResponse`
2350
+ def QueryShopOpenId(request)
2351
+ body = send_request('QueryShopOpenId', request.serialize)
2352
+ response = JSON.parse(body)
2353
+ if response['Response'].key?('Error') == false
2354
+ model = QueryShopOpenIdResponse.new
2355
+ model.deserialize(response['Response'])
2356
+ model
2357
+ else
2358
+ code = response['Response']['Error']['Code']
2359
+ message = response['Response']['Error']['Message']
2360
+ reqid = response['Response']['RequestId']
2361
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2362
+ end
2363
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2364
+ raise e
2365
+ rescue StandardError => e
2366
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2367
+ end
2368
+
1937
2369
  # 银企直连-单笔支付状态查询接口
1938
2370
 
1939
2371
  # @param request: Request instance for QuerySinglePay.
@@ -2654,6 +3086,30 @@ module TencentCloud
2654
3086
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2655
3087
  end
2656
3088
 
3089
+ # 云支付-上传机构文件接口
3090
+
3091
+ # @param request: Request instance for UploadOrgFile.
3092
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::UploadOrgFileRequest`
3093
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::UploadOrgFileResponse`
3094
+ def UploadOrgFile(request)
3095
+ body = send_request('UploadOrgFile', request.serialize)
3096
+ response = JSON.parse(body)
3097
+ if response['Response'].key?('Error') == false
3098
+ model = UploadOrgFileResponse.new
3099
+ model.deserialize(response['Response'])
3100
+ model
3101
+ else
3102
+ code = response['Response']['Error']['Code']
3103
+ message = response['Response']['Error']['Message']
3104
+ reqid = response['Response']['RequestId']
3105
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3106
+ end
3107
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3108
+ raise e
3109
+ rescue StandardError => e
3110
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3111
+ end
3112
+
2657
3113
  # 直播平台-上传代理商完税列表
2658
3114
 
2659
3115
  # @param request: Request instance for UploadTaxList.
@@ -2702,6 +3158,78 @@ module TencentCloud
2702
3158
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2703
3159
  end
2704
3160
 
3161
+ # 云支付-查询合同明细接口
3162
+
3163
+ # @param request: Request instance for ViewContract.
3164
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::ViewContractRequest`
3165
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::ViewContractResponse`
3166
+ def ViewContract(request)
3167
+ body = send_request('ViewContract', request.serialize)
3168
+ response = JSON.parse(body)
3169
+ if response['Response'].key?('Error') == false
3170
+ model = ViewContractResponse.new
3171
+ model.deserialize(response['Response'])
3172
+ model
3173
+ else
3174
+ code = response['Response']['Error']['Code']
3175
+ message = response['Response']['Error']['Message']
3176
+ reqid = response['Response']['RequestId']
3177
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3178
+ end
3179
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3180
+ raise e
3181
+ rescue StandardError => e
3182
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3183
+ end
3184
+
3185
+ # 云支付-查询商户明细接口
3186
+
3187
+ # @param request: Request instance for ViewMerchant.
3188
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::ViewMerchantRequest`
3189
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::ViewMerchantResponse`
3190
+ def ViewMerchant(request)
3191
+ body = send_request('ViewMerchant', request.serialize)
3192
+ response = JSON.parse(body)
3193
+ if response['Response'].key?('Error') == false
3194
+ model = ViewMerchantResponse.new
3195
+ model.deserialize(response['Response'])
3196
+ model
3197
+ else
3198
+ code = response['Response']['Error']['Code']
3199
+ message = response['Response']['Error']['Message']
3200
+ reqid = response['Response']['RequestId']
3201
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3202
+ end
3203
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3204
+ raise e
3205
+ rescue StandardError => e
3206
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3207
+ end
3208
+
3209
+ # 云支付-查询门店明细接口
3210
+
3211
+ # @param request: Request instance for ViewShop.
3212
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::ViewShopRequest`
3213
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::ViewShopResponse`
3214
+ def ViewShop(request)
3215
+ body = send_request('ViewShop', request.serialize)
3216
+ response = JSON.parse(body)
3217
+ if response['Response'].key?('Error') == false
3218
+ model = ViewShopResponse.new
3219
+ model.deserialize(response['Response'])
3220
+ model
3221
+ else
3222
+ code = response['Response']['Error']['Code']
3223
+ message = response['Response']['Error']['Message']
3224
+ reqid = response['Response']['RequestId']
3225
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3226
+ end
3227
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3228
+ raise e
3229
+ rescue StandardError => e
3230
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3231
+ end
3232
+
2705
3233
  # 会员提现-不验证。此接口受理会员发起的提现申请。会员子账户的可提现余额、可用余额会减少,市场的资金汇总账户(监管账户)会减少相应的发生金额,提现到会员申请的收款账户。
2706
3234
 
2707
3235
  # @param request: Request instance for WithdrawCashMembership.