source: vendor/google/apiclient-services/src/ShoppingContent/InputValue.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.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\ShoppingContent;
19
20class InputValue extends \Google\Model
21{
22 protected $checkboxInputValueType = InputValueCheckboxInputValue::class;
23 protected $checkboxInputValueDataType = '';
24 protected $choiceInputValueType = InputValueChoiceInputValue::class;
25 protected $choiceInputValueDataType = '';
26 /**
27 * @var string
28 */
29 public $inputFieldId;
30 protected $textInputValueType = InputValueTextInputValue::class;
31 protected $textInputValueDataType = '';
32
33 /**
34 * @param InputValueCheckboxInputValue
35 */
36 public function setCheckboxInputValue(InputValueCheckboxInputValue $checkboxInputValue)
37 {
38 $this->checkboxInputValue = $checkboxInputValue;
39 }
40 /**
41 * @return InputValueCheckboxInputValue
42 */
43 public function getCheckboxInputValue()
44 {
45 return $this->checkboxInputValue;
46 }
47 /**
48 * @param InputValueChoiceInputValue
49 */
50 public function setChoiceInputValue(InputValueChoiceInputValue $choiceInputValue)
51 {
52 $this->choiceInputValue = $choiceInputValue;
53 }
54 /**
55 * @return InputValueChoiceInputValue
56 */
57 public function getChoiceInputValue()
58 {
59 return $this->choiceInputValue;
60 }
61 /**
62 * @param string
63 */
64 public function setInputFieldId($inputFieldId)
65 {
66 $this->inputFieldId = $inputFieldId;
67 }
68 /**
69 * @return string
70 */
71 public function getInputFieldId()
72 {
73 return $this->inputFieldId;
74 }
75 /**
76 * @param InputValueTextInputValue
77 */
78 public function setTextInputValue(InputValueTextInputValue $textInputValue)
79 {
80 $this->textInputValue = $textInputValue;
81 }
82 /**
83 * @return InputValueTextInputValue
84 */
85 public function getTextInputValue()
86 {
87 return $this->textInputValue;
88 }
89}
90
91// Adding a class alias for backwards compatibility with the previous class name.
92class_alias(InputValue::class, 'Google_Service_ShoppingContent_InputValue');
Note: See TracBrowser for help on using the repository browser.