source: vendor/google/apiclient-services/src/AndroidPublisher/BasePlan.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 3.9 KB
Line 
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\AndroidPublisher;
19
20class BasePlan extends \Google\Collection
21{
22 protected $collection_key = 'regionalConfigs';
23 protected $autoRenewingBasePlanTypeType = AutoRenewingBasePlanType::class;
24 protected $autoRenewingBasePlanTypeDataType = '';
25 /**
26 * @var string
27 */
28 public $basePlanId;
29 protected $installmentsBasePlanTypeType = InstallmentsBasePlanType::class;
30 protected $installmentsBasePlanTypeDataType = '';
31 protected $offerTagsType = OfferTag::class;
32 protected $offerTagsDataType = 'array';
33 protected $otherRegionsConfigType = OtherRegionsBasePlanConfig::class;
34 protected $otherRegionsConfigDataType = '';
35 protected $prepaidBasePlanTypeType = PrepaidBasePlanType::class;
36 protected $prepaidBasePlanTypeDataType = '';
37 protected $regionalConfigsType = RegionalBasePlanConfig::class;
38 protected $regionalConfigsDataType = 'array';
39 /**
40 * @var string
41 */
42 public $state;
43
44 /**
45 * @param AutoRenewingBasePlanType
46 */
47 public function setAutoRenewingBasePlanType(AutoRenewingBasePlanType $autoRenewingBasePlanType)
48 {
49 $this->autoRenewingBasePlanType = $autoRenewingBasePlanType;
50 }
51 /**
52 * @return AutoRenewingBasePlanType
53 */
54 public function getAutoRenewingBasePlanType()
55 {
56 return $this->autoRenewingBasePlanType;
57 }
58 /**
59 * @param string
60 */
61 public function setBasePlanId($basePlanId)
62 {
63 $this->basePlanId = $basePlanId;
64 }
65 /**
66 * @return string
67 */
68 public function getBasePlanId()
69 {
70 return $this->basePlanId;
71 }
72 /**
73 * @param InstallmentsBasePlanType
74 */
75 public function setInstallmentsBasePlanType(InstallmentsBasePlanType $installmentsBasePlanType)
76 {
77 $this->installmentsBasePlanType = $installmentsBasePlanType;
78 }
79 /**
80 * @return InstallmentsBasePlanType
81 */
82 public function getInstallmentsBasePlanType()
83 {
84 return $this->installmentsBasePlanType;
85 }
86 /**
87 * @param OfferTag[]
88 */
89 public function setOfferTags($offerTags)
90 {
91 $this->offerTags = $offerTags;
92 }
93 /**
94 * @return OfferTag[]
95 */
96 public function getOfferTags()
97 {
98 return $this->offerTags;
99 }
100 /**
101 * @param OtherRegionsBasePlanConfig
102 */
103 public function setOtherRegionsConfig(OtherRegionsBasePlanConfig $otherRegionsConfig)
104 {
105 $this->otherRegionsConfig = $otherRegionsConfig;
106 }
107 /**
108 * @return OtherRegionsBasePlanConfig
109 */
110 public function getOtherRegionsConfig()
111 {
112 return $this->otherRegionsConfig;
113 }
114 /**
115 * @param PrepaidBasePlanType
116 */
117 public function setPrepaidBasePlanType(PrepaidBasePlanType $prepaidBasePlanType)
118 {
119 $this->prepaidBasePlanType = $prepaidBasePlanType;
120 }
121 /**
122 * @return PrepaidBasePlanType
123 */
124 public function getPrepaidBasePlanType()
125 {
126 return $this->prepaidBasePlanType;
127 }
128 /**
129 * @param RegionalBasePlanConfig[]
130 */
131 public function setRegionalConfigs($regionalConfigs)
132 {
133 $this->regionalConfigs = $regionalConfigs;
134 }
135 /**
136 * @return RegionalBasePlanConfig[]
137 */
138 public function getRegionalConfigs()
139 {
140 return $this->regionalConfigs;
141 }
142 /**
143 * @param string
144 */
145 public function setState($state)
146 {
147 $this->state = $state;
148 }
149 /**
150 * @return string
151 */
152 public function getState()
153 {
154 return $this->state;
155 }
156}
157
158// Adding a class alias for backwards compatibility with the previous class name.
159class_alias(BasePlan::class, 'Google_Service_AndroidPublisher_BasePlan');
Note: See TracBrowser for help on using the repository browser.