effectiveDate; } public function setEffectiveDate($effectiveDate) { $this->effectiveDate = $effectiveDate; $this->apiParams["effectiveDate"] = $effectiveDate; } public function getInfoList() { return $this->infoList; } public function setInfoList($infoList) { $this->infoList = $infoList; $arr = array(); foreach ($infoList as $temp){ array_push($arr,$temp->getApiParams()); } $this->apiParams["infoList"] = $arr; } public function getPdfFile() { return $this->pdfFile; } public function setPdfFile($pdfFile) { $this->pdfFile = $pdfFile; $this->apiParams["pdfFile"] = $pdfFile; } public function getPriceFileName() { return $this->priceFileName; } public function setPriceFileName($priceFileName) { $this->priceFileName = $priceFileName; $this->apiParams["priceFileName"] = $priceFileName; } public function getSignDate() { return $this->signDate; } public function setSignDate($signDate) { $this->signDate = $signDate; $this->apiParams["signDate"] = $signDate; } public function getSupplierCode() { return $this->supplierCode; } public function setSupplierCode($supplierCode) { $this->supplierCode = $supplierCode; $this->apiParams["supplierCode"] = $supplierCode; } public function getApiMethodName(){ return 'suning.selfmarket.protoprice.add'; } public function getApiParams(){ return $this->apiParams; } public function check(){ //非空校验 } public function getBizName(){ return "addProtoprice"; } } class InfoList { private $apiParams = array(); private $comment; private $productCode; private $serialNumber; private $storeCode; private $supplyPrice; public function getComment() { return $this->comment; } public function setComment($comment) { $this->comment = $comment; $this->apiParams["comment"] = $comment; } public function getProductCode() { return $this->productCode; } public function setProductCode($productCode) { $this->productCode = $productCode; $this->apiParams["productCode"] = $productCode; } public function getSerialNumber() { return $this->serialNumber; } public function setSerialNumber($serialNumber) { $this->serialNumber = $serialNumber; $this->apiParams["serialNumber"] = $serialNumber; } public function getStoreCode() { return $this->storeCode; } public function setStoreCode($storeCode) { $this->storeCode = $storeCode; $this->apiParams["storeCode"] = $storeCode; } public function getSupplyPrice() { return $this->supplyPrice; } public function setSupplyPrice($supplyPrice) { $this->supplyPrice = $supplyPrice; $this->apiParams["supplyPrice"] = $supplyPrice; } public function getApiParams(){ return $this->apiParams; } } ?>