amount = $amount; } /** * @return Price */ public function getAmount() { return $this->amount; } /** * The type of subscription period. Supported values are: * "`month`" * * "`year`" * * Accepted values: SUBSCRIPTION_PERIOD_UNSPECIFIED, MONTH, YEAR * * @param self::PERIOD_* $period */ public function setPeriod($period) { $this->period = $period; } /** * @return self::PERIOD_* */ public function getPeriod() { return $this->period; } /** * The number of subscription periods the buyer has to pay. * * @param string $periodLength */ public function setPeriodLength($periodLength) { $this->periodLength = $periodLength; } /** * @return string */ public function getPeriodLength() { return $this->periodLength; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(HeadlineOfferSubscriptionCost::class, 'Google_Service_Css_HeadlineOfferSubscriptionCost');