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
18class Google_Service_ShoppingContent_RegionalInventory extends Google_Collection
19{
20  protected $collection_key = 'customAttributes';
21  public $availability;
22  protected $customAttributesType = 'Google_Service_ShoppingContent_CustomAttribute';
23  protected $customAttributesDataType = 'array';
24  public $kind;
25  protected $priceType = 'Google_Service_ShoppingContent_Price';
26  protected $priceDataType = '';
27  public $regionId;
28  protected $salePriceType = 'Google_Service_ShoppingContent_Price';
29  protected $salePriceDataType = '';
30  public $salePriceEffectiveDate;
31
32  public function setAvailability($availability)
33  {
34    $this->availability = $availability;
35  }
36  public function getAvailability()
37  {
38    return $this->availability;
39  }
40  /**
41   * @param Google_Service_ShoppingContent_CustomAttribute[]
42   */
43  public function setCustomAttributes($customAttributes)
44  {
45    $this->customAttributes = $customAttributes;
46  }
47  /**
48   * @return Google_Service_ShoppingContent_CustomAttribute[]
49   */
50  public function getCustomAttributes()
51  {
52    return $this->customAttributes;
53  }
54  public function setKind($kind)
55  {
56    $this->kind = $kind;
57  }
58  public function getKind()
59  {
60    return $this->kind;
61  }
62  /**
63   * @param Google_Service_ShoppingContent_Price
64   */
65  public function setPrice(Google_Service_ShoppingContent_Price $price)
66  {
67    $this->price = $price;
68  }
69  /**
70   * @return Google_Service_ShoppingContent_Price
71   */
72  public function getPrice()
73  {
74    return $this->price;
75  }
76  public function setRegionId($regionId)
77  {
78    $this->regionId = $regionId;
79  }
80  public function getRegionId()
81  {
82    return $this->regionId;
83  }
84  /**
85   * @param Google_Service_ShoppingContent_Price
86   */
87  public function setSalePrice(Google_Service_ShoppingContent_Price $salePrice)
88  {
89    $this->salePrice = $salePrice;
90  }
91  /**
92   * @return Google_Service_ShoppingContent_Price
93   */
94  public function getSalePrice()
95  {
96    return $this->salePrice;
97  }
98  public function setSalePriceEffectiveDate($salePriceEffectiveDate)
99  {
100    $this->salePriceEffectiveDate = $salePriceEffectiveDate;
101  }
102  public function getSalePriceEffectiveDate()
103  {
104    return $this->salePriceEffectiveDate;
105  }
106}
107