source: vendor/google/apiclient-services/src/AndroidPublisher/RegionalSubscriptionOfferPhaseConfig.php@ f9c482b

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

Upload new project files

  • Property mode set to 100644
File size: 2.4 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 RegionalSubscriptionOfferPhaseConfig extends \Google\Model
21{
22 protected $absoluteDiscountType = Money::class;
23 protected $absoluteDiscountDataType = '';
24 protected $freeType = RegionalSubscriptionOfferPhaseFreePriceOverride::class;
25 protected $freeDataType = '';
26 protected $priceType = Money::class;
27 protected $priceDataType = '';
28 /**
29 * @var string
30 */
31 public $regionCode;
32 public $relativeDiscount;
33
34 /**
35 * @param Money
36 */
37 public function setAbsoluteDiscount(Money $absoluteDiscount)
38 {
39 $this->absoluteDiscount = $absoluteDiscount;
40 }
41 /**
42 * @return Money
43 */
44 public function getAbsoluteDiscount()
45 {
46 return $this->absoluteDiscount;
47 }
48 /**
49 * @param RegionalSubscriptionOfferPhaseFreePriceOverride
50 */
51 public function setFree(RegionalSubscriptionOfferPhaseFreePriceOverride $free)
52 {
53 $this->free = $free;
54 }
55 /**
56 * @return RegionalSubscriptionOfferPhaseFreePriceOverride
57 */
58 public function getFree()
59 {
60 return $this->free;
61 }
62 /**
63 * @param Money
64 */
65 public function setPrice(Money $price)
66 {
67 $this->price = $price;
68 }
69 /**
70 * @return Money
71 */
72 public function getPrice()
73 {
74 return $this->price;
75 }
76 /**
77 * @param string
78 */
79 public function setRegionCode($regionCode)
80 {
81 $this->regionCode = $regionCode;
82 }
83 /**
84 * @return string
85 */
86 public function getRegionCode()
87 {
88 return $this->regionCode;
89 }
90 public function setRelativeDiscount($relativeDiscount)
91 {
92 $this->relativeDiscount = $relativeDiscount;
93 }
94 public function getRelativeDiscount()
95 {
96 return $this->relativeDiscount;
97 }
98}
99
100// Adding a class alias for backwards compatibility with the previous class name.
101class_alias(RegionalSubscriptionOfferPhaseConfig::class, 'Google_Service_AndroidPublisher_RegionalSubscriptionOfferPhaseConfig');
Note: See TracBrowser for help on using the repository browser.