activityCode; } public function setActivityCode($activityCode) { $this->activityCode = $activityCode; $this->apiParams["activityCode"] = $activityCode; } 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 getBaseAmount() { return $this->baseAmount; } public function setBaseAmount($baseAmount) { $this->baseAmount = $baseAmount; $this->apiParams["baseAmount"] = $baseAmount; } public function getRewardAmount() { return $this->rewardAmount; } public function setRewardAmount($rewardAmount) { $this->rewardAmount = $rewardAmount; $this->apiParams["rewardAmount"] = $rewardAmount; } public function getIsLimit() { return $this->isLimit; } public function setIsLimit($isLimit) { $this->isLimit = $isLimit; $this->apiParams["isLimit"] = $isLimit; } public function getPeopleActivityTimesLimit() { return $this->peopleActivityTimesLimit; } public function setPeopleActivityTimesLimit($peopleActivityTimesLimit) { $this->peopleActivityTimesLimit = $peopleActivityTimesLimit; $this->apiParams["peopleActivityTimesLimit"] = $peopleActivityTimesLimit; } public function getPeopleDayTimesLimit() { return $this->peopleDayTimesLimit; } public function setPeopleDayTimesLimit($peopleDayTimesLimit) { $this->peopleDayTimesLimit = $peopleDayTimesLimit; $this->apiParams["peopleDayTimesLimit"] = $peopleDayTimesLimit; } 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.custom.xnactivity.modify'; } public function getApiParams(){ return $this->apiParams; } public function check(){ //非空校验 RequestCheckUtil::checkNotNull($this->activityCode, 'activityCode'); } public function getBizName(){ return "modifyXNActivity"; } } class ProductList { private $apiParams = array(); private $productCode; private $operateFlag; public function getProductCode() { return $this->productCode; } public function setProductCode($productCode) { $this->productCode = $productCode; $this->apiParams["productCode"] = $productCode; } public function getOperateFlag() { return $this->operateFlag; } public function setOperateFlag($operateFlag) { $this->operateFlag = $operateFlag; $this->apiParams["operateFlag"] = $operateFlag; } public function getApiParams(){ return $this->apiParams; } } ?>