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_AndroidPublisher_InAppProduct extends Google_Model
19{
20  public $defaultLanguage;
21  protected $defaultPriceType = 'Google_Service_AndroidPublisher_Price';
22  protected $defaultPriceDataType = '';
23  public $gracePeriod;
24  protected $listingsType = 'Google_Service_AndroidPublisher_InAppProductListing';
25  protected $listingsDataType = 'map';
26  public $packageName;
27  protected $pricesType = 'Google_Service_AndroidPublisher_Price';
28  protected $pricesDataType = 'map';
29  public $purchaseType;
30  public $sku;
31  public $status;
32  public $subscriptionPeriod;
33  public $trialPeriod;
34
35  public function setDefaultLanguage($defaultLanguage)
36  {
37    $this->defaultLanguage = $defaultLanguage;
38  }
39  public function getDefaultLanguage()
40  {
41    return $this->defaultLanguage;
42  }
43  /**
44   * @param Google_Service_AndroidPublisher_Price
45   */
46  public function setDefaultPrice(Google_Service_AndroidPublisher_Price $defaultPrice)
47  {
48    $this->defaultPrice = $defaultPrice;
49  }
50  /**
51   * @return Google_Service_AndroidPublisher_Price
52   */
53  public function getDefaultPrice()
54  {
55    return $this->defaultPrice;
56  }
57  public function setGracePeriod($gracePeriod)
58  {
59    $this->gracePeriod = $gracePeriod;
60  }
61  public function getGracePeriod()
62  {
63    return $this->gracePeriod;
64  }
65  /**
66   * @param Google_Service_AndroidPublisher_InAppProductListing[]
67   */
68  public function setListings($listings)
69  {
70    $this->listings = $listings;
71  }
72  /**
73   * @return Google_Service_AndroidPublisher_InAppProductListing[]
74   */
75  public function getListings()
76  {
77    return $this->listings;
78  }
79  public function setPackageName($packageName)
80  {
81    $this->packageName = $packageName;
82  }
83  public function getPackageName()
84  {
85    return $this->packageName;
86  }
87  /**
88   * @param Google_Service_AndroidPublisher_Price[]
89   */
90  public function setPrices($prices)
91  {
92    $this->prices = $prices;
93  }
94  /**
95   * @return Google_Service_AndroidPublisher_Price[]
96   */
97  public function getPrices()
98  {
99    return $this->prices;
100  }
101  public function setPurchaseType($purchaseType)
102  {
103    $this->purchaseType = $purchaseType;
104  }
105  public function getPurchaseType()
106  {
107    return $this->purchaseType;
108  }
109  public function setSku($sku)
110  {
111    $this->sku = $sku;
112  }
113  public function getSku()
114  {
115    return $this->sku;
116  }
117  public function setStatus($status)
118  {
119    $this->status = $status;
120  }
121  public function getStatus()
122  {
123    return $this->status;
124  }
125  public function setSubscriptionPeriod($subscriptionPeriod)
126  {
127    $this->subscriptionPeriod = $subscriptionPeriod;
128  }
129  public function getSubscriptionPeriod()
130  {
131    return $this->subscriptionPeriod;
132  }
133  public function setTrialPeriod($trialPeriod)
134  {
135    $this->trialPeriod = $trialPeriod;
136  }
137  public function getTrialPeriod()
138  {
139    return $this->trialPeriod;
140  }
141}
142