123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294 |
- <?php
- /**
- * ALIPAY API: alipay.samsung.puc.charge request
- *
- * @author auto create
- * @since 1.0, 2019-03-08 15:29:11
- */
- class AlipaySamsungPucChargeRequest
- {
- /**
- * 设备唯一值
- **/
- private $apdId;
-
- /**
- * 手机位置信息
- **/
- private $cellId;
-
- /**
- * 商户用户的设备信息
- **/
- private $deviceInfoToken;
-
- /**
- * 商户输入的扩展信息
- **/
- private $exparam;
-
- /**
- * 商户用户的无线设备的终端信息
- **/
- private $imei;
-
- /**
- * 客户端IP
- **/
- private $ip;
-
- /**
- * 基站LAC
- **/
- private $lacId;
-
- /**
- * 免登业务来源
- **/
- private $loginFrom;
-
- /**
- * 设备mac信息
- **/
- private $mac;
-
- /**
- * 设备的安全支付标识
- **/
- private $tid;
-
- /**
- * 设备umid信息
- **/
- private $umid;
-
- /**
- * wifi上的mac地址
- **/
- private $wirelessMac;
- private $apiParas = array();
- private $terminalType;
- private $terminalInfo;
- private $prodCode;
- private $apiVersion="1.0";
- private $notifyUrl;
- private $returnUrl;
- private $needEncrypt=false;
-
- public function setApdId($apdId)
- {
- $this->apdId = $apdId;
- $this->apiParas["apd_id"] = $apdId;
- }
- public function getApdId()
- {
- return $this->apdId;
- }
- public function setCellId($cellId)
- {
- $this->cellId = $cellId;
- $this->apiParas["cell_id"] = $cellId;
- }
- public function getCellId()
- {
- return $this->cellId;
- }
- public function setDeviceInfoToken($deviceInfoToken)
- {
- $this->deviceInfoToken = $deviceInfoToken;
- $this->apiParas["device_info_token"] = $deviceInfoToken;
- }
- public function getDeviceInfoToken()
- {
- return $this->deviceInfoToken;
- }
- public function setExparam($exparam)
- {
- $this->exparam = $exparam;
- $this->apiParas["exparam"] = $exparam;
- }
- public function getExparam()
- {
- return $this->exparam;
- }
- public function setImei($imei)
- {
- $this->imei = $imei;
- $this->apiParas["imei"] = $imei;
- }
- public function getImei()
- {
- return $this->imei;
- }
- public function setIp($ip)
- {
- $this->ip = $ip;
- $this->apiParas["ip"] = $ip;
- }
- public function getIp()
- {
- return $this->ip;
- }
- public function setLacId($lacId)
- {
- $this->lacId = $lacId;
- $this->apiParas["lac_id"] = $lacId;
- }
- public function getLacId()
- {
- return $this->lacId;
- }
- public function setLoginFrom($loginFrom)
- {
- $this->loginFrom = $loginFrom;
- $this->apiParas["login_from"] = $loginFrom;
- }
- public function getLoginFrom()
- {
- return $this->loginFrom;
- }
- public function setMac($mac)
- {
- $this->mac = $mac;
- $this->apiParas["mac"] = $mac;
- }
- public function getMac()
- {
- return $this->mac;
- }
- public function setTid($tid)
- {
- $this->tid = $tid;
- $this->apiParas["tid"] = $tid;
- }
- public function getTid()
- {
- return $this->tid;
- }
- public function setUmid($umid)
- {
- $this->umid = $umid;
- $this->apiParas["umid"] = $umid;
- }
- public function getUmid()
- {
- return $this->umid;
- }
- public function setWirelessMac($wirelessMac)
- {
- $this->wirelessMac = $wirelessMac;
- $this->apiParas["wireless_mac"] = $wirelessMac;
- }
- public function getWirelessMac()
- {
- return $this->wirelessMac;
- }
- public function getApiMethodName()
- {
- return "alipay.samsung.puc.charge";
- }
- public function setNotifyUrl($notifyUrl)
- {
- $this->notifyUrl=$notifyUrl;
- }
- public function getNotifyUrl()
- {
- return $this->notifyUrl;
- }
- public function setReturnUrl($returnUrl)
- {
- $this->returnUrl=$returnUrl;
- }
- public function getReturnUrl()
- {
- return $this->returnUrl;
- }
- public function getApiParas()
- {
- return $this->apiParas;
- }
- public function getTerminalType()
- {
- return $this->terminalType;
- }
- public function setTerminalType($terminalType)
- {
- $this->terminalType = $terminalType;
- }
- public function getTerminalInfo()
- {
- return $this->terminalInfo;
- }
- public function setTerminalInfo($terminalInfo)
- {
- $this->terminalInfo = $terminalInfo;
- }
- public function getProdCode()
- {
- return $this->prodCode;
- }
- public function setProdCode($prodCode)
- {
- $this->prodCode = $prodCode;
- }
- public function setApiVersion($apiVersion)
- {
- $this->apiVersion=$apiVersion;
- }
- public function getApiVersion()
- {
- return $this->apiVersion;
- }
- public function setNeedEncrypt($needEncrypt)
- {
- $this->needEncrypt=$needEncrypt;
- }
- public function getNeedEncrypt()
- {
- return $this->needEncrypt;
- }
- }
|