name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * @param PlanEntitlement[] */ public function setPlanEntitlements($planEntitlements) { $this->planEntitlements = $planEntitlements; } /** * @return PlanEntitlement[] */ public function getPlanEntitlements() { return $this->planEntitlements; } /** * @param string */ public function setPlanId($planId) { $this->planId = $planId; } /** * @return string */ public function getPlanId() { return $this->planId; } /** * @param string */ public function setPlanType($planType) { $this->planType = $planType; } /** * @return string */ public function getPlanType() { return $this->planType; } /** * @param string */ public function setPublicationId($publicationId) { $this->publicationId = $publicationId; } /** * @return string */ public function getPublicationId() { return $this->publicationId; } /** * @param PurchaseInfo */ public function setPurchaseInfo(\Google\Site_Kit_Dependencies\Google\Service\SubscribewithGoogle\PurchaseInfo $purchaseInfo) { $this->purchaseInfo = $purchaseInfo; } /** * @return PurchaseInfo */ public function getPurchaseInfo() { return $this->purchaseInfo; } /** * @param string */ public function setReaderId($readerId) { $this->readerId = $readerId; } /** * @return string */ public function getReaderId() { return $this->readerId; } /** * @param RecurringPlanDetails */ public function setRecurringPlanDetails(\Google\Site_Kit_Dependencies\Google\Service\SubscribewithGoogle\RecurringPlanDetails $recurringPlanDetails) { $this->recurringPlanDetails = $recurringPlanDetails; } /** * @return RecurringPlanDetails */ public function getRecurringPlanDetails() { return $this->recurringPlanDetails; } /** * @param string */ public function setUserId($userId) { $this->userId = $userId; } /** * @return string */ public function getUserId() { return $this->userId; } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\SubscribewithGoogle\UserEntitlementsPlan::class, 'Google\\Site_Kit_Dependencies\\Google_Service_SubscribewithGoogle_UserEntitlementsPlan');