storeCode; } public function setStoreCode($storeCode) { $this->storeCode = $storeCode; $this->apiParams["storeCode"] = $storeCode; } public function getAppStoreCode() { return $this->appStoreCode; } public function setAppStoreCode($appStoreCode) { $this->appStoreCode = $appStoreCode; $this->apiParams["appStoreCode"] = $appStoreCode; } public function getOperType() { return $this->operType; } public function setOperType($operType) { $this->operType = $operType; $this->apiParams["operType"] = $operType; } public function getProductList() { return $this->productList; } public function setProductList($productList) { $this->productList = $productList; $arr = array(); foreach ($productList as $temp){ array_push($arr,$temp->getApiParams()); } $this->apiParams["productList"] = $arr; } public function getApiMethodName(){ return 'suning.store.product.delete'; } public function getApiParams(){ return $this->apiParams; } public function check(){ //非空校验 RequestCheckUtil::checkNotNull($this->operType, 'operType'); } public function getBizName(){ return "deleteProduct"; } } class ProductList { private $apiParams = array(); private $productCode; public function getProductCode() { return $this->productCode; } public function setProductCode($productCode) { $this->productCode = $productCode; $this->apiParams["productCode"] = $productCode; } public function getApiParams(){ return $this->apiParams; } } ?>