addParam('contractId', $this->contractId); $paramSwitcher->addParam('bizId', $this->bizId); $paramSwitcher->addParam('tenantName', $this->tenantName); $paramSwitcher->addParam('title', $this->title); $paramSwitcher->addParam('templateId', $this->templateId); $paramSwitcher->addParam('templateParams', $this->templateParams); $paramSwitcher->addParam('documentSort', $this->documentSort); $httpParameter = HttpParameter::httpPostParamer(); $httpParameter->setJsonParams(json_encode($paramSwitcher->getParams())); return $httpParameter; } /** * @return mixed */ public function getContractId() { return $this->contractId; } /** * @param mixed $contractId */ public function setContractId($contractId) { $this->contractId = $contractId; } /** * @return mixed */ public function getBizId() { return $this->bizId; } /** * @param mixed $bizId */ public function setBizId($bizId) { $this->bizId = $bizId; } /** * @return mixed */ public function getTitle() { return $this->title; } /** * @param mixed $title */ public function setTitle($title) { $this->title = $title; } /** * @return mixed */ public function getTemplateId() { return $this->templateId; } /** * @param mixed $templateId */ public function setTemplateId($templateId) { $this->templateId = $templateId; } /** * @return mixed */ public function getTemplateParams() { return $this->templateParams; } /** * @param mixed $templateParams */ public function setTemplateParams($templateParams) { $this->templateParams = $templateParams; } /** * @return mixed */ public function getTenantName() { return $this->tenantName; } /** * @param mixed $tenantName */ public function setTenantName($tenantName) { $this->tenantName = $tenantName; } /** * @return mixed */ public function getDocumentSort() { return $this->documentSort; } /** * @param mixed $documentSort */ public function setDocumentSort($documentSort) { $this->documentSort = $documentSort; } }