setName($name); $private_cloud->setOverview($overview); $private_cloud->setCompany($company); if($active) $private_cloud->activate(); else $private_cloud->deactivate(); $private_cloud->setMarketplace($marketplace_type); $private_cloud->setCall2ActionUri($call_2_action_url); $private_cloud->setLiveServiceId($live_id); $private_cloud->setPublished($published); return $private_cloud; } /** * @param $id * @return ICompanyService */ public function buildCompanyServiceById($id) { $private_cloud = new PrivateCloudServiceDraft; $private_cloud->ID = $id; return $private_cloud; } }