capCostOption = $capCostOption; } /** * @return self::CAP_COST_OPTION_* */ public function getCapCostOption() { return $this->capCostOption; } /** * @param string $endDate */ public function setEndDate($endDate) { $this->endDate = $endDate; } /** * @return string */ public function getEndDate() { return $this->endDate; } /** * Whether this placement is flighted. If true, pricing periods will be * computed automatically. * * @param bool $flighted */ public function setFlighted($flighted) { $this->flighted = $flighted; } /** * @return bool */ public function getFlighted() { return $this->flighted; } /** * Floodlight activity ID associated with this placement. This field should be * set when placement pricing type is set to PRICING_TYPE_CPA. * * @param string $floodlightActivityId */ public function setFloodlightActivityId($floodlightActivityId) { $this->floodlightActivityId = $floodlightActivityId; } /** * @return string */ public function getFloodlightActivityId() { return $this->floodlightActivityId; } /** * Pricing periods for this placement. * * @param PricingSchedulePricingPeriod[] $pricingPeriods */ public function setPricingPeriods($pricingPeriods) { $this->pricingPeriods = $pricingPeriods; } /** * @return PricingSchedulePricingPeriod[] */ public function getPricingPeriods() { return $this->pricingPeriods; } /** * Placement pricing type. This field is required on insertion. * * Accepted values: PRICING_TYPE_CPM, PRICING_TYPE_CPC, PRICING_TYPE_CPA, * PRICING_TYPE_FLAT_RATE_IMPRESSIONS, PRICING_TYPE_FLAT_RATE_CLICKS, * PRICING_TYPE_CPM_ACTIVEVIEW * * @param self::PRICING_TYPE_* $pricingType */ public function setPricingType($pricingType) { $this->pricingType = $pricingType; } /** * @return self::PRICING_TYPE_* */ public function getPricingType() { return $this->pricingType; } /** * @param string $startDate */ public function setStartDate($startDate) { $this->startDate = $startDate; } /** * @return string */ public function getStartDate() { return $this->startDate; } /** * @param string $testingStartDate */ public function setTestingStartDate($testingStartDate) { $this->testingStartDate = $testingStartDate; } /** * @return string */ public function getTestingStartDate() { return $this->testingStartDate; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(PricingSchedule::class, 'Google_Service_Dfareporting_PricingSchedule');