brandCode = $brandCode; $this->apiParams["brandCode"] = $brandCode; } public function getBrandCode() { return $this -> brandCode; } public function setCategoryCode($categoryCode) { $this -> categoryCode = $categoryCode; $this->apiParams["categoryCode"] = $categoryCode; } public function getCategoryCode() { return $this -> categoryCode; } public function getApiMethodName() { return 'suning.custom.product.query'; } public function getApiParams() { return $this->apiParams; } public function check($pageNoMin = 1, $pageNoMax = 99999, $pageSizeMin = 10, $pageSizeMax = 50) { RequestCheckUtil::checkNotNull($this -> brandCode, 'brandCode'); RequestCheckUtil::checkNotNull($this -> categoryCode, 'categoryCode'); parent::check(); } public function getBizName(){ return "product"; } } ?>