123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337 |
- <?php
- class AlipayOpenPublicLifeMsgSendRequest
- {
-
- private $category;
-
-
- private $content;
-
-
- private $cover;
-
-
- private $desc;
-
-
- private $msgType;
-
-
- private $sourceExtInfo;
-
-
- private $title;
-
-
- private $uniqueMsgId;
-
-
- private $videoLength;
-
-
- private $videoSamples;
-
-
- private $videoSize;
-
-
- private $videoSource;
-
-
- private $videoTemporaryUrl;
-
-
- private $videoUrl;
- private $apiParas = array();
- private $terminalType;
- private $terminalInfo;
- private $prodCode;
- private $apiVersion="1.0";
- private $notifyUrl;
- private $returnUrl;
- private $needEncrypt=false;
-
- public function setCategory($category)
- {
- $this->category = $category;
- $this->apiParas["category"] = $category;
- }
- public function getCategory()
- {
- return $this->category;
- }
- public function setContent($content)
- {
- $this->content = $content;
- $this->apiParas["content"] = $content;
- }
- public function getContent()
- {
- return $this->content;
- }
- public function setCover($cover)
- {
- $this->cover = $cover;
- $this->apiParas["cover"] = $cover;
- }
- public function getCover()
- {
- return $this->cover;
- }
- public function setDesc($desc)
- {
- $this->desc = $desc;
- $this->apiParas["desc"] = $desc;
- }
- public function getDesc()
- {
- return $this->desc;
- }
- public function setMsgType($msgType)
- {
- $this->msgType = $msgType;
- $this->apiParas["msg_type"] = $msgType;
- }
- public function getMsgType()
- {
- return $this->msgType;
- }
- public function setSourceExtInfo($sourceExtInfo)
- {
- $this->sourceExtInfo = $sourceExtInfo;
- $this->apiParas["source_ext_info"] = $sourceExtInfo;
- }
- public function getSourceExtInfo()
- {
- return $this->sourceExtInfo;
- }
- public function setTitle($title)
- {
- $this->title = $title;
- $this->apiParas["title"] = $title;
- }
- public function getTitle()
- {
- return $this->title;
- }
- public function setUniqueMsgId($uniqueMsgId)
- {
- $this->uniqueMsgId = $uniqueMsgId;
- $this->apiParas["unique_msg_id"] = $uniqueMsgId;
- }
- public function getUniqueMsgId()
- {
- return $this->uniqueMsgId;
- }
- public function setVideoLength($videoLength)
- {
- $this->videoLength = $videoLength;
- $this->apiParas["video_length"] = $videoLength;
- }
- public function getVideoLength()
- {
- return $this->videoLength;
- }
- public function setVideoSamples($videoSamples)
- {
- $this->videoSamples = $videoSamples;
- $this->apiParas["video_samples"] = $videoSamples;
- }
- public function getVideoSamples()
- {
- return $this->videoSamples;
- }
- public function setVideoSize($videoSize)
- {
- $this->videoSize = $videoSize;
- $this->apiParas["video_size"] = $videoSize;
- }
- public function getVideoSize()
- {
- return $this->videoSize;
- }
- public function setVideoSource($videoSource)
- {
- $this->videoSource = $videoSource;
- $this->apiParas["video_source"] = $videoSource;
- }
- public function getVideoSource()
- {
- return $this->videoSource;
- }
- public function setVideoTemporaryUrl($videoTemporaryUrl)
- {
- $this->videoTemporaryUrl = $videoTemporaryUrl;
- $this->apiParas["video_temporary_url"] = $videoTemporaryUrl;
- }
- public function getVideoTemporaryUrl()
- {
- return $this->videoTemporaryUrl;
- }
- public function setVideoUrl($videoUrl)
- {
- $this->videoUrl = $videoUrl;
- $this->apiParas["video_url"] = $videoUrl;
- }
- public function getVideoUrl()
- {
- return $this->videoUrl;
- }
- public function getApiMethodName()
- {
- return "alipay.open.public.life.msg.send";
- }
- 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;
- }
- }
|