installState = $installState; } /** * @return self::INSTALL_STATE_* */ public function getInstallState() { return $this->installState; } /** * The ID of the product that the install is for. For example, * "app:com.google.android.gm". * * @param string $productId */ public function setProductId($productId) { $this->productId = $productId; } /** * @return string */ public function getProductId() { return $this->productId; } /** * The version of the installed product. Guaranteed to be set only if the * install state is "installed". * * @param int $versionCode */ public function setVersionCode($versionCode) { $this->versionCode = $versionCode; } /** * @return int */ public function getVersionCode() { return $this->versionCode; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Install::class, 'Google_Service_AndroidEnterprise_Install');