activityDesc; } public function setActivityDesc($activityDesc) { $this->activityDesc = $activityDesc; $this->apiParams["activityDesc"] = $activityDesc; } public function getActivityTitle() { return $this->activityTitle; } public function setActivityTitle($activityTitle) { $this->activityTitle = $activityTitle; $this->apiParams["activityTitle"] = $activityTitle; } public function getDetailList() { return $this->detailList; } public function setDetailList($detailList) { $this->detailList = $detailList; $arr = array(); foreach ($detailList as $temp){ array_push($arr,$temp->getApiParams()); } $this->apiParams["detailList"] = $arr; } public function getSupplierApplyCode() { return $this->supplierApplyCode; } public function setSupplierApplyCode($supplierApplyCode) { $this->supplierApplyCode = $supplierApplyCode; $this->apiParams["supplierApplyCode"] = $supplierApplyCode; } public function getSupplierCode() { return $this->supplierCode; } public function setSupplierCode($supplierCode) { $this->supplierCode = $supplierCode; $this->apiParams["supplierCode"] = $supplierCode; } public function getApiMethodName(){ return 'suning.custom.lsyrebate.create'; } public function getApiParams(){ return $this->apiParams; } public function check(){ //非空校验 RequestCheckUtil::checkNotNull($this->activityTitle, 'activityTitle'); RequestCheckUtil::checkNotNull($this->supplierApplyCode, 'supplierApplyCode'); RequestCheckUtil::checkNotNull($this->supplierCode, 'supplierCode'); } public function getBizName(){ return "createLsyrebate"; } } class DetailList { private $apiParams = array(); private $rebateAmount; private $shopCode; public function getRebateAmount() { return $this->rebateAmount; } public function setRebateAmount($rebateAmount) { $this->rebateAmount = $rebateAmount; $this->apiParams["rebateAmount"] = $rebateAmount; } public function getShopCode() { return $this->shopCode; } public function setShopCode($shopCode) { $this->shopCode = $shopCode; $this->apiParams["shopCode"] = $shopCode; } public function getApiParams(){ return $this->apiParams; } } ?>