AlipaySamsungPucChargeRequest.php 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  1. <?php
  2. /**
  3. * ALIPAY API: alipay.samsung.puc.charge request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2019-03-08 15:29:11
  7. */
  8. class AlipaySamsungPucChargeRequest
  9. {
  10. /**
  11. * 设备唯一值
  12. **/
  13. private $apdId;
  14. /**
  15. * 手机位置信息
  16. **/
  17. private $cellId;
  18. /**
  19. * 商户用户的设备信息
  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. * 设备的安全支付标识
  48. **/
  49. private $tid;
  50. /**
  51. * 设备umid信息
  52. **/
  53. private $umid;
  54. /**
  55. * wifi上的mac地址
  56. **/
  57. private $wirelessMac;
  58. private $apiParas = array();
  59. private $terminalType;
  60. private $terminalInfo;
  61. private $prodCode;
  62. private $apiVersion="1.0";
  63. private $notifyUrl;
  64. private $returnUrl;
  65. private $needEncrypt=false;
  66. public function setApdId($apdId)
  67. {
  68. $this->apdId = $apdId;
  69. $this->apiParas["apd_id"] = $apdId;
  70. }
  71. public function getApdId()
  72. {
  73. return $this->apdId;
  74. }
  75. public function setCellId($cellId)
  76. {
  77. $this->cellId = $cellId;
  78. $this->apiParas["cell_id"] = $cellId;
  79. }
  80. public function getCellId()
  81. {
  82. return $this->cellId;
  83. }
  84. public function setDeviceInfoToken($deviceInfoToken)
  85. {
  86. $this->deviceInfoToken = $deviceInfoToken;
  87. $this->apiParas["device_info_token"] = $deviceInfoToken;
  88. }
  89. public function getDeviceInfoToken()
  90. {
  91. return $this->deviceInfoToken;
  92. }
  93. public function setExparam($exparam)
  94. {
  95. $this->exparam = $exparam;
  96. $this->apiParas["exparam"] = $exparam;
  97. }
  98. public function getExparam()
  99. {
  100. return $this->exparam;
  101. }
  102. public function setImei($imei)
  103. {
  104. $this->imei = $imei;
  105. $this->apiParas["imei"] = $imei;
  106. }
  107. public function getImei()
  108. {
  109. return $this->imei;
  110. }
  111. public function setIp($ip)
  112. {
  113. $this->ip = $ip;
  114. $this->apiParas["ip"] = $ip;
  115. }
  116. public function getIp()
  117. {
  118. return $this->ip;
  119. }
  120. public function setLacId($lacId)
  121. {
  122. $this->lacId = $lacId;
  123. $this->apiParas["lac_id"] = $lacId;
  124. }
  125. public function getLacId()
  126. {
  127. return $this->lacId;
  128. }
  129. public function setLoginFrom($loginFrom)
  130. {
  131. $this->loginFrom = $loginFrom;
  132. $this->apiParas["login_from"] = $loginFrom;
  133. }
  134. public function getLoginFrom()
  135. {
  136. return $this->loginFrom;
  137. }
  138. public function setMac($mac)
  139. {
  140. $this->mac = $mac;
  141. $this->apiParas["mac"] = $mac;
  142. }
  143. public function getMac()
  144. {
  145. return $this->mac;
  146. }
  147. public function setTid($tid)
  148. {
  149. $this->tid = $tid;
  150. $this->apiParas["tid"] = $tid;
  151. }
  152. public function getTid()
  153. {
  154. return $this->tid;
  155. }
  156. public function setUmid($umid)
  157. {
  158. $this->umid = $umid;
  159. $this->apiParas["umid"] = $umid;
  160. }
  161. public function getUmid()
  162. {
  163. return $this->umid;
  164. }
  165. public function setWirelessMac($wirelessMac)
  166. {
  167. $this->wirelessMac = $wirelessMac;
  168. $this->apiParas["wireless_mac"] = $wirelessMac;
  169. }
  170. public function getWirelessMac()
  171. {
  172. return $this->wirelessMac;
  173. }
  174. public function getApiMethodName()
  175. {
  176. return "alipay.samsung.puc.charge";
  177. }
  178. public function setNotifyUrl($notifyUrl)
  179. {
  180. $this->notifyUrl=$notifyUrl;
  181. }
  182. public function getNotifyUrl()
  183. {
  184. return $this->notifyUrl;
  185. }
  186. public function setReturnUrl($returnUrl)
  187. {
  188. $this->returnUrl=$returnUrl;
  189. }
  190. public function getReturnUrl()
  191. {
  192. return $this->returnUrl;
  193. }
  194. public function getApiParas()
  195. {
  196. return $this->apiParas;
  197. }
  198. public function getTerminalType()
  199. {
  200. return $this->terminalType;
  201. }
  202. public function setTerminalType($terminalType)
  203. {
  204. $this->terminalType = $terminalType;
  205. }
  206. public function getTerminalInfo()
  207. {
  208. return $this->terminalInfo;
  209. }
  210. public function setTerminalInfo($terminalInfo)
  211. {
  212. $this->terminalInfo = $terminalInfo;
  213. }
  214. public function getProdCode()
  215. {
  216. return $this->prodCode;
  217. }
  218. public function setProdCode($prodCode)
  219. {
  220. $this->prodCode = $prodCode;
  221. }
  222. public function setApiVersion($apiVersion)
  223. {
  224. $this->apiVersion=$apiVersion;
  225. }
  226. public function getApiVersion()
  227. {
  228. return $this->apiVersion;
  229. }
  230. public function setNeedEncrypt($needEncrypt)
  231. {
  232. $this->needEncrypt=$needEncrypt;
  233. }
  234. public function getNeedEncrypt()
  235. {
  236. return $this->needEncrypt;
  237. }
  238. }