freeTrialDuration = $freeTrialDuration; } /** * @return GoogleCloudPaymentsResellerSubscriptionV1Duration */ public function getFreeTrialDuration() { return $this->freeTrialDuration; } /** * @param GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails */ public function setIntroductoryPricingDetails(GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails $introductoryPricingDetails) { $this->introductoryPricingDetails = $introductoryPricingDetails; } /** * @return GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails */ public function getIntroductoryPricingDetails() { return $this->introductoryPricingDetails; } /** * @param string */ public function setPromotion($promotion) { $this->promotion = $promotion; } /** * @return string */ public function getPromotion() { return $this->promotion; } /** * @param string */ public function setType($type) { $this->type = $type; } /** * @return string */ public function getType() { return $this->type; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec::class, 'Google_Service_PaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec');