source: vendor/google/apiclient-services/src/AndroidPublisher/SubscriptionPurchaseLineItem.php@ f9c482b

Last change on this file since f9c482b was f9c482b, checked in by Vlado 222039 <vlado.popovski@…>, 13 days ago

Upload new project files

  • Property mode set to 100644
File size: 3.3 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\AndroidPublisher;
19
20class SubscriptionPurchaseLineItem extends \Google\Model
21{
22 protected $autoRenewingPlanType = AutoRenewingPlan::class;
23 protected $autoRenewingPlanDataType = '';
24 protected $deferredItemReplacementType = DeferredItemReplacement::class;
25 protected $deferredItemReplacementDataType = '';
26 /**
27 * @var string
28 */
29 public $expiryTime;
30 protected $offerDetailsType = OfferDetails::class;
31 protected $offerDetailsDataType = '';
32 protected $prepaidPlanType = PrepaidPlan::class;
33 protected $prepaidPlanDataType = '';
34 /**
35 * @var string
36 */
37 public $productId;
38 protected $signupPromotionType = SignupPromotion::class;
39 protected $signupPromotionDataType = '';
40
41 /**
42 * @param AutoRenewingPlan
43 */
44 public function setAutoRenewingPlan(AutoRenewingPlan $autoRenewingPlan)
45 {
46 $this->autoRenewingPlan = $autoRenewingPlan;
47 }
48 /**
49 * @return AutoRenewingPlan
50 */
51 public function getAutoRenewingPlan()
52 {
53 return $this->autoRenewingPlan;
54 }
55 /**
56 * @param DeferredItemReplacement
57 */
58 public function setDeferredItemReplacement(DeferredItemReplacement $deferredItemReplacement)
59 {
60 $this->deferredItemReplacement = $deferredItemReplacement;
61 }
62 /**
63 * @return DeferredItemReplacement
64 */
65 public function getDeferredItemReplacement()
66 {
67 return $this->deferredItemReplacement;
68 }
69 /**
70 * @param string
71 */
72 public function setExpiryTime($expiryTime)
73 {
74 $this->expiryTime = $expiryTime;
75 }
76 /**
77 * @return string
78 */
79 public function getExpiryTime()
80 {
81 return $this->expiryTime;
82 }
83 /**
84 * @param OfferDetails
85 */
86 public function setOfferDetails(OfferDetails $offerDetails)
87 {
88 $this->offerDetails = $offerDetails;
89 }
90 /**
91 * @return OfferDetails
92 */
93 public function getOfferDetails()
94 {
95 return $this->offerDetails;
96 }
97 /**
98 * @param PrepaidPlan
99 */
100 public function setPrepaidPlan(PrepaidPlan $prepaidPlan)
101 {
102 $this->prepaidPlan = $prepaidPlan;
103 }
104 /**
105 * @return PrepaidPlan
106 */
107 public function getPrepaidPlan()
108 {
109 return $this->prepaidPlan;
110 }
111 /**
112 * @param string
113 */
114 public function setProductId($productId)
115 {
116 $this->productId = $productId;
117 }
118 /**
119 * @return string
120 */
121 public function getProductId()
122 {
123 return $this->productId;
124 }
125 /**
126 * @param SignupPromotion
127 */
128 public function setSignupPromotion(SignupPromotion $signupPromotion)
129 {
130 $this->signupPromotion = $signupPromotion;
131 }
132 /**
133 * @return SignupPromotion
134 */
135 public function getSignupPromotion()
136 {
137 return $this->signupPromotion;
138 }
139}
140
141// Adding a class alias for backwards compatibility with the previous class name.
142class_alias(SubscriptionPurchaseLineItem::class, 'Google_Service_AndroidPublisher_SubscriptionPurchaseLineItem');
Note: See TracBrowser for help on using the repository browser.