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; } }