invCode; } public function getInvProvinces() { return $this -> invProvinces; } public function getInvCitys() { return $this -> invCitys; } public function setInvCode($invCode) { $this -> invCode = $invCode; $this->apiParams["invCode"] = $invCode; } public function setInvProvinces($invProvinces) { $this -> invProvinces = $invProvinces; $this->apiParams["invProvinces"] = $invProvinces->getApiParams(); } public function setInvCitys($invCitys) { $this -> invCitys = $invCitys; $this->apiParams["invCitys"] = $invCitys->getApiParams(); } public function getApiMethodName() { return 'suning.custom.parallelinvarea.set'; } public function getApiParams() { return $this->apiParams; } public function check() { RequestCheckUtil::checkNotNull($this -> invCode, 'invCode'); } public function getBizName(){ return "parallelInvarea"; } } class InvProvinces { private $apiParams = array(); private $invProvince; public function getInvProvince() { return $this -> invProvince; } public function setInvProvince($invProvince) { $this -> invProvince = $invProvince; $arr = array(); foreach ($invProvince as $temp){ array_push($arr,$temp->getApiParams()); } $this->apiParams["invProvince"] = $arr; } public function getApiParams() { return $this->apiParams; } } class InvCitys { private $apiParams = array(); private $invCity; public function getInvCity() { return $this -> invCity; } public function setInvCity($invCity) { $this -> invCity = $invCity; $arr = array(); foreach ($invCity as $temp){ array_push($arr,$temp->getApiParams()); } $this->apiParams["invCity"] = $arr; } public function getApiParams() { return $this->apiParams; } } class InvProvince{ private $apiParams = array(); private $invProvinceCode; /** * @return the $invProvinceCode */ public function getInvProvinceCode() { return $this->invProvinceCode; } /** * @param field_type $invProvinceCode */ public function setInvProvinceCode($invProvinceCode) { $this->invProvinceCode = $invProvinceCode; $this->apiParams["invProvinceCode"] = $invProvinceCode; } public function getApiParams() { return $this->apiParams; } } class InvCity{ private $apiParams = array(); private $invCityCode; /** * @return the $invCityCode */ public function getInvCityCode() { return $this->invCityCode; } /** * @param field_type $invCityCode */ public function setInvCityCode($invCityCode) { $this->invCityCode = $invCityCode; $this->apiParams["invCityCode"] = $invCityCode; } public function getApiParams() { return $this->apiParams; } } ?>