channelCode; } public function setChannelCode($channelCode) { $this->channelCode = $channelCode; $this->apiParams["channelCode"] = $channelCode; } public function getCityCode() { return $this->cityCode; } public function setCityCode($cityCode) { $this->cityCode = $cityCode; $this->apiParams["cityCode"] = $cityCode; } public function getCmmdtyInfoList() { return $this->cmmdtyInfoList; } public function setCmmdtyInfoList($cmmdtyInfoList) { $this->cmmdtyInfoList = $cmmdtyInfoList; $arr = array(); foreach ($cmmdtyInfoList as $temp){ array_push($arr,$temp->getApiParams()); } $this->apiParams["cmmdtyInfoList"] = $arr; } public function getApiMethodName(){ return 'suning.sngoods.listpageprice.query'; } public function getApiParams(){ return $this->apiParams; } public function check(){ //非空校验 RequestCheckUtil::checkNotNull($this->channelCode, 'channelCode'); RequestCheckUtil::checkNotNull($this->cityCode, 'cityCode'); } public function getBizName(){ return "queryListpageprice"; } } class CmmdtyInfoList { private $apiParams = array(); private $skuId; private $supplierCode; public function getSkuId() { return $this->skuId; } public function setSkuId($skuId) { $this->skuId = $skuId; $this->apiParams["skuId"] = $skuId; } public function getSupplierCode() { return $this->supplierCode; } public function setSupplierCode($supplierCode) { $this->supplierCode = $supplierCode; $this->apiParams["supplierCode"] = $supplierCode; } public function getApiParams(){ return $this->apiParams; } } ?>