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 |
|
---|
18 | namespace Google\Service\Books;
|
---|
19 |
|
---|
20 | class UsersettingsNotification extends \Google\Model
|
---|
21 | {
|
---|
22 | protected $matchMyInterestsType = UsersettingsNotificationMatchMyInterests::class;
|
---|
23 | protected $matchMyInterestsDataType = '';
|
---|
24 | protected $moreFromAuthorsType = UsersettingsNotificationMoreFromAuthors::class;
|
---|
25 | protected $moreFromAuthorsDataType = '';
|
---|
26 | protected $moreFromSeriesType = UsersettingsNotificationMoreFromSeries::class;
|
---|
27 | protected $moreFromSeriesDataType = '';
|
---|
28 | protected $priceDropType = UsersettingsNotificationPriceDrop::class;
|
---|
29 | protected $priceDropDataType = '';
|
---|
30 | protected $rewardExpirationsType = UsersettingsNotificationRewardExpirations::class;
|
---|
31 | protected $rewardExpirationsDataType = '';
|
---|
32 |
|
---|
33 | /**
|
---|
34 | * @param UsersettingsNotificationMatchMyInterests
|
---|
35 | */
|
---|
36 | public function setMatchMyInterests(UsersettingsNotificationMatchMyInterests $matchMyInterests)
|
---|
37 | {
|
---|
38 | $this->matchMyInterests = $matchMyInterests;
|
---|
39 | }
|
---|
40 | /**
|
---|
41 | * @return UsersettingsNotificationMatchMyInterests
|
---|
42 | */
|
---|
43 | public function getMatchMyInterests()
|
---|
44 | {
|
---|
45 | return $this->matchMyInterests;
|
---|
46 | }
|
---|
47 | /**
|
---|
48 | * @param UsersettingsNotificationMoreFromAuthors
|
---|
49 | */
|
---|
50 | public function setMoreFromAuthors(UsersettingsNotificationMoreFromAuthors $moreFromAuthors)
|
---|
51 | {
|
---|
52 | $this->moreFromAuthors = $moreFromAuthors;
|
---|
53 | }
|
---|
54 | /**
|
---|
55 | * @return UsersettingsNotificationMoreFromAuthors
|
---|
56 | */
|
---|
57 | public function getMoreFromAuthors()
|
---|
58 | {
|
---|
59 | return $this->moreFromAuthors;
|
---|
60 | }
|
---|
61 | /**
|
---|
62 | * @param UsersettingsNotificationMoreFromSeries
|
---|
63 | */
|
---|
64 | public function setMoreFromSeries(UsersettingsNotificationMoreFromSeries $moreFromSeries)
|
---|
65 | {
|
---|
66 | $this->moreFromSeries = $moreFromSeries;
|
---|
67 | }
|
---|
68 | /**
|
---|
69 | * @return UsersettingsNotificationMoreFromSeries
|
---|
70 | */
|
---|
71 | public function getMoreFromSeries()
|
---|
72 | {
|
---|
73 | return $this->moreFromSeries;
|
---|
74 | }
|
---|
75 | /**
|
---|
76 | * @param UsersettingsNotificationPriceDrop
|
---|
77 | */
|
---|
78 | public function setPriceDrop(UsersettingsNotificationPriceDrop $priceDrop)
|
---|
79 | {
|
---|
80 | $this->priceDrop = $priceDrop;
|
---|
81 | }
|
---|
82 | /**
|
---|
83 | * @return UsersettingsNotificationPriceDrop
|
---|
84 | */
|
---|
85 | public function getPriceDrop()
|
---|
86 | {
|
---|
87 | return $this->priceDrop;
|
---|
88 | }
|
---|
89 | /**
|
---|
90 | * @param UsersettingsNotificationRewardExpirations
|
---|
91 | */
|
---|
92 | public function setRewardExpirations(UsersettingsNotificationRewardExpirations $rewardExpirations)
|
---|
93 | {
|
---|
94 | $this->rewardExpirations = $rewardExpirations;
|
---|
95 | }
|
---|
96 | /**
|
---|
97 | * @return UsersettingsNotificationRewardExpirations
|
---|
98 | */
|
---|
99 | public function getRewardExpirations()
|
---|
100 | {
|
---|
101 | return $this->rewardExpirations;
|
---|
102 | }
|
---|
103 | }
|
---|
104 |
|
---|
105 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
106 | class_alias(UsersettingsNotification::class, 'Google_Service_Books_UsersettingsNotification');
|
---|