firstPeriod = $firstPeriod; } /** * @return int */ public function getFirstPeriod() { return $this->firstPeriod; } /** * Defines first period for the phase. * * @param int $lastPeriod */ public function setLastPeriod($lastPeriod) { $this->lastPeriod = $lastPeriod; } /** * @return int */ public function getLastPeriod() { return $this->lastPeriod; } /** * Defines the phase period type. * * Accepted values: PERIOD_TYPE_UNSPECIFIED, DAY, MONTH, YEAR * * @param self::PERIOD_TYPE_* $periodType */ public function setPeriodType($periodType) { $this->periodType = $periodType; } /** * @return self::PERIOD_TYPE_* */ public function getPeriodType() { return $this->periodType; } /** * Price of the phase. Present if there are no price tiers. * * @param GoogleCloudChannelV1Price $price */ public function setPrice(GoogleCloudChannelV1Price $price) { $this->price = $price; } /** * @return GoogleCloudChannelV1Price */ public function getPrice() { return $this->price; } /** * Price by the resource tiers. * * @param GoogleCloudChannelV1PriceTier[] $priceTiers */ public function setPriceTiers($priceTiers) { $this->priceTiers = $priceTiers; } /** * @return GoogleCloudChannelV1PriceTier[] */ public function getPriceTiers() { return $this->priceTiers; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudChannelV1PricePhase::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1PricePhase');