addParam('contractId', $this->contractId); $paramSwitcher->addParam('bizId',$this->bizId); $paramSwitcher->addParam('tenantName',$this->tenantName); $paramSwitcher->addParam('pageType',$this->pageType); $paramSwitcher->addParam('callbackPage', $this->callbackPage); $paramSwitcher->addParam('allowedSend', $this->allowedSend); $paramSwitcher->addParam('hideReturnButton', $this->hideReturnButton); $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 getAllowedSend() { return $this->allowedSend; } /** * @param mixed $allowedSend */ public function setAllowedSend($allowedSend) { $this->allowedSend = $allowedSend; } /** * @return mixed */ public function getCallbackPage() { return $this->callbackPage; } /** * @param mixed $callbackPage */ public function setCallbackPage($callbackPage) { $this->callbackPage = $callbackPage; } /** * @return mixed */ public function getTenantName() { return $this->tenantName; } /** * @param mixed $tenantName */ public function setTenantName($tenantName) { $this->tenantName = $tenantName; } /** * @return mixed */ public function getPageType() { return $this->pageType; } /** * @param mixed $pageType */ public function setPageType($pageType) { $this->pageType = $pageType; } /** * @return mixed */ public function getHideReturnButton() { return $this->hideReturnButton; } /** * @param mixed $hideReturnButton */ public function setHideReturnButton($hideReturnButton) { $this->hideReturnButton = $hideReturnButton; } }