archived = $archived; } /** * @return bool */ public function getArchived() { return $this->archived; } /** * @param BasePlan[] */ public function setBasePlans($basePlans) { $this->basePlans = $basePlans; } /** * @return BasePlan[] */ public function getBasePlans() { return $this->basePlans; } /** * @param SubscriptionListing[] */ public function setListings($listings) { $this->listings = $listings; } /** * @return SubscriptionListing[] */ public function getListings() { return $this->listings; } /** * @param string */ public function setPackageName($packageName) { $this->packageName = $packageName; } /** * @return string */ public function getPackageName() { return $this->packageName; } /** * @param string */ public function setProductId($productId) { $this->productId = $productId; } /** * @return string */ public function getProductId() { return $this->productId; } /** * @param RestrictedPaymentCountries */ public function setRestrictedPaymentCountries(RestrictedPaymentCountries $restrictedPaymentCountries) { $this->restrictedPaymentCountries = $restrictedPaymentCountries; } /** * @return RestrictedPaymentCountries */ public function getRestrictedPaymentCountries() { return $this->restrictedPaymentCountries; } /** * @param SubscriptionTaxAndComplianceSettings */ public function setTaxAndComplianceSettings(SubscriptionTaxAndComplianceSettings $taxAndComplianceSettings) { $this->taxAndComplianceSettings = $taxAndComplianceSettings; } /** * @return SubscriptionTaxAndComplianceSettings */ public function getTaxAndComplianceSettings() { return $this->taxAndComplianceSettings; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Subscription::class, 'Google_Service_AndroidPublisher_Subscription');