setUserParam($params, "parent_spec_id", $this->parentSpecId); $this->setUserParam($params, "spec_name", $this->specName); } public function getVersion() { return "V1"; } public function getDataType() { return "JSON"; } public function getType() { return "pdd.goods.spec.id.get"; } public function setParentSpecId($parentSpecId) { $this->parentSpecId = $parentSpecId; } public function setSpecName($specName) { $this->specName = $specName; } }