AlipayWeiboPucChargeRequest.php 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326
  1. <?php
  2. /**
  3. * ALIPAY API: alipay.weibo.puc.charge request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2019-03-08 15:29:11
  7. */
  8. class AlipayWeiboPucChargeRequest
  9. {
  10. /**
  11. * 设备唯一值
  12. **/
  13. private $apdId;
  14. /**
  15. * 手机位置信息
  16. **/
  17. private $cellId;
  18. /**
  19. * apdid对应的设备信息key
  20. **/
  21. private $deviceInfoToken;
  22. /**
  23. * 业务扩展信息
  24. **/
  25. private $exparam;
  26. /**
  27. * 商户用户的无线设备的终端信息
  28. **/
  29. private $imei;
  30. /**
  31. * 商户用户的ip信息
  32. **/
  33. private $ip;
  34. /**
  35. * 基站LAC
  36. **/
  37. private $lacId;
  38. /**
  39. * 免登业务来源
  40. **/
  41. private $loginFrom;
  42. /**
  43. * 设备mac信息
  44. **/
  45. private $mac;
  46. /**
  47. * 这里输入的是微博与淘宝建立绑定的Id号或者是微博账号
  48. **/
  49. private $partnerUserId;
  50. /**
  51. * 设备的安全支付标识
  52. **/
  53. private $tid;
  54. /**
  55. * 商户免登Token
  56. **/
  57. private $token;
  58. /**
  59. * 设备umid信息
  60. **/
  61. private $umid;
  62. /**
  63. * wifi上的mac地址
  64. **/
  65. private $wirelessMac;
  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 setApdId($apdId)
  75. {
  76. $this->apdId = $apdId;
  77. $this->apiParas["apd_id"] = $apdId;
  78. }
  79. public function getApdId()
  80. {
  81. return $this->apdId;
  82. }
  83. public function setCellId($cellId)
  84. {
  85. $this->cellId = $cellId;
  86. $this->apiParas["cell_id"] = $cellId;
  87. }
  88. public function getCellId()
  89. {
  90. return $this->cellId;
  91. }
  92. public function setDeviceInfoToken($deviceInfoToken)
  93. {
  94. $this->deviceInfoToken = $deviceInfoToken;
  95. $this->apiParas["device_info_token"] = $deviceInfoToken;
  96. }
  97. public function getDeviceInfoToken()
  98. {
  99. return $this->deviceInfoToken;
  100. }
  101. public function setExparam($exparam)
  102. {
  103. $this->exparam = $exparam;
  104. $this->apiParas["exparam"] = $exparam;
  105. }
  106. public function getExparam()
  107. {
  108. return $this->exparam;
  109. }
  110. public function setImei($imei)
  111. {
  112. $this->imei = $imei;
  113. $this->apiParas["imei"] = $imei;
  114. }
  115. public function getImei()
  116. {
  117. return $this->imei;
  118. }
  119. public function setIp($ip)
  120. {
  121. $this->ip = $ip;
  122. $this->apiParas["ip"] = $ip;
  123. }
  124. public function getIp()
  125. {
  126. return $this->ip;
  127. }
  128. public function setLacId($lacId)
  129. {
  130. $this->lacId = $lacId;
  131. $this->apiParas["lac_id"] = $lacId;
  132. }
  133. public function getLacId()
  134. {
  135. return $this->lacId;
  136. }
  137. public function setLoginFrom($loginFrom)
  138. {
  139. $this->loginFrom = $loginFrom;
  140. $this->apiParas["login_from"] = $loginFrom;
  141. }
  142. public function getLoginFrom()
  143. {
  144. return $this->loginFrom;
  145. }
  146. public function setMac($mac)
  147. {
  148. $this->mac = $mac;
  149. $this->apiParas["mac"] = $mac;
  150. }
  151. public function getMac()
  152. {
  153. return $this->mac;
  154. }
  155. public function setPartnerUserId($partnerUserId)
  156. {
  157. $this->partnerUserId = $partnerUserId;
  158. $this->apiParas["partner_user_id"] = $partnerUserId;
  159. }
  160. public function getPartnerUserId()
  161. {
  162. return $this->partnerUserId;
  163. }
  164. public function setTid($tid)
  165. {
  166. $this->tid = $tid;
  167. $this->apiParas["tid"] = $tid;
  168. }
  169. public function getTid()
  170. {
  171. return $this->tid;
  172. }
  173. public function setToken($token)
  174. {
  175. $this->token = $token;
  176. $this->apiParas["token"] = $token;
  177. }
  178. public function getToken()
  179. {
  180. return $this->token;
  181. }
  182. public function setUmid($umid)
  183. {
  184. $this->umid = $umid;
  185. $this->apiParas["umid"] = $umid;
  186. }
  187. public function getUmid()
  188. {
  189. return $this->umid;
  190. }
  191. public function setWirelessMac($wirelessMac)
  192. {
  193. $this->wirelessMac = $wirelessMac;
  194. $this->apiParas["wireless_mac"] = $wirelessMac;
  195. }
  196. public function getWirelessMac()
  197. {
  198. return $this->wirelessMac;
  199. }
  200. public function getApiMethodName()
  201. {
  202. return "alipay.weibo.puc.charge";
  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. }