appId; } public function setAppId($appId) { $this->appId = $appId; $this->apiParams["appId"] = $appId; } public function getMerchantCustNo() { return $this->merchantCustNo; } public function setMerchantCustNo($merchantCustNo) { $this->merchantCustNo = $merchantCustNo; $this->apiParams["merchantCustNo"] = $merchantCustNo; } public function getStoreCode() { return $this->storeCode; } public function setStoreCode($storeCode) { $this->storeCode = $storeCode; $this->apiParams["storeCode"] = $storeCode; } public function getStartTime() { return $this->startTime; } public function setStartTime($startTime) { $this->startTime = $startTime; $this->apiParams["startTime"] = $startTime; } public function getEndTime() { return $this->endTime; } public function setEndTime($endTime) { $this->endTime = $endTime; $this->apiParams["endTime"] = $endTime; } public function getApiMethodName(){ return 'suning.retailer.storeinventory.query'; } public function getApiParams(){ return $this->apiParams; } public function check(){ //非空校验 RequestCheckUtil::checkNotNull($this->appId, 'appId'); RequestCheckUtil::checkNotNull($this->merchantCustNo, 'merchantCustNo'); RequestCheckUtil::checkNotNull($this->storeCode, 'storeCode'); RequestCheckUtil::checkNotNull($this->startTime, 'startTime'); RequestCheckUtil::checkNotNull($this->endTime, 'endTime'); } public function getBizName(){ return "queryStoreinventory"; } } ?>