cmTitle = $cmTitle; $this->apiParams["cmTitle"] = $cmTitle; } public function getCmTitle() { return $this -> cmTitle; } public function setSupplierImg1Url($supplierImg1Url) { $this -> supplierImg1Url = $supplierImg1Url; $this->apiParams["supplierImg1Url"] = $supplierImg1Url; } public function getSupplierImg1Url() { return $this -> supplierImg1Url; } public function setSupplierImg2Url($supplierImg2Url) { $this -> supplierImg2Url = $supplierImg2Url; $this->apiParams["supplierImg2Url"] = $supplierImg2Url; } public function getSupplierImg2Url() { return $this -> supplierImg2Url; } public function setSupplierImg3Url($supplierImg3Url) { $this -> supplierImg3Url = $supplierImg3Url; $this->apiParams["supplierImg3Url"] = $supplierImg3Url; } public function getSupplierImg3Url() { return $this -> supplierImg3Url; } public function setSupplierImg4Url($supplierImg4Url) { $this -> supplierImg4Url = $supplierImg4Url; $this->apiParams["supplierImg4Url"] = $supplierImg4Url; } public function getSupplierImg4Url() { return $this -> supplierImg4Url; } public function setSupplierImg5Url($supplierImg5Url) { $this -> supplierImg5Url = $supplierImg5Url; $this->apiParams["supplierImg5Url"] = $supplierImg5Url; } public function getSupplierImg5Url() { return $this -> supplierImg5Url; } public function setProductCode($productCode) { $this->productCode = $productCode; $this->apiParams["productCode"] = $productCode; } public function getProductCode() { return $this->productCode; } public function setSellPoint($sellPoint) { $this->sellPoint = $sellPoint; $this->apiParams["sellPoint"] = $sellPoint; } public function getSellPoint() { return $this->sellPoint; } public function setFreightTemplateId($freightTemplateId) { $this->freightTemplateId = $freightTemplateId; $this->apiParams["freightTemplateId"] = $freightTemplateId; } public function getFreightTemplateId() { return $this->freightTemplateId; } public function setItemCode($itemCode) { $this->itemCode = $itemCode; $this->apiParams["itemCode"] = $itemCode; } public function getItemCode() { return $this->itemCode; } public function setAfterSaleServiceDec($afterSaleServiceDec) { $this->afterSaleServiceDec = $afterSaleServiceDec; $this->apiParams["afterSaleServiceDec"] = $afterSaleServiceDec; } public function getAfterSaleServiceDec() { return $this->afterSaleServiceDec; } public function setSaleSet($saleSet) { $this->saleSet = $saleSet; $this->apiParams["saleSet"] = $saleSet; } public function getSaleSet() { return $this->saleSet; } public function setSaleDate($saleDate) { $this->saleDate = $saleDate; $this->apiParams["saleDate"] = $saleDate; } public function getSaleDate() { return $this->saleDate; } public function getApiMethodName() { return 'suning.custom.book.itemcontents.modify'; } public function getApiParams() { return $this->apiParams; } public function check() { RequestCheckUtil::checkNotNull($this->productCode, 'productCode'); if (!RequestCheckUtil::checkEmpty($this->sellPoint)) { RequestCheckUtil::checkMaxLength($this->sellPoint, 40, 'sellPoint'); } if (!RequestCheckUtil::checkEmpty($this->afterSaleServiceDec)) { RequestCheckUtil::checkMaxLength($this->afterSaleServiceDec, 254, 'afterSaleServiceDec'); } if (!RequestCheckUtil::checkEmpty($this->saleSet, 'saleSet')) { RequestCheckUtil::checkValueInItemList($this->saleSet, array(0, 1, 2), 'saleSet'); } if (!RequestCheckUtil::checkEmpty($this->saleDate)) { RequestCheckUtil::checkDateValue($this->saleDate, 'saleDate'); } } public function getBizName(){ return "itemContents"; } } ?>