AlipayMobileSecuritiesInfoUpdateRequest.php 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326
  1. <?php
  2. /**
  3. * ALIPAY API: alipay.mobile.securities.info.update request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2019-03-08 15:29:11
  7. */
  8. class AlipayMobileSecuritiesInfoUpdateRequest
  9. {
  10. /**
  11. * 作者
  12. **/
  13. private $author;
  14. /**
  15. * 文本正文
  16. **/
  17. private $content;
  18. /**
  19. * Html格式正文
  20. **/
  21. private $html;
  22. /**
  23. * 唯一标识
  24. **/
  25. private $identify;
  26. /**
  27. * 原文链接
  28. **/
  29. private $link;
  30. /**
  31. * 配图原图
  32. **/
  33. private $originalPicture;
  34. /**
  35. * 配图图注
  36. **/
  37. private $pictureComment;
  38. /**
  39. * Html格式正文中配图图片位置标识
  40. **/
  41. private $pictureLocation;
  42. /**
  43. * publish_time
  44. **/
  45. private $publishTime;
  46. /**
  47. * 相关股票
  48. **/
  49. private $relevantStock;
  50. /**
  51. * 新闻来源
  52. **/
  53. private $source;
  54. /**
  55. * summary
  56. **/
  57. private $summary;
  58. /**
  59. * title
  60. **/
  61. private $title;
  62. /**
  63. * 更新时间
  64. **/
  65. private $updateTime;
  66. private $apiParas = array();
  67. private $terminalType;
  68. private $terminalInfo;
  69. private $prodCode;
  70. private $apiVersion="1.0";
  71. private $notifyUrl;
  72. private $returnUrl;
  73. private $needEncrypt=false;
  74. public function setAuthor($author)
  75. {
  76. $this->author = $author;
  77. $this->apiParas["author"] = $author;
  78. }
  79. public function getAuthor()
  80. {
  81. return $this->author;
  82. }
  83. public function setContent($content)
  84. {
  85. $this->content = $content;
  86. $this->apiParas["content"] = $content;
  87. }
  88. public function getContent()
  89. {
  90. return $this->content;
  91. }
  92. public function setHtml($html)
  93. {
  94. $this->html = $html;
  95. $this->apiParas["html"] = $html;
  96. }
  97. public function getHtml()
  98. {
  99. return $this->html;
  100. }
  101. public function setIdentify($identify)
  102. {
  103. $this->identify = $identify;
  104. $this->apiParas["identify"] = $identify;
  105. }
  106. public function getIdentify()
  107. {
  108. return $this->identify;
  109. }
  110. public function setLink($link)
  111. {
  112. $this->link = $link;
  113. $this->apiParas["link"] = $link;
  114. }
  115. public function getLink()
  116. {
  117. return $this->link;
  118. }
  119. public function setOriginalPicture($originalPicture)
  120. {
  121. $this->originalPicture = $originalPicture;
  122. $this->apiParas["original_picture"] = $originalPicture;
  123. }
  124. public function getOriginalPicture()
  125. {
  126. return $this->originalPicture;
  127. }
  128. public function setPictureComment($pictureComment)
  129. {
  130. $this->pictureComment = $pictureComment;
  131. $this->apiParas["picture_comment"] = $pictureComment;
  132. }
  133. public function getPictureComment()
  134. {
  135. return $this->pictureComment;
  136. }
  137. public function setPictureLocation($pictureLocation)
  138. {
  139. $this->pictureLocation = $pictureLocation;
  140. $this->apiParas["picture_location"] = $pictureLocation;
  141. }
  142. public function getPictureLocation()
  143. {
  144. return $this->pictureLocation;
  145. }
  146. public function setPublishTime($publishTime)
  147. {
  148. $this->publishTime = $publishTime;
  149. $this->apiParas["publish_time"] = $publishTime;
  150. }
  151. public function getPublishTime()
  152. {
  153. return $this->publishTime;
  154. }
  155. public function setRelevantStock($relevantStock)
  156. {
  157. $this->relevantStock = $relevantStock;
  158. $this->apiParas["relevant_stock"] = $relevantStock;
  159. }
  160. public function getRelevantStock()
  161. {
  162. return $this->relevantStock;
  163. }
  164. public function setSource($source)
  165. {
  166. $this->source = $source;
  167. $this->apiParas["source"] = $source;
  168. }
  169. public function getSource()
  170. {
  171. return $this->source;
  172. }
  173. public function setSummary($summary)
  174. {
  175. $this->summary = $summary;
  176. $this->apiParas["summary"] = $summary;
  177. }
  178. public function getSummary()
  179. {
  180. return $this->summary;
  181. }
  182. public function setTitle($title)
  183. {
  184. $this->title = $title;
  185. $this->apiParas["title"] = $title;
  186. }
  187. public function getTitle()
  188. {
  189. return $this->title;
  190. }
  191. public function setUpdateTime($updateTime)
  192. {
  193. $this->updateTime = $updateTime;
  194. $this->apiParas["update_time"] = $updateTime;
  195. }
  196. public function getUpdateTime()
  197. {
  198. return $this->updateTime;
  199. }
  200. public function getApiMethodName()
  201. {
  202. return "alipay.mobile.securities.info.update";
  203. }
  204. public function setNotifyUrl($notifyUrl)
  205. {
  206. $this->notifyUrl=$notifyUrl;
  207. }
  208. public function getNotifyUrl()
  209. {
  210. return $this->notifyUrl;
  211. }
  212. public function setReturnUrl($returnUrl)
  213. {
  214. $this->returnUrl=$returnUrl;
  215. }
  216. public function getReturnUrl()
  217. {
  218. return $this->returnUrl;
  219. }
  220. public function getApiParas()
  221. {
  222. return $this->apiParas;
  223. }
  224. public function getTerminalType()
  225. {
  226. return $this->terminalType;
  227. }
  228. public function setTerminalType($terminalType)
  229. {
  230. $this->terminalType = $terminalType;
  231. }
  232. public function getTerminalInfo()
  233. {
  234. return $this->terminalInfo;
  235. }
  236. public function setTerminalInfo($terminalInfo)
  237. {
  238. $this->terminalInfo = $terminalInfo;
  239. }
  240. public function getProdCode()
  241. {
  242. return $this->prodCode;
  243. }
  244. public function setProdCode($prodCode)
  245. {
  246. $this->prodCode = $prodCode;
  247. }
  248. public function setApiVersion($apiVersion)
  249. {
  250. $this->apiVersion=$apiVersion;
  251. }
  252. public function getApiVersion()
  253. {
  254. return $this->apiVersion;
  255. }
  256. public function setNeedEncrypt($needEncrypt)
  257. {
  258. $this->needEncrypt=$needEncrypt;
  259. }
  260. public function getNeedEncrypt()
  261. {
  262. return $this->needEncrypt;
  263. }
  264. }