source: vendor/google/apiclient-services/src/Walletobjects/ValueAddedModuleData.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: 2.6 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\Walletobjects;
19
20class ValueAddedModuleData extends \Google\Model
21{
22 protected $bodyType = LocalizedString::class;
23 protected $bodyDataType = '';
24 protected $headerType = LocalizedString::class;
25 protected $headerDataType = '';
26 protected $imageType = Image::class;
27 protected $imageDataType = '';
28 /**
29 * @var int
30 */
31 public $sortIndex;
32 /**
33 * @var string
34 */
35 public $uri;
36 protected $viewConstraintsType = ModuleViewConstraints::class;
37 protected $viewConstraintsDataType = '';
38
39 /**
40 * @param LocalizedString
41 */
42 public function setBody(LocalizedString $body)
43 {
44 $this->body = $body;
45 }
46 /**
47 * @return LocalizedString
48 */
49 public function getBody()
50 {
51 return $this->body;
52 }
53 /**
54 * @param LocalizedString
55 */
56 public function setHeader(LocalizedString $header)
57 {
58 $this->header = $header;
59 }
60 /**
61 * @return LocalizedString
62 */
63 public function getHeader()
64 {
65 return $this->header;
66 }
67 /**
68 * @param Image
69 */
70 public function setImage(Image $image)
71 {
72 $this->image = $image;
73 }
74 /**
75 * @return Image
76 */
77 public function getImage()
78 {
79 return $this->image;
80 }
81 /**
82 * @param int
83 */
84 public function setSortIndex($sortIndex)
85 {
86 $this->sortIndex = $sortIndex;
87 }
88 /**
89 * @return int
90 */
91 public function getSortIndex()
92 {
93 return $this->sortIndex;
94 }
95 /**
96 * @param string
97 */
98 public function setUri($uri)
99 {
100 $this->uri = $uri;
101 }
102 /**
103 * @return string
104 */
105 public function getUri()
106 {
107 return $this->uri;
108 }
109 /**
110 * @param ModuleViewConstraints
111 */
112 public function setViewConstraints(ModuleViewConstraints $viewConstraints)
113 {
114 $this->viewConstraints = $viewConstraints;
115 }
116 /**
117 * @return ModuleViewConstraints
118 */
119 public function getViewConstraints()
120 {
121 return $this->viewConstraints;
122 }
123}
124
125// Adding a class alias for backwards compatibility with the previous class name.
126class_alias(ValueAddedModuleData::class, 'Google_Service_Walletobjects_ValueAddedModuleData');
Note: See TracBrowser for help on using the repository browser.