activityCode; } public function setActivityCode($activityCode) { $this->activityCode = $activityCode; $this->apiParams["activityCode"] = $activityCode; } public function getActivityName() { return $this->activityName; } public function setActivityName($activityName) { $this->activityName = $activityName; $this->apiParams["activityName"] = $activityName; } 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 getActivityProductList() { return $this->activityProductList; } public function setActivityProductList($activityProductList) { $this->activityProductList = $activityProductList; $arr = array(); foreach ($activityProductList as $temp){ array_push($arr,$temp->getApiParams()); } $this->apiParams["activityProductList"] = $arr; } public function getApiMethodName(){ return 'suning.custom.ordercoupon.modify'; } public function getApiParams(){ return $this->apiParams; } public function check(){ //非空校验 RequestCheckUtil::checkNotNull($this->activityCode, 'activityCode'); } public function getBizName(){ return "modifyOrderCoupon"; } } class ActivityProductList { private $apiParams = array(); private $productCode; private $operateType; public function getProductCode() { return $this->productCode; } public function setProductCode($productCode) { $this->productCode = $productCode; $this->apiParams["productCode"] = $productCode; } public function getOperateType() { return $this->operateType; } public function setOperateType($operateType) { $this->operateType = $operateType; $this->apiParams["operateType"] = $operateType; } public function getApiParams(){ return $this->apiParams; } } ?>