Client.cs 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562
  1. // This file is auto-generated, don't edit it. Thanks.
  2. using System;
  3. using System.Collections;
  4. using System.Collections.Generic;
  5. using System.IO;
  6. using System.Threading.Tasks;
  7. using Tea;
  8. using Tea.Utils;
  9. using Alipay.EasySDK.Member.Identification.Models;
  10. namespace Alipay.EasySDK.Member.Identification
  11. {
  12. public class Client
  13. {
  14. protected Alipay.EasySDK.Kernel.Client _kernel;
  15. public Client(Alipay.EasySDK.Kernel.Client kernel)
  16. {
  17. this._kernel = kernel;
  18. }
  19. public AlipayUserCertifyOpenInitializeResponse Init(string outerOrderNo, string bizCode, IdentityParam identityParam, MerchantConfig merchantConfig)
  20. {
  21. identityParam.Validate();
  22. merchantConfig.Validate();
  23. Dictionary<string, object> runtime_ = new Dictionary<string, object>
  24. {
  25. {"ignoreSSL", this._kernel.GetConfig("ignoreSSL")},
  26. {"httpProxy", this._kernel.GetConfig("httpProxy")},
  27. {"connectTimeout", 15000},
  28. {"readTimeout", 15000},
  29. {"retry", new Dictionary<string, int?>
  30. {
  31. {"maxAttempts", 0},
  32. }},
  33. };
  34. TeaRequest _lastRequest = null;
  35. Exception _lastException = null;
  36. long _now = System.DateTime.Now.Millisecond;
  37. int _retryTimes = 0;
  38. while (TeaCore.AllowRetry((IDictionary) runtime_["retry"], _retryTimes, _now))
  39. {
  40. if (_retryTimes > 0)
  41. {
  42. int backoffTime = TeaCore.GetBackoffTime((IDictionary)runtime_["backoff"], _retryTimes);
  43. if (backoffTime > 0)
  44. {
  45. TeaCore.Sleep(backoffTime);
  46. }
  47. }
  48. _retryTimes = _retryTimes + 1;
  49. try
  50. {
  51. TeaRequest request_ = new TeaRequest();
  52. Dictionary<string, string> systemParams = new Dictionary<string, string>
  53. {
  54. {"method", "alipay.user.certify.open.initialize"},
  55. {"app_id", this._kernel.GetConfig("appId")},
  56. {"timestamp", this._kernel.GetTimestamp()},
  57. {"format", "json"},
  58. {"version", "1.0"},
  59. {"alipay_sdk", this._kernel.GetSdkVersion()},
  60. {"charset", "UTF-8"},
  61. {"sign_type", this._kernel.GetConfig("signType")},
  62. {"app_cert_sn", this._kernel.GetMerchantCertSN()},
  63. {"alipay_root_cert_sn", this._kernel.GetAlipayRootCertSN()},
  64. };
  65. Dictionary<string, object> bizParams = new Dictionary<string, object>
  66. {
  67. {"outer_order_no", outerOrderNo},
  68. {"biz_code", bizCode},
  69. {"identity_param", identityParam},
  70. {"merchant_config", merchantConfig},
  71. };
  72. Dictionary<string, string> textParams = new Dictionary<string, string>(){};
  73. request_.Protocol = this._kernel.GetConfig("protocol");
  74. request_.Method = "POST";
  75. request_.Pathname = "/gateway.do";
  76. request_.Headers = new Dictionary<string, string>
  77. {
  78. {"host", this._kernel.GetConfig("gatewayHost")},
  79. {"content-type", "application/x-www-form-urlencoded;charset=utf-8"},
  80. };
  81. request_.Query = this._kernel.SortMap(TeaConverter.merge<string>
  82. (
  83. new Dictionary<string, string>()
  84. {
  85. {"sign", this._kernel.Sign(systemParams, bizParams, textParams, this._kernel.GetConfig("merchantPrivateKey"))},
  86. },
  87. systemParams,
  88. textParams
  89. ));
  90. request_.Body = TeaCore.BytesReadable(this._kernel.ToUrlEncodedRequestBody(bizParams));
  91. _lastRequest = request_;
  92. TeaResponse response_ = TeaCore.DoAction(request_, runtime_);
  93. Dictionary<string, object> respMap = this._kernel.ReadAsJson(response_, "alipay.user.certify.open.initialize");
  94. if (this._kernel.IsCertMode())
  95. {
  96. if (this._kernel.Verify(respMap, this._kernel.ExtractAlipayPublicKey(this._kernel.GetAlipayCertSN(respMap))))
  97. {
  98. return TeaModel.ToObject<AlipayUserCertifyOpenInitializeResponse>(this._kernel.ToRespModel(respMap));
  99. }
  100. }
  101. else
  102. {
  103. if (this._kernel.Verify(respMap, this._kernel.GetConfig("alipayPublicKey")))
  104. {
  105. return TeaModel.ToObject<AlipayUserCertifyOpenInitializeResponse>(this._kernel.ToRespModel(respMap));
  106. }
  107. }
  108. throw new TeaException(new Dictionary<string, string>
  109. {
  110. {"message", "验签失败,请检查支付宝公钥设置是否正确。"},
  111. });
  112. }
  113. catch (Exception e)
  114. {
  115. if (TeaCore.IsRetryable(e))
  116. {
  117. _lastException = e;
  118. continue;
  119. }
  120. throw e;
  121. }
  122. }
  123. throw new TeaUnretryableException(_lastRequest, _lastException);
  124. }
  125. public async Task<AlipayUserCertifyOpenInitializeResponse> InitAsync(string outerOrderNo, string bizCode, IdentityParam identityParam, MerchantConfig merchantConfig)
  126. {
  127. identityParam.Validate();
  128. merchantConfig.Validate();
  129. Dictionary<string, object> runtime_ = new Dictionary<string, object>
  130. {
  131. {"ignoreSSL", this._kernel.GetConfig("ignoreSSL")},
  132. {"httpProxy", this._kernel.GetConfig("httpProxy")},
  133. {"connectTimeout", 15000},
  134. {"readTimeout", 15000},
  135. {"retry", new Dictionary<string, int?>
  136. {
  137. {"maxAttempts", 0},
  138. }},
  139. };
  140. TeaRequest _lastRequest = null;
  141. Exception _lastException = null;
  142. long _now = System.DateTime.Now.Millisecond;
  143. int _retryTimes = 0;
  144. while (TeaCore.AllowRetry((IDictionary) runtime_["retry"], _retryTimes, _now))
  145. {
  146. if (_retryTimes > 0)
  147. {
  148. int backoffTime = TeaCore.GetBackoffTime((IDictionary)runtime_["backoff"], _retryTimes);
  149. if (backoffTime > 0)
  150. {
  151. TeaCore.Sleep(backoffTime);
  152. }
  153. }
  154. _retryTimes = _retryTimes + 1;
  155. try
  156. {
  157. TeaRequest request_ = new TeaRequest();
  158. Dictionary<string, string> systemParams = new Dictionary<string, string>
  159. {
  160. {"method", "alipay.user.certify.open.initialize"},
  161. {"app_id", this._kernel.GetConfig("appId")},
  162. {"timestamp", this._kernel.GetTimestamp()},
  163. {"format", "json"},
  164. {"version", "1.0"},
  165. {"alipay_sdk", this._kernel.GetSdkVersion()},
  166. {"charset", "UTF-8"},
  167. {"sign_type", this._kernel.GetConfig("signType")},
  168. {"app_cert_sn", this._kernel.GetMerchantCertSN()},
  169. {"alipay_root_cert_sn", this._kernel.GetAlipayRootCertSN()},
  170. };
  171. Dictionary<string, object> bizParams = new Dictionary<string, object>
  172. {
  173. {"outer_order_no", outerOrderNo},
  174. {"biz_code", bizCode},
  175. {"identity_param", identityParam},
  176. {"merchant_config", merchantConfig},
  177. };
  178. Dictionary<string, string> textParams = new Dictionary<string, string>(){};
  179. request_.Protocol = this._kernel.GetConfig("protocol");
  180. request_.Method = "POST";
  181. request_.Pathname = "/gateway.do";
  182. request_.Headers = new Dictionary<string, string>
  183. {
  184. {"host", this._kernel.GetConfig("gatewayHost")},
  185. {"content-type", "application/x-www-form-urlencoded;charset=utf-8"},
  186. };
  187. request_.Query = this._kernel.SortMap(TeaConverter.merge<string>
  188. (
  189. new Dictionary<string, string>()
  190. {
  191. {"sign", this._kernel.Sign(systemParams, bizParams, textParams, this._kernel.GetConfig("merchantPrivateKey"))},
  192. },
  193. systemParams,
  194. textParams
  195. ));
  196. request_.Body = TeaCore.BytesReadable(this._kernel.ToUrlEncodedRequestBody(bizParams));
  197. _lastRequest = request_;
  198. TeaResponse response_ = await TeaCore.DoActionAsync(request_, runtime_);
  199. Dictionary<string, object> respMap = await this._kernel.ReadAsJsonAsync(response_, "alipay.user.certify.open.initialize");
  200. if (this._kernel.IsCertMode())
  201. {
  202. if (this._kernel.Verify(respMap, this._kernel.ExtractAlipayPublicKey(this._kernel.GetAlipayCertSN(respMap))))
  203. {
  204. return TeaModel.ToObject<AlipayUserCertifyOpenInitializeResponse>(this._kernel.ToRespModel(respMap));
  205. }
  206. }
  207. else
  208. {
  209. if (this._kernel.Verify(respMap, this._kernel.GetConfig("alipayPublicKey")))
  210. {
  211. return TeaModel.ToObject<AlipayUserCertifyOpenInitializeResponse>(this._kernel.ToRespModel(respMap));
  212. }
  213. }
  214. throw new TeaException(new Dictionary<string, string>
  215. {
  216. {"message", "验签失败,请检查支付宝公钥设置是否正确。"},
  217. });
  218. }
  219. catch (Exception e)
  220. {
  221. if (TeaCore.IsRetryable(e))
  222. {
  223. _lastException = e;
  224. continue;
  225. }
  226. throw e;
  227. }
  228. }
  229. throw new TeaUnretryableException(_lastRequest, _lastException);
  230. }
  231. public AlipayUserCertifyOpenQueryResponse Query(string certifyId)
  232. {
  233. Dictionary<string, object> runtime_ = new Dictionary<string, object>
  234. {
  235. {"ignoreSSL", this._kernel.GetConfig("ignoreSSL")},
  236. {"httpProxy", this._kernel.GetConfig("httpProxy")},
  237. {"connectTimeout", 15000},
  238. {"readTimeout", 15000},
  239. {"retry", new Dictionary<string, int?>
  240. {
  241. {"maxAttempts", 0},
  242. }},
  243. };
  244. TeaRequest _lastRequest = null;
  245. Exception _lastException = null;
  246. long _now = System.DateTime.Now.Millisecond;
  247. int _retryTimes = 0;
  248. while (TeaCore.AllowRetry((IDictionary) runtime_["retry"], _retryTimes, _now))
  249. {
  250. if (_retryTimes > 0)
  251. {
  252. int backoffTime = TeaCore.GetBackoffTime((IDictionary)runtime_["backoff"], _retryTimes);
  253. if (backoffTime > 0)
  254. {
  255. TeaCore.Sleep(backoffTime);
  256. }
  257. }
  258. _retryTimes = _retryTimes + 1;
  259. try
  260. {
  261. TeaRequest request_ = new TeaRequest();
  262. Dictionary<string, string> systemParams = new Dictionary<string, string>
  263. {
  264. {"method", "alipay.user.certify.open.query"},
  265. {"app_id", this._kernel.GetConfig("appId")},
  266. {"timestamp", this._kernel.GetTimestamp()},
  267. {"format", "json"},
  268. {"version", "1.0"},
  269. {"alipay_sdk", this._kernel.GetSdkVersion()},
  270. {"charset", "UTF-8"},
  271. {"sign_type", this._kernel.GetConfig("signType")},
  272. {"app_cert_sn", this._kernel.GetMerchantCertSN()},
  273. {"alipay_root_cert_sn", this._kernel.GetAlipayRootCertSN()},
  274. };
  275. Dictionary<string, object> bizParams = new Dictionary<string, object>
  276. {
  277. {"certify_id", certifyId},
  278. };
  279. Dictionary<string, string> textParams = new Dictionary<string, string>(){};
  280. request_.Protocol = this._kernel.GetConfig("protocol");
  281. request_.Method = "POST";
  282. request_.Pathname = "/gateway.do";
  283. request_.Headers = new Dictionary<string, string>
  284. {
  285. {"host", this._kernel.GetConfig("gatewayHost")},
  286. {"content-type", "application/x-www-form-urlencoded;charset=utf-8"},
  287. };
  288. request_.Query = this._kernel.SortMap(TeaConverter.merge<string>
  289. (
  290. new Dictionary<string, string>()
  291. {
  292. {"sign", this._kernel.Sign(systemParams, bizParams, textParams, this._kernel.GetConfig("merchantPrivateKey"))},
  293. },
  294. systemParams,
  295. textParams
  296. ));
  297. request_.Body = TeaCore.BytesReadable(this._kernel.ToUrlEncodedRequestBody(bizParams));
  298. _lastRequest = request_;
  299. TeaResponse response_ = TeaCore.DoAction(request_, runtime_);
  300. Dictionary<string, object> respMap = this._kernel.ReadAsJson(response_, "alipay.user.certify.open.query");
  301. if (this._kernel.IsCertMode())
  302. {
  303. if (this._kernel.Verify(respMap, this._kernel.ExtractAlipayPublicKey(this._kernel.GetAlipayCertSN(respMap))))
  304. {
  305. return TeaModel.ToObject<AlipayUserCertifyOpenQueryResponse>(this._kernel.ToRespModel(respMap));
  306. }
  307. }
  308. else
  309. {
  310. if (this._kernel.Verify(respMap, this._kernel.GetConfig("alipayPublicKey")))
  311. {
  312. return TeaModel.ToObject<AlipayUserCertifyOpenQueryResponse>(this._kernel.ToRespModel(respMap));
  313. }
  314. }
  315. throw new TeaException(new Dictionary<string, string>
  316. {
  317. {"message", "验签失败,请检查支付宝公钥设置是否正确。"},
  318. });
  319. }
  320. catch (Exception e)
  321. {
  322. if (TeaCore.IsRetryable(e))
  323. {
  324. _lastException = e;
  325. continue;
  326. }
  327. throw e;
  328. }
  329. }
  330. throw new TeaUnretryableException(_lastRequest, _lastException);
  331. }
  332. public async Task<AlipayUserCertifyOpenQueryResponse> QueryAsync(string certifyId)
  333. {
  334. Dictionary<string, object> runtime_ = new Dictionary<string, object>
  335. {
  336. {"ignoreSSL", this._kernel.GetConfig("ignoreSSL")},
  337. {"httpProxy", this._kernel.GetConfig("httpProxy")},
  338. {"connectTimeout", 15000},
  339. {"readTimeout", 15000},
  340. {"retry", new Dictionary<string, int?>
  341. {
  342. {"maxAttempts", 0},
  343. }},
  344. };
  345. TeaRequest _lastRequest = null;
  346. Exception _lastException = null;
  347. long _now = System.DateTime.Now.Millisecond;
  348. int _retryTimes = 0;
  349. while (TeaCore.AllowRetry((IDictionary) runtime_["retry"], _retryTimes, _now))
  350. {
  351. if (_retryTimes > 0)
  352. {
  353. int backoffTime = TeaCore.GetBackoffTime((IDictionary)runtime_["backoff"], _retryTimes);
  354. if (backoffTime > 0)
  355. {
  356. TeaCore.Sleep(backoffTime);
  357. }
  358. }
  359. _retryTimes = _retryTimes + 1;
  360. try
  361. {
  362. TeaRequest request_ = new TeaRequest();
  363. Dictionary<string, string> systemParams = new Dictionary<string, string>
  364. {
  365. {"method", "alipay.user.certify.open.query"},
  366. {"app_id", this._kernel.GetConfig("appId")},
  367. {"timestamp", this._kernel.GetTimestamp()},
  368. {"format", "json"},
  369. {"version", "1.0"},
  370. {"alipay_sdk", this._kernel.GetSdkVersion()},
  371. {"charset", "UTF-8"},
  372. {"sign_type", this._kernel.GetConfig("signType")},
  373. {"app_cert_sn", this._kernel.GetMerchantCertSN()},
  374. {"alipay_root_cert_sn", this._kernel.GetAlipayRootCertSN()},
  375. };
  376. Dictionary<string, object> bizParams = new Dictionary<string, object>
  377. {
  378. {"certify_id", certifyId},
  379. };
  380. Dictionary<string, string> textParams = new Dictionary<string, string>(){};
  381. request_.Protocol = this._kernel.GetConfig("protocol");
  382. request_.Method = "POST";
  383. request_.Pathname = "/gateway.do";
  384. request_.Headers = new Dictionary<string, string>
  385. {
  386. {"host", this._kernel.GetConfig("gatewayHost")},
  387. {"content-type", "application/x-www-form-urlencoded;charset=utf-8"},
  388. };
  389. request_.Query = this._kernel.SortMap(TeaConverter.merge<string>
  390. (
  391. new Dictionary<string, string>()
  392. {
  393. {"sign", this._kernel.Sign(systemParams, bizParams, textParams, this._kernel.GetConfig("merchantPrivateKey"))},
  394. },
  395. systemParams,
  396. textParams
  397. ));
  398. request_.Body = TeaCore.BytesReadable(this._kernel.ToUrlEncodedRequestBody(bizParams));
  399. _lastRequest = request_;
  400. TeaResponse response_ = await TeaCore.DoActionAsync(request_, runtime_);
  401. Dictionary<string, object> respMap = await this._kernel.ReadAsJsonAsync(response_, "alipay.user.certify.open.query");
  402. if (this._kernel.IsCertMode())
  403. {
  404. if (this._kernel.Verify(respMap, this._kernel.ExtractAlipayPublicKey(this._kernel.GetAlipayCertSN(respMap))))
  405. {
  406. return TeaModel.ToObject<AlipayUserCertifyOpenQueryResponse>(this._kernel.ToRespModel(respMap));
  407. }
  408. }
  409. else
  410. {
  411. if (this._kernel.Verify(respMap, this._kernel.GetConfig("alipayPublicKey")))
  412. {
  413. return TeaModel.ToObject<AlipayUserCertifyOpenQueryResponse>(this._kernel.ToRespModel(respMap));
  414. }
  415. }
  416. throw new TeaException(new Dictionary<string, string>
  417. {
  418. {"message", "验签失败,请检查支付宝公钥设置是否正确。"},
  419. });
  420. }
  421. catch (Exception e)
  422. {
  423. if (TeaCore.IsRetryable(e))
  424. {
  425. _lastException = e;
  426. continue;
  427. }
  428. throw e;
  429. }
  430. }
  431. throw new TeaUnretryableException(_lastRequest, _lastException);
  432. }
  433. public AlipayUserCertifyOpenCertifyResponse Certify(string certifyId)
  434. {
  435. Dictionary<string, string> systemParams = new Dictionary<string, string>
  436. {
  437. {"method", "alipay.user.certify.open.certify"},
  438. {"app_id", this._kernel.GetConfig("appId")},
  439. {"timestamp", this._kernel.GetTimestamp()},
  440. {"format", "json"},
  441. {"version", "1.0"},
  442. {"alipay_sdk", this._kernel.GetSdkVersion()},
  443. {"charset", "UTF-8"},
  444. {"sign_type", this._kernel.GetConfig("signType")},
  445. {"app_cert_sn", this._kernel.GetMerchantCertSN()},
  446. {"alipay_root_cert_sn", this._kernel.GetAlipayRootCertSN()},
  447. };
  448. Dictionary<string, object> bizParams = new Dictionary<string, object>
  449. {
  450. {"certify_id", certifyId},
  451. };
  452. Dictionary<string, string> textParams = new Dictionary<string, string>(){};
  453. string sign = this._kernel.Sign(systemParams, bizParams, textParams, this._kernel.GetConfig("merchantPrivateKey"));
  454. Dictionary<string, string> response = new Dictionary<string, string>
  455. {
  456. {"body", this._kernel.GeneratePage("GET", systemParams, bizParams, textParams, sign)},
  457. };
  458. return TeaModel.ToObject<AlipayUserCertifyOpenCertifyResponse>(response);
  459. }
  460. /// <summary>
  461. /// ISV代商户代用,指定appAuthToken
  462. /// </summary>
  463. /// <param name="appAuthToken">代调用token</param>
  464. /// <returns>本客户端,便于链式调用</returns>
  465. public Client Agent(string appAuthToken)
  466. {
  467. _kernel.InjectTextParam("app_auth_token", appAuthToken);
  468. return this;
  469. }
  470. /// <summary>
  471. /// 用户授权调用,指定authToken
  472. /// </summary>
  473. /// <param name="authToken">用户授权token</param>
  474. /// <returns>本客户端,便于链式调用</returns>
  475. public Client Auth(string authToken)
  476. {
  477. _kernel.InjectTextParam("auth_token", authToken);
  478. return this;
  479. }
  480. /// <summary>
  481. /// 设置异步通知回调地址,此处设置将在本调用中覆盖Config中的全局配置
  482. /// </summary>
  483. /// <param name="url">异步通知回调地址,例如:https://www.test.com/callback </param>
  484. /// <returns>本客户端,便于链式调用</returns>
  485. public Client AsyncNotify(string url)
  486. {
  487. _kernel.InjectTextParam("notify_url", url);
  488. return this;
  489. }
  490. /// <summary>
  491. /// 将本次调用强制路由到后端系统的测试地址上,常用于线下环境内外联调,沙箱与线上环境设置无效
  492. /// </summary>
  493. /// <param name="testUrl">后端系统测试地址</param>
  494. /// <returns>本客户端,便于链式调用</returns>
  495. public Client Route(string testUrl)
  496. {
  497. _kernel.InjectTextParam("ws_service_url", testUrl);
  498. return this;
  499. }
  500. /// <summary>
  501. /// 设置API入参中没有的其他可选业务请求参数(biz_content下的字段)
  502. /// </summary>
  503. /// <param name="key">业务请求参数名称(biz_content下的字段名,比如timeout_express)</param>
  504. /// <param name="value">
  505. /// 业务请求参数的值,一个可以序列化成JSON的对象
  506. /// 如果该字段是一个字符串类型(String、Price、Date在SDK中都是字符串),请使用string储存
  507. /// 如果该字段是一个数值型类型(比如:Number),请使用long储存
  508. /// 如果该字段是一个复杂类型,请使用嵌套的Dictionary指定各下级字段的值
  509. /// 如果该字段是一个数组,请使用List储存各个值
  510. /// 对于更复杂的情况,也支持Dictionary和List的各种组合嵌套,比如参数是值是个List,List中的每种类型是一个复杂对象
  511. /// </param>
  512. /// <returns>本客户端,便于链式调用</returns>
  513. public Client Optional(string key, object value)
  514. {
  515. _kernel.InjectBizParam(key, value);
  516. return this;
  517. }
  518. /// <summary>
  519. /// 批量设置API入参中没有的其他可选业务请求参数(biz_content下的字段)
  520. /// optional方法的批量版本
  521. /// </summary>
  522. /// <param name="optionalArgs">可选参数集合,每个参数由key和value组成,key和value的格式请参见optional方法的注释</param>
  523. /// <returns>本客户端,便于链式调用</returns>
  524. public Client BatchOptional(Dictionary<string, object> optionalArgs)
  525. {
  526. foreach (var pair in optionalArgs)
  527. {
  528. _kernel.InjectBizParam(pair.Key, pair.Value);
  529. }
  530. return this;
  531. }
  532. }
  533. }