1<?php 2/* 3 * Copyright 2014 Google Inc. 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not 6 * use this file except in compliance with the License. You may obtain a copy of 7 * the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 14 * License for the specific language governing permissions and limitations under 15 * the License. 16 */ 17 18namespace Google\Service\Cloudchannel; 19 20class GoogleCloudChannelV1alpha1RenewalSettings extends \Google\Model 21{ 22 /** 23 * @var bool 24 */ 25 public $disableCommitment; 26 /** 27 * @var bool 28 */ 29 public $enableRenewal; 30 protected $paymentCycleType = GoogleCloudChannelV1alpha1Period::class; 31 protected $paymentCycleDataType = ''; 32 /** 33 * @var string 34 */ 35 public $paymentOption; 36 /** 37 * @var string 38 */ 39 public $paymentPlan; 40 /** 41 * @var bool 42 */ 43 public $resizeUnitCount; 44 45 /** 46 * @param bool 47 */ 48 public function setDisableCommitment($disableCommitment) 49 { 50 $this->disableCommitment = $disableCommitment; 51 } 52 /** 53 * @return bool 54 */ 55 public function getDisableCommitment() 56 { 57 return $this->disableCommitment; 58 } 59 /** 60 * @param bool 61 */ 62 public function setEnableRenewal($enableRenewal) 63 { 64 $this->enableRenewal = $enableRenewal; 65 } 66 /** 67 * @return bool 68 */ 69 public function getEnableRenewal() 70 { 71 return $this->enableRenewal; 72 } 73 /** 74 * @param GoogleCloudChannelV1alpha1Period 75 */ 76 public function setPaymentCycle(GoogleCloudChannelV1alpha1Period $paymentCycle) 77 { 78 $this->paymentCycle = $paymentCycle; 79 } 80 /** 81 * @return GoogleCloudChannelV1alpha1Period 82 */ 83 public function getPaymentCycle() 84 { 85 return $this->paymentCycle; 86 } 87 /** 88 * @param string 89 */ 90 public function setPaymentOption($paymentOption) 91 { 92 $this->paymentOption = $paymentOption; 93 } 94 /** 95 * @return string 96 */ 97 public function getPaymentOption() 98 { 99 return $this->paymentOption; 100 } 101 /** 102 * @param string 103 */ 104 public function setPaymentPlan($paymentPlan) 105 { 106 $this->paymentPlan = $paymentPlan; 107 } 108 /** 109 * @return string 110 */ 111 public function getPaymentPlan() 112 { 113 return $this->paymentPlan; 114 } 115 /** 116 * @param bool 117 */ 118 public function setResizeUnitCount($resizeUnitCount) 119 { 120 $this->resizeUnitCount = $resizeUnitCount; 121 } 122 /** 123 * @return bool 124 */ 125 public function getResizeUnitCount() 126 { 127 return $this->resizeUnitCount; 128 } 129} 130 131// Adding a class alias for backwards compatibility with the previous class name. 132class_alias(GoogleCloudChannelV1alpha1RenewalSettings::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1alpha1RenewalSettings'); 133