codeType = $codeType; $this->apiParas["code_type"] = $codeType; } public function getCodeType() { return $this->codeType; } public function setRelationApp($relationApp) { $this->relationApp = $relationApp; $this->apiParas["relation_app"] = $relationApp; } public function getRelationApp() { return $this->relationApp; } public function setRelationId($relationId) { $this->relationId = $relationId; $this->apiParas["relation_id"] = $relationId; } public function getRelationId() { return $this->relationId; } public function getApiMethodName() { return "taobao.tbk.sc.invitecode.get"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->codeType,"codeType"); RequestCheckUtil::checkNotNull($this->relationApp,"relationApp"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }