accessInfo = $accessInfo; } /** * @return VolumeAccessInfo */ public function getAccessInfo() { return $this->accessInfo; } /** * Opaque identifier for a specific version of a volume resource. (In LITE * projection) * * @param string $etag */ public function setEtag($etag) { $this->etag = $etag; } /** * @return string */ public function getEtag() { return $this->etag; } /** * Unique identifier for a volume. (In LITE projection.) * * @param string $id */ public function setId($id) { $this->id = $id; } /** * @return string */ public function getId() { return $this->id; } /** * Resource type for a volume. (In LITE projection.) * * @param string $kind */ public function setKind($kind) { $this->kind = $kind; } /** * @return string */ public function getKind() { return $this->kind; } /** * What layers exist in this volume and high level information about them. * * @param VolumeLayerInfo $layerInfo */ public function setLayerInfo(VolumeLayerInfo $layerInfo) { $this->layerInfo = $layerInfo; } /** * @return VolumeLayerInfo */ public function getLayerInfo() { return $this->layerInfo; } /** * Recommendation related information for this volume. * * @param VolumeRecommendedInfo $recommendedInfo */ public function setRecommendedInfo(VolumeRecommendedInfo $recommendedInfo) { $this->recommendedInfo = $recommendedInfo; } /** * @return VolumeRecommendedInfo */ public function getRecommendedInfo() { return $this->recommendedInfo; } /** * Any information about a volume related to the eBookstore and/or * purchaseability. This information can depend on the country where the * request originates from (i.e. books may not be for sale in certain * countries). * * @param VolumeSaleInfo $saleInfo */ public function setSaleInfo(VolumeSaleInfo $saleInfo) { $this->saleInfo = $saleInfo; } /** * @return VolumeSaleInfo */ public function getSaleInfo() { return $this->saleInfo; } /** * Search result information related to this volume. * * @param VolumeSearchInfo $searchInfo */ public function setSearchInfo(VolumeSearchInfo $searchInfo) { $this->searchInfo = $searchInfo; } /** * @return VolumeSearchInfo */ public function getSearchInfo() { return $this->searchInfo; } /** * URL to this resource. (In LITE projection.) * * @param string $selfLink */ public function setSelfLink($selfLink) { $this->selfLink = $selfLink; } /** * @return string */ public function getSelfLink() { return $this->selfLink; } /** * User specific information related to this volume. (e.g. page this user last * read or whether they purchased this book) * * @param VolumeUserInfo $userInfo */ public function setUserInfo(VolumeUserInfo $userInfo) { $this->userInfo = $userInfo; } /** * @return VolumeUserInfo */ public function getUserInfo() { return $this->userInfo; } /** * General volume information. * * @param VolumeVolumeInfo $volumeInfo */ public function setVolumeInfo(VolumeVolumeInfo $volumeInfo) { $this->volumeInfo = $volumeInfo; } /** * @return VolumeVolumeInfo */ public function getVolumeInfo() { return $this->volumeInfo; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Volume::class, 'Google_Service_Books_Volume');