|
40 | 40 | use AlibabaCloud\SDK\Cloudauthintl\V20220809\Models\FaceLivenessResponse; |
41 | 41 | use AlibabaCloud\SDK\Cloudauthintl\V20220809\Models\FraudResultCallBackRequest; |
42 | 42 | use AlibabaCloud\SDK\Cloudauthintl\V20220809\Models\FraudResultCallBackResponse; |
| 43 | +use AlibabaCloud\SDK\Cloudauthintl\V20220809\Models\Id2MetaVerifyIntlRequest; |
| 44 | +use AlibabaCloud\SDK\Cloudauthintl\V20220809\Models\Id2MetaVerifyIntlResponse; |
43 | 45 | use AlibabaCloud\SDK\Cloudauthintl\V20220809\Models\InitializeRequest; |
44 | 46 | use AlibabaCloud\SDK\Cloudauthintl\V20220809\Models\InitializeResponse; |
| 47 | +use AlibabaCloud\SDK\Cloudauthintl\V20220809\Models\Mobile3MetaVerifyIntlRequest; |
| 48 | +use AlibabaCloud\SDK\Cloudauthintl\V20220809\Models\Mobile3MetaVerifyIntlResponse; |
45 | 49 | use AlibabaCloud\Tea\Utils\Utils; |
46 | 50 | use AlibabaCloud\Tea\Utils\Utils\RuntimeOptions; |
47 | 51 | use Darabonba\OpenApi\Models\OpenApiRequest; |
@@ -1033,6 +1037,58 @@ public function fraudResultCallBack($request) |
1033 | 1037 | return $this->fraudResultCallBackWithOptions($request, $runtime); |
1034 | 1038 | } |
1035 | 1039 |
|
| 1040 | + /** |
| 1041 | + * @param Id2MetaVerifyIntlRequest $request |
| 1042 | + * @param RuntimeOptions $runtime |
| 1043 | + * |
| 1044 | + * @return Id2MetaVerifyIntlResponse |
| 1045 | + */ |
| 1046 | + public function id2MetaVerifyIntlWithOptions($request, $runtime) |
| 1047 | + { |
| 1048 | + Utils::validateModel($request); |
| 1049 | + $query = []; |
| 1050 | + if (!Utils::isUnset($request->identifyNum)) { |
| 1051 | + $query['IdentifyNum'] = $request->identifyNum; |
| 1052 | + } |
| 1053 | + if (!Utils::isUnset($request->paramType)) { |
| 1054 | + $query['ParamType'] = $request->paramType; |
| 1055 | + } |
| 1056 | + if (!Utils::isUnset($request->productCode)) { |
| 1057 | + $query['ProductCode'] = $request->productCode; |
| 1058 | + } |
| 1059 | + if (!Utils::isUnset($request->userName)) { |
| 1060 | + $query['UserName'] = $request->userName; |
| 1061 | + } |
| 1062 | + $req = new OpenApiRequest([ |
| 1063 | + 'query' => OpenApiUtilClient::query($query), |
| 1064 | + ]); |
| 1065 | + $params = new Params([ |
| 1066 | + 'action' => 'Id2MetaVerifyIntl', |
| 1067 | + 'version' => '2022-08-09', |
| 1068 | + 'protocol' => 'HTTPS', |
| 1069 | + 'pathname' => '/', |
| 1070 | + 'method' => 'POST', |
| 1071 | + 'authType' => 'AK', |
| 1072 | + 'style' => 'RPC', |
| 1073 | + 'reqBodyType' => 'formData', |
| 1074 | + 'bodyType' => 'json', |
| 1075 | + ]); |
| 1076 | + |
| 1077 | + return Id2MetaVerifyIntlResponse::fromMap($this->callApi($params, $req, $runtime)); |
| 1078 | + } |
| 1079 | + |
| 1080 | + /** |
| 1081 | + * @param Id2MetaVerifyIntlRequest $request |
| 1082 | + * |
| 1083 | + * @return Id2MetaVerifyIntlResponse |
| 1084 | + */ |
| 1085 | + public function id2MetaVerifyIntl($request) |
| 1086 | + { |
| 1087 | + $runtime = new RuntimeOptions([]); |
| 1088 | + |
| 1089 | + return $this->id2MetaVerifyIntlWithOptions($request, $runtime); |
| 1090 | + } |
| 1091 | + |
1036 | 1092 | /** |
1037 | 1093 | * @param InitializeRequest $request |
1038 | 1094 | * @param RuntimeOptions $runtime |
@@ -1141,4 +1197,59 @@ public function initialize($request) |
1141 | 1197 |
|
1142 | 1198 | return $this->initializeWithOptions($request, $runtime); |
1143 | 1199 | } |
| 1200 | + |
| 1201 | + /** |
| 1202 | + * @param Mobile3MetaVerifyIntlRequest $request |
| 1203 | + * @param RuntimeOptions $runtime |
| 1204 | + * |
| 1205 | + * @return Mobile3MetaVerifyIntlResponse |
| 1206 | + */ |
| 1207 | + public function mobile3MetaVerifyIntlWithOptions($request, $runtime) |
| 1208 | + { |
| 1209 | + Utils::validateModel($request); |
| 1210 | + $query = []; |
| 1211 | + if (!Utils::isUnset($request->identifyNum)) { |
| 1212 | + $query['IdentifyNum'] = $request->identifyNum; |
| 1213 | + } |
| 1214 | + if (!Utils::isUnset($request->mobile)) { |
| 1215 | + $query['Mobile'] = $request->mobile; |
| 1216 | + } |
| 1217 | + if (!Utils::isUnset($request->paramType)) { |
| 1218 | + $query['ParamType'] = $request->paramType; |
| 1219 | + } |
| 1220 | + if (!Utils::isUnset($request->productCode)) { |
| 1221 | + $query['ProductCode'] = $request->productCode; |
| 1222 | + } |
| 1223 | + if (!Utils::isUnset($request->userName)) { |
| 1224 | + $query['UserName'] = $request->userName; |
| 1225 | + } |
| 1226 | + $req = new OpenApiRequest([ |
| 1227 | + 'query' => OpenApiUtilClient::query($query), |
| 1228 | + ]); |
| 1229 | + $params = new Params([ |
| 1230 | + 'action' => 'Mobile3MetaVerifyIntl', |
| 1231 | + 'version' => '2022-08-09', |
| 1232 | + 'protocol' => 'HTTPS', |
| 1233 | + 'pathname' => '/', |
| 1234 | + 'method' => 'POST', |
| 1235 | + 'authType' => 'AK', |
| 1236 | + 'style' => 'RPC', |
| 1237 | + 'reqBodyType' => 'formData', |
| 1238 | + 'bodyType' => 'json', |
| 1239 | + ]); |
| 1240 | + |
| 1241 | + return Mobile3MetaVerifyIntlResponse::fromMap($this->callApi($params, $req, $runtime)); |
| 1242 | + } |
| 1243 | + |
| 1244 | + /** |
| 1245 | + * @param Mobile3MetaVerifyIntlRequest $request |
| 1246 | + * |
| 1247 | + * @return Mobile3MetaVerifyIntlResponse |
| 1248 | + */ |
| 1249 | + public function mobile3MetaVerifyIntl($request) |
| 1250 | + { |
| 1251 | + $runtime = new RuntimeOptions([]); |
| 1252 | + |
| 1253 | + return $this->mobile3MetaVerifyIntlWithOptions($request, $runtime); |
| 1254 | + } |
1144 | 1255 | } |
0 commit comments