[e3d4e0a] | 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\ShoppingContent;
|
---|
| 19 |
|
---|
| 20 | class LiaCountrySettings extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | protected $aboutType = LiaAboutPageSettings::class;
|
---|
| 23 | protected $aboutDataType = '';
|
---|
| 24 | /**
|
---|
| 25 | * @var string
|
---|
| 26 | */
|
---|
| 27 | public $country;
|
---|
| 28 | /**
|
---|
| 29 | * @var bool
|
---|
| 30 | */
|
---|
| 31 | public $hostedLocalStorefrontActive;
|
---|
| 32 | protected $inventoryType = LiaInventorySettings::class;
|
---|
| 33 | protected $inventoryDataType = '';
|
---|
| 34 | protected $omnichannelExperienceType = LiaOmnichannelExperience::class;
|
---|
| 35 | protected $omnichannelExperienceDataType = '';
|
---|
| 36 | protected $onDisplayToOrderType = LiaOnDisplayToOrderSettings::class;
|
---|
| 37 | protected $onDisplayToOrderDataType = '';
|
---|
| 38 | protected $posDataProviderType = LiaPosDataProvider::class;
|
---|
| 39 | protected $posDataProviderDataType = '';
|
---|
| 40 | /**
|
---|
| 41 | * @var bool
|
---|
| 42 | */
|
---|
| 43 | public $storePickupActive;
|
---|
| 44 |
|
---|
| 45 | /**
|
---|
| 46 | * @param LiaAboutPageSettings
|
---|
| 47 | */
|
---|
| 48 | public function setAbout(LiaAboutPageSettings $about)
|
---|
| 49 | {
|
---|
| 50 | $this->about = $about;
|
---|
| 51 | }
|
---|
| 52 | /**
|
---|
| 53 | * @return LiaAboutPageSettings
|
---|
| 54 | */
|
---|
| 55 | public function getAbout()
|
---|
| 56 | {
|
---|
| 57 | return $this->about;
|
---|
| 58 | }
|
---|
| 59 | /**
|
---|
| 60 | * @param string
|
---|
| 61 | */
|
---|
| 62 | public function setCountry($country)
|
---|
| 63 | {
|
---|
| 64 | $this->country = $country;
|
---|
| 65 | }
|
---|
| 66 | /**
|
---|
| 67 | * @return string
|
---|
| 68 | */
|
---|
| 69 | public function getCountry()
|
---|
| 70 | {
|
---|
| 71 | return $this->country;
|
---|
| 72 | }
|
---|
| 73 | /**
|
---|
| 74 | * @param bool
|
---|
| 75 | */
|
---|
| 76 | public function setHostedLocalStorefrontActive($hostedLocalStorefrontActive)
|
---|
| 77 | {
|
---|
| 78 | $this->hostedLocalStorefrontActive = $hostedLocalStorefrontActive;
|
---|
| 79 | }
|
---|
| 80 | /**
|
---|
| 81 | * @return bool
|
---|
| 82 | */
|
---|
| 83 | public function getHostedLocalStorefrontActive()
|
---|
| 84 | {
|
---|
| 85 | return $this->hostedLocalStorefrontActive;
|
---|
| 86 | }
|
---|
| 87 | /**
|
---|
| 88 | * @param LiaInventorySettings
|
---|
| 89 | */
|
---|
| 90 | public function setInventory(LiaInventorySettings $inventory)
|
---|
| 91 | {
|
---|
| 92 | $this->inventory = $inventory;
|
---|
| 93 | }
|
---|
| 94 | /**
|
---|
| 95 | * @return LiaInventorySettings
|
---|
| 96 | */
|
---|
| 97 | public function getInventory()
|
---|
| 98 | {
|
---|
| 99 | return $this->inventory;
|
---|
| 100 | }
|
---|
| 101 | /**
|
---|
| 102 | * @param LiaOmnichannelExperience
|
---|
| 103 | */
|
---|
| 104 | public function setOmnichannelExperience(LiaOmnichannelExperience $omnichannelExperience)
|
---|
| 105 | {
|
---|
| 106 | $this->omnichannelExperience = $omnichannelExperience;
|
---|
| 107 | }
|
---|
| 108 | /**
|
---|
| 109 | * @return LiaOmnichannelExperience
|
---|
| 110 | */
|
---|
| 111 | public function getOmnichannelExperience()
|
---|
| 112 | {
|
---|
| 113 | return $this->omnichannelExperience;
|
---|
| 114 | }
|
---|
| 115 | /**
|
---|
| 116 | * @param LiaOnDisplayToOrderSettings
|
---|
| 117 | */
|
---|
| 118 | public function setOnDisplayToOrder(LiaOnDisplayToOrderSettings $onDisplayToOrder)
|
---|
| 119 | {
|
---|
| 120 | $this->onDisplayToOrder = $onDisplayToOrder;
|
---|
| 121 | }
|
---|
| 122 | /**
|
---|
| 123 | * @return LiaOnDisplayToOrderSettings
|
---|
| 124 | */
|
---|
| 125 | public function getOnDisplayToOrder()
|
---|
| 126 | {
|
---|
| 127 | return $this->onDisplayToOrder;
|
---|
| 128 | }
|
---|
| 129 | /**
|
---|
| 130 | * @param LiaPosDataProvider
|
---|
| 131 | */
|
---|
| 132 | public function setPosDataProvider(LiaPosDataProvider $posDataProvider)
|
---|
| 133 | {
|
---|
| 134 | $this->posDataProvider = $posDataProvider;
|
---|
| 135 | }
|
---|
| 136 | /**
|
---|
| 137 | * @return LiaPosDataProvider
|
---|
| 138 | */
|
---|
| 139 | public function getPosDataProvider()
|
---|
| 140 | {
|
---|
| 141 | return $this->posDataProvider;
|
---|
| 142 | }
|
---|
| 143 | /**
|
---|
| 144 | * @param bool
|
---|
| 145 | */
|
---|
| 146 | public function setStorePickupActive($storePickupActive)
|
---|
| 147 | {
|
---|
| 148 | $this->storePickupActive = $storePickupActive;
|
---|
| 149 | }
|
---|
| 150 | /**
|
---|
| 151 | * @return bool
|
---|
| 152 | */
|
---|
| 153 | public function getStorePickupActive()
|
---|
| 154 | {
|
---|
| 155 | return $this->storePickupActive;
|
---|
| 156 | }
|
---|
| 157 | }
|
---|
| 158 |
|
---|
| 159 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 160 | class_alias(LiaCountrySettings::class, 'Google_Service_ShoppingContent_LiaCountrySettings');
|
---|