CloudauthApiResolver.php 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803
  1. <?php
  2. namespace AlibabaCloud\Cloudauth\V20200618;
  3. use AlibabaCloud\Client\Resolver\ApiResolver;
  4. /**
  5. * @method ContrastSmartVerify contrastSmartVerify(array $options = [])
  6. * @method DescribeSmartVerify describeSmartVerify(array $options = [])
  7. * @method ElementSmartVerify elementSmartVerify(array $options = [])
  8. * @method InitSmartVerify initSmartVerify(array $options = [])
  9. * @method VerifyBankElement verifyBankElement(array $options = [])
  10. */
  11. class CloudauthApiResolver extends ApiResolver
  12. {
  13. }
  14. class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
  15. {
  16. /** @var string */
  17. public $product = 'Cloudauth';
  18. /** @var string */
  19. public $version = '2020-06-18';
  20. /** @var string */
  21. public $method = 'POST';
  22. /** @var string */
  23. public $serviceCode = 'cloudauth';
  24. }
  25. /**
  26. * @method string getFacePicFile()
  27. * @method string getIp()
  28. * @method string getCertName()
  29. * @method string getFacePicString()
  30. * @method string getMobile()
  31. * @method string getUserId()
  32. * @method string getMode()
  33. * @method string getCertNo()
  34. * @method string getOuterOrderNo()
  35. * @method string getFacePicUrl()
  36. * @method string getCertType()
  37. * @method string getSceneId()
  38. */
  39. class ContrastSmartVerify extends Rpc
  40. {
  41. /**
  42. * @param string $value
  43. *
  44. * @return $this
  45. */
  46. public function withFacePicFile($value)
  47. {
  48. $this->data['FacePicFile'] = $value;
  49. $this->options['form_params']['FacePicFile'] = $value;
  50. return $this;
  51. }
  52. /**
  53. * @param string $value
  54. *
  55. * @return $this
  56. */
  57. public function withIp($value)
  58. {
  59. $this->data['Ip'] = $value;
  60. $this->options['form_params']['Ip'] = $value;
  61. return $this;
  62. }
  63. /**
  64. * @param string $value
  65. *
  66. * @return $this
  67. */
  68. public function withCertName($value)
  69. {
  70. $this->data['CertName'] = $value;
  71. $this->options['form_params']['CertName'] = $value;
  72. return $this;
  73. }
  74. /**
  75. * @param string $value
  76. *
  77. * @return $this
  78. */
  79. public function withFacePicString($value)
  80. {
  81. $this->data['FacePicString'] = $value;
  82. $this->options['form_params']['FacePicString'] = $value;
  83. return $this;
  84. }
  85. /**
  86. * @param string $value
  87. *
  88. * @return $this
  89. */
  90. public function withMobile($value)
  91. {
  92. $this->data['Mobile'] = $value;
  93. $this->options['form_params']['Mobile'] = $value;
  94. return $this;
  95. }
  96. /**
  97. * @param string $value
  98. *
  99. * @return $this
  100. */
  101. public function withUserId($value)
  102. {
  103. $this->data['UserId'] = $value;
  104. $this->options['form_params']['UserId'] = $value;
  105. return $this;
  106. }
  107. /**
  108. * @param string $value
  109. *
  110. * @return $this
  111. */
  112. public function withMode($value)
  113. {
  114. $this->data['Mode'] = $value;
  115. $this->options['form_params']['Mode'] = $value;
  116. return $this;
  117. }
  118. /**
  119. * @param string $value
  120. *
  121. * @return $this
  122. */
  123. public function withCertNo($value)
  124. {
  125. $this->data['CertNo'] = $value;
  126. $this->options['form_params']['CertNo'] = $value;
  127. return $this;
  128. }
  129. /**
  130. * @param string $value
  131. *
  132. * @return $this
  133. */
  134. public function withOuterOrderNo($value)
  135. {
  136. $this->data['OuterOrderNo'] = $value;
  137. $this->options['form_params']['OuterOrderNo'] = $value;
  138. return $this;
  139. }
  140. /**
  141. * @param string $value
  142. *
  143. * @return $this
  144. */
  145. public function withFacePicUrl($value)
  146. {
  147. $this->data['FacePicUrl'] = $value;
  148. $this->options['form_params']['FacePicUrl'] = $value;
  149. return $this;
  150. }
  151. /**
  152. * @param string $value
  153. *
  154. * @return $this
  155. */
  156. public function withCertType($value)
  157. {
  158. $this->data['CertType'] = $value;
  159. $this->options['form_params']['CertType'] = $value;
  160. return $this;
  161. }
  162. /**
  163. * @param string $value
  164. *
  165. * @return $this
  166. */
  167. public function withSceneId($value)
  168. {
  169. $this->data['SceneId'] = $value;
  170. $this->options['form_params']['SceneId'] = $value;
  171. return $this;
  172. }
  173. }
  174. /**
  175. * @method string getCertifyId()
  176. * @method string getPictureReturnType()
  177. * @method string getSceneId()
  178. */
  179. class DescribeSmartVerify extends Rpc
  180. {
  181. /**
  182. * @param string $value
  183. *
  184. * @return $this
  185. */
  186. public function withCertifyId($value)
  187. {
  188. $this->data['CertifyId'] = $value;
  189. $this->options['form_params']['CertifyId'] = $value;
  190. return $this;
  191. }
  192. /**
  193. * @param string $value
  194. *
  195. * @return $this
  196. */
  197. public function withPictureReturnType($value)
  198. {
  199. $this->data['PictureReturnType'] = $value;
  200. $this->options['form_params']['PictureReturnType'] = $value;
  201. return $this;
  202. }
  203. /**
  204. * @param string $value
  205. *
  206. * @return $this
  207. */
  208. public function withSceneId($value)
  209. {
  210. $this->data['SceneId'] = $value;
  211. $this->options['form_params']['SceneId'] = $value;
  212. return $this;
  213. }
  214. }
  215. /**
  216. * @method string getCertFile()
  217. * @method string getCertNationalEmblemUrl()
  218. * @method string getCertName()
  219. * @method string getMode()
  220. * @method string getCertNo()
  221. * @method string getOuterOrderNo()
  222. * @method string getCertUrl()
  223. * @method string getCertType()
  224. * @method string getSceneId()
  225. */
  226. class ElementSmartVerify extends Rpc
  227. {
  228. /**
  229. * @param string $value
  230. *
  231. * @return $this
  232. */
  233. public function withCertFile($value)
  234. {
  235. $this->data['CertFile'] = $value;
  236. $this->options['form_params']['CertFile'] = $value;
  237. return $this;
  238. }
  239. /**
  240. * @param string $value
  241. *
  242. * @return $this
  243. */
  244. public function withCertNationalEmblemUrl($value)
  245. {
  246. $this->data['CertNationalEmblemUrl'] = $value;
  247. $this->options['form_params']['CertNationalEmblemUrl'] = $value;
  248. return $this;
  249. }
  250. /**
  251. * @param string $value
  252. *
  253. * @return $this
  254. */
  255. public function withCertName($value)
  256. {
  257. $this->data['CertName'] = $value;
  258. $this->options['form_params']['CertName'] = $value;
  259. return $this;
  260. }
  261. /**
  262. * @param string $value
  263. *
  264. * @return $this
  265. */
  266. public function withMode($value)
  267. {
  268. $this->data['Mode'] = $value;
  269. $this->options['form_params']['Mode'] = $value;
  270. return $this;
  271. }
  272. /**
  273. * @param string $value
  274. *
  275. * @return $this
  276. */
  277. public function withCertNo($value)
  278. {
  279. $this->data['CertNo'] = $value;
  280. $this->options['form_params']['CertNo'] = $value;
  281. return $this;
  282. }
  283. /**
  284. * @param string $value
  285. *
  286. * @return $this
  287. */
  288. public function withOuterOrderNo($value)
  289. {
  290. $this->data['OuterOrderNo'] = $value;
  291. $this->options['form_params']['OuterOrderNo'] = $value;
  292. return $this;
  293. }
  294. /**
  295. * @param string $value
  296. *
  297. * @return $this
  298. */
  299. public function withCertUrl($value)
  300. {
  301. $this->data['CertUrl'] = $value;
  302. $this->options['form_params']['CertUrl'] = $value;
  303. return $this;
  304. }
  305. /**
  306. * @param string $value
  307. *
  308. * @return $this
  309. */
  310. public function withCertType($value)
  311. {
  312. $this->data['CertType'] = $value;
  313. $this->options['form_params']['CertType'] = $value;
  314. return $this;
  315. }
  316. /**
  317. * @param string $value
  318. *
  319. * @return $this
  320. */
  321. public function withSceneId($value)
  322. {
  323. $this->data['SceneId'] = $value;
  324. $this->options['form_params']['SceneId'] = $value;
  325. return $this;
  326. }
  327. }
  328. /**
  329. * @method string getIdName()
  330. * @method string getUserId()
  331. * @method string getCertifyId()
  332. * @method string getFacePictureBase64()
  333. * @method string getMode()
  334. * @method string getCertNo()
  335. * @method string getOuterOrderNo()
  336. * @method string getCertType()
  337. * @method string getMetaInfo()
  338. * @method string getOcr()
  339. * @method string getOssObjectName()
  340. * @method string getFacePictureUrl()
  341. * @method string getIp()
  342. * @method string getCertName()
  343. * @method string getMobile()
  344. * @method string getIdNo()
  345. * @method string getSceneId()
  346. * @method string getCallbackToken()
  347. * @method string getOssBucketName()
  348. * @method string getCallbackUrl()
  349. */
  350. class InitSmartVerify extends Rpc
  351. {
  352. /**
  353. * @param string $value
  354. *
  355. * @return $this
  356. */
  357. public function withIdName($value)
  358. {
  359. $this->data['IdName'] = $value;
  360. $this->options['form_params']['IdName'] = $value;
  361. return $this;
  362. }
  363. /**
  364. * @param string $value
  365. *
  366. * @return $this
  367. */
  368. public function withUserId($value)
  369. {
  370. $this->data['UserId'] = $value;
  371. $this->options['form_params']['UserId'] = $value;
  372. return $this;
  373. }
  374. /**
  375. * @param string $value
  376. *
  377. * @return $this
  378. */
  379. public function withCertifyId($value)
  380. {
  381. $this->data['CertifyId'] = $value;
  382. $this->options['form_params']['CertifyId'] = $value;
  383. return $this;
  384. }
  385. /**
  386. * @param string $value
  387. *
  388. * @return $this
  389. */
  390. public function withFacePictureBase64($value)
  391. {
  392. $this->data['FacePictureBase64'] = $value;
  393. $this->options['form_params']['FacePictureBase64'] = $value;
  394. return $this;
  395. }
  396. /**
  397. * @param string $value
  398. *
  399. * @return $this
  400. */
  401. public function withMode($value)
  402. {
  403. $this->data['Mode'] = $value;
  404. $this->options['form_params']['Mode'] = $value;
  405. return $this;
  406. }
  407. /**
  408. * @param string $value
  409. *
  410. * @return $this
  411. */
  412. public function withCertNo($value)
  413. {
  414. $this->data['CertNo'] = $value;
  415. $this->options['form_params']['CertNo'] = $value;
  416. return $this;
  417. }
  418. /**
  419. * @param string $value
  420. *
  421. * @return $this
  422. */
  423. public function withOuterOrderNo($value)
  424. {
  425. $this->data['OuterOrderNo'] = $value;
  426. $this->options['form_params']['OuterOrderNo'] = $value;
  427. return $this;
  428. }
  429. /**
  430. * @param string $value
  431. *
  432. * @return $this
  433. */
  434. public function withCertType($value)
  435. {
  436. $this->data['CertType'] = $value;
  437. $this->options['form_params']['CertType'] = $value;
  438. return $this;
  439. }
  440. /**
  441. * @param string $value
  442. *
  443. * @return $this
  444. */
  445. public function withMetaInfo($value)
  446. {
  447. $this->data['MetaInfo'] = $value;
  448. $this->options['form_params']['MetaInfo'] = $value;
  449. return $this;
  450. }
  451. /**
  452. * @param string $value
  453. *
  454. * @return $this
  455. */
  456. public function withOcr($value)
  457. {
  458. $this->data['Ocr'] = $value;
  459. $this->options['form_params']['Ocr'] = $value;
  460. return $this;
  461. }
  462. /**
  463. * @param string $value
  464. *
  465. * @return $this
  466. */
  467. public function withOssObjectName($value)
  468. {
  469. $this->data['OssObjectName'] = $value;
  470. $this->options['form_params']['OssObjectName'] = $value;
  471. return $this;
  472. }
  473. /**
  474. * @param string $value
  475. *
  476. * @return $this
  477. */
  478. public function withFacePictureUrl($value)
  479. {
  480. $this->data['FacePictureUrl'] = $value;
  481. $this->options['form_params']['FacePictureUrl'] = $value;
  482. return $this;
  483. }
  484. /**
  485. * @param string $value
  486. *
  487. * @return $this
  488. */
  489. public function withIp($value)
  490. {
  491. $this->data['Ip'] = $value;
  492. $this->options['form_params']['Ip'] = $value;
  493. return $this;
  494. }
  495. /**
  496. * @param string $value
  497. *
  498. * @return $this
  499. */
  500. public function withCertName($value)
  501. {
  502. $this->data['CertName'] = $value;
  503. $this->options['form_params']['CertName'] = $value;
  504. return $this;
  505. }
  506. /**
  507. * @param string $value
  508. *
  509. * @return $this
  510. */
  511. public function withMobile($value)
  512. {
  513. $this->data['Mobile'] = $value;
  514. $this->options['form_params']['Mobile'] = $value;
  515. return $this;
  516. }
  517. /**
  518. * @param string $value
  519. *
  520. * @return $this
  521. */
  522. public function withIdNo($value)
  523. {
  524. $this->data['IdNo'] = $value;
  525. $this->options['form_params']['IdNo'] = $value;
  526. return $this;
  527. }
  528. /**
  529. * @param string $value
  530. *
  531. * @return $this
  532. */
  533. public function withSceneId($value)
  534. {
  535. $this->data['SceneId'] = $value;
  536. $this->options['form_params']['SceneId'] = $value;
  537. return $this;
  538. }
  539. /**
  540. * @param string $value
  541. *
  542. * @return $this
  543. */
  544. public function withCallbackToken($value)
  545. {
  546. $this->data['CallbackToken'] = $value;
  547. $this->options['form_params']['CallbackToken'] = $value;
  548. return $this;
  549. }
  550. /**
  551. * @param string $value
  552. *
  553. * @return $this
  554. */
  555. public function withOssBucketName($value)
  556. {
  557. $this->data['OssBucketName'] = $value;
  558. $this->options['form_params']['OssBucketName'] = $value;
  559. return $this;
  560. }
  561. /**
  562. * @param string $value
  563. *
  564. * @return $this
  565. */
  566. public function withCallbackUrl($value)
  567. {
  568. $this->data['CallbackUrl'] = $value;
  569. $this->options['form_params']['CallbackUrl'] = $value;
  570. return $this;
  571. }
  572. }
  573. /**
  574. * @method string getIdName()
  575. * @method string getMobile()
  576. * @method string getBankCardUrl()
  577. * @method string getIdNo()
  578. * @method string getBankCardNo()
  579. * @method string getMode()
  580. * @method string getOuterOrderNo()
  581. * @method string getBankCardFile()
  582. * @method string getSceneId()
  583. */
  584. class VerifyBankElement extends Rpc
  585. {
  586. /**
  587. * @param string $value
  588. *
  589. * @return $this
  590. */
  591. public function withIdName($value)
  592. {
  593. $this->data['IdName'] = $value;
  594. $this->options['form_params']['IdName'] = $value;
  595. return $this;
  596. }
  597. /**
  598. * @param string $value
  599. *
  600. * @return $this
  601. */
  602. public function withMobile($value)
  603. {
  604. $this->data['Mobile'] = $value;
  605. $this->options['form_params']['Mobile'] = $value;
  606. return $this;
  607. }
  608. /**
  609. * @param string $value
  610. *
  611. * @return $this
  612. */
  613. public function withBankCardUrl($value)
  614. {
  615. $this->data['BankCardUrl'] = $value;
  616. $this->options['form_params']['BankCardUrl'] = $value;
  617. return $this;
  618. }
  619. /**
  620. * @param string $value
  621. *
  622. * @return $this
  623. */
  624. public function withIdNo($value)
  625. {
  626. $this->data['IdNo'] = $value;
  627. $this->options['form_params']['IdNo'] = $value;
  628. return $this;
  629. }
  630. /**
  631. * @param string $value
  632. *
  633. * @return $this
  634. */
  635. public function withBankCardNo($value)
  636. {
  637. $this->data['BankCardNo'] = $value;
  638. $this->options['form_params']['BankCardNo'] = $value;
  639. return $this;
  640. }
  641. /**
  642. * @param string $value
  643. *
  644. * @return $this
  645. */
  646. public function withMode($value)
  647. {
  648. $this->data['Mode'] = $value;
  649. $this->options['form_params']['Mode'] = $value;
  650. return $this;
  651. }
  652. /**
  653. * @param string $value
  654. *
  655. * @return $this
  656. */
  657. public function withOuterOrderNo($value)
  658. {
  659. $this->data['OuterOrderNo'] = $value;
  660. $this->options['form_params']['OuterOrderNo'] = $value;
  661. return $this;
  662. }
  663. /**
  664. * @param string $value
  665. *
  666. * @return $this
  667. */
  668. public function withBankCardFile($value)
  669. {
  670. $this->data['BankCardFile'] = $value;
  671. $this->options['form_params']['BankCardFile'] = $value;
  672. return $this;
  673. }
  674. /**
  675. * @param string $value
  676. *
  677. * @return $this
  678. */
  679. public function withSceneId($value)
  680. {
  681. $this->data['SceneId'] = $value;
  682. $this->options['form_params']['SceneId'] = $value;
  683. return $this;
  684. }
  685. }