source: vendor/google/apiclient-services/src/Cloudchannel/GoogleCloudChannelV1RepricingConfig.php@ e3d4e0a

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

Upload project files

  • Property mode set to 100644
File size: 3.8 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\Cloudchannel;
19
20class GoogleCloudChannelV1RepricingConfig extends \Google\Collection
21{
22 protected $collection_key = 'conditionalOverrides';
23 protected $adjustmentType = GoogleCloudChannelV1RepricingAdjustment::class;
24 protected $adjustmentDataType = '';
25 protected $channelPartnerGranularityType = GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity::class;
26 protected $channelPartnerGranularityDataType = '';
27 protected $conditionalOverridesType = GoogleCloudChannelV1ConditionalOverride::class;
28 protected $conditionalOverridesDataType = 'array';
29 protected $effectiveInvoiceMonthType = GoogleTypeDate::class;
30 protected $effectiveInvoiceMonthDataType = '';
31 protected $entitlementGranularityType = GoogleCloudChannelV1RepricingConfigEntitlementGranularity::class;
32 protected $entitlementGranularityDataType = '';
33 /**
34 * @var string
35 */
36 public $rebillingBasis;
37
38 /**
39 * @param GoogleCloudChannelV1RepricingAdjustment
40 */
41 public function setAdjustment(GoogleCloudChannelV1RepricingAdjustment $adjustment)
42 {
43 $this->adjustment = $adjustment;
44 }
45 /**
46 * @return GoogleCloudChannelV1RepricingAdjustment
47 */
48 public function getAdjustment()
49 {
50 return $this->adjustment;
51 }
52 /**
53 * @param GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity
54 */
55 public function setChannelPartnerGranularity(GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity $channelPartnerGranularity)
56 {
57 $this->channelPartnerGranularity = $channelPartnerGranularity;
58 }
59 /**
60 * @return GoogleCloudChannelV1RepricingConfigChannelPartnerGranularity
61 */
62 public function getChannelPartnerGranularity()
63 {
64 return $this->channelPartnerGranularity;
65 }
66 /**
67 * @param GoogleCloudChannelV1ConditionalOverride[]
68 */
69 public function setConditionalOverrides($conditionalOverrides)
70 {
71 $this->conditionalOverrides = $conditionalOverrides;
72 }
73 /**
74 * @return GoogleCloudChannelV1ConditionalOverride[]
75 */
76 public function getConditionalOverrides()
77 {
78 return $this->conditionalOverrides;
79 }
80 /**
81 * @param GoogleTypeDate
82 */
83 public function setEffectiveInvoiceMonth(GoogleTypeDate $effectiveInvoiceMonth)
84 {
85 $this->effectiveInvoiceMonth = $effectiveInvoiceMonth;
86 }
87 /**
88 * @return GoogleTypeDate
89 */
90 public function getEffectiveInvoiceMonth()
91 {
92 return $this->effectiveInvoiceMonth;
93 }
94 /**
95 * @param GoogleCloudChannelV1RepricingConfigEntitlementGranularity
96 */
97 public function setEntitlementGranularity(GoogleCloudChannelV1RepricingConfigEntitlementGranularity $entitlementGranularity)
98 {
99 $this->entitlementGranularity = $entitlementGranularity;
100 }
101 /**
102 * @return GoogleCloudChannelV1RepricingConfigEntitlementGranularity
103 */
104 public function getEntitlementGranularity()
105 {
106 return $this->entitlementGranularity;
107 }
108 /**
109 * @param string
110 */
111 public function setRebillingBasis($rebillingBasis)
112 {
113 $this->rebillingBasis = $rebillingBasis;
114 }
115 /**
116 * @return string
117 */
118 public function getRebillingBasis()
119 {
120 return $this->rebillingBasis;
121 }
122}
123
124// Adding a class alias for backwards compatibility with the previous class name.
125class_alias(GoogleCloudChannelV1RepricingConfig::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1RepricingConfig');
Note: See TracBrowser for help on using the repository browser.