source: vendor/google/apiclient-services/src/AndroidPublisher/ExternalTransaction.php@ e3d4e0a

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

Upload project files

  • Property mode set to 100644
File size: 5.9 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 ExternalTransaction extends \Google\Model
21{
22 /**
23 * @var string
24 */
25 public $createTime;
26 protected $currentPreTaxAmountType = Price::class;
27 protected $currentPreTaxAmountDataType = '';
28 protected $currentTaxAmountType = Price::class;
29 protected $currentTaxAmountDataType = '';
30 /**
31 * @var string
32 */
33 public $externalTransactionId;
34 protected $oneTimeTransactionType = OneTimeExternalTransaction::class;
35 protected $oneTimeTransactionDataType = '';
36 protected $originalPreTaxAmountType = Price::class;
37 protected $originalPreTaxAmountDataType = '';
38 protected $originalTaxAmountType = Price::class;
39 protected $originalTaxAmountDataType = '';
40 /**
41 * @var string
42 */
43 public $packageName;
44 protected $recurringTransactionType = RecurringExternalTransaction::class;
45 protected $recurringTransactionDataType = '';
46 protected $testPurchaseType = ExternalTransactionTestPurchase::class;
47 protected $testPurchaseDataType = '';
48 /**
49 * @var int
50 */
51 public $transactionProgramCode;
52 /**
53 * @var string
54 */
55 public $transactionState;
56 /**
57 * @var string
58 */
59 public $transactionTime;
60 protected $userTaxAddressType = ExternalTransactionAddress::class;
61 protected $userTaxAddressDataType = '';
62
63 /**
64 * @param string
65 */
66 public function setCreateTime($createTime)
67 {
68 $this->createTime = $createTime;
69 }
70 /**
71 * @return string
72 */
73 public function getCreateTime()
74 {
75 return $this->createTime;
76 }
77 /**
78 * @param Price
79 */
80 public function setCurrentPreTaxAmount(Price $currentPreTaxAmount)
81 {
82 $this->currentPreTaxAmount = $currentPreTaxAmount;
83 }
84 /**
85 * @return Price
86 */
87 public function getCurrentPreTaxAmount()
88 {
89 return $this->currentPreTaxAmount;
90 }
91 /**
92 * @param Price
93 */
94 public function setCurrentTaxAmount(Price $currentTaxAmount)
95 {
96 $this->currentTaxAmount = $currentTaxAmount;
97 }
98 /**
99 * @return Price
100 */
101 public function getCurrentTaxAmount()
102 {
103 return $this->currentTaxAmount;
104 }
105 /**
106 * @param string
107 */
108 public function setExternalTransactionId($externalTransactionId)
109 {
110 $this->externalTransactionId = $externalTransactionId;
111 }
112 /**
113 * @return string
114 */
115 public function getExternalTransactionId()
116 {
117 return $this->externalTransactionId;
118 }
119 /**
120 * @param OneTimeExternalTransaction
121 */
122 public function setOneTimeTransaction(OneTimeExternalTransaction $oneTimeTransaction)
123 {
124 $this->oneTimeTransaction = $oneTimeTransaction;
125 }
126 /**
127 * @return OneTimeExternalTransaction
128 */
129 public function getOneTimeTransaction()
130 {
131 return $this->oneTimeTransaction;
132 }
133 /**
134 * @param Price
135 */
136 public function setOriginalPreTaxAmount(Price $originalPreTaxAmount)
137 {
138 $this->originalPreTaxAmount = $originalPreTaxAmount;
139 }
140 /**
141 * @return Price
142 */
143 public function getOriginalPreTaxAmount()
144 {
145 return $this->originalPreTaxAmount;
146 }
147 /**
148 * @param Price
149 */
150 public function setOriginalTaxAmount(Price $originalTaxAmount)
151 {
152 $this->originalTaxAmount = $originalTaxAmount;
153 }
154 /**
155 * @return Price
156 */
157 public function getOriginalTaxAmount()
158 {
159 return $this->originalTaxAmount;
160 }
161 /**
162 * @param string
163 */
164 public function setPackageName($packageName)
165 {
166 $this->packageName = $packageName;
167 }
168 /**
169 * @return string
170 */
171 public function getPackageName()
172 {
173 return $this->packageName;
174 }
175 /**
176 * @param RecurringExternalTransaction
177 */
178 public function setRecurringTransaction(RecurringExternalTransaction $recurringTransaction)
179 {
180 $this->recurringTransaction = $recurringTransaction;
181 }
182 /**
183 * @return RecurringExternalTransaction
184 */
185 public function getRecurringTransaction()
186 {
187 return $this->recurringTransaction;
188 }
189 /**
190 * @param ExternalTransactionTestPurchase
191 */
192 public function setTestPurchase(ExternalTransactionTestPurchase $testPurchase)
193 {
194 $this->testPurchase = $testPurchase;
195 }
196 /**
197 * @return ExternalTransactionTestPurchase
198 */
199 public function getTestPurchase()
200 {
201 return $this->testPurchase;
202 }
203 /**
204 * @param int
205 */
206 public function setTransactionProgramCode($transactionProgramCode)
207 {
208 $this->transactionProgramCode = $transactionProgramCode;
209 }
210 /**
211 * @return int
212 */
213 public function getTransactionProgramCode()
214 {
215 return $this->transactionProgramCode;
216 }
217 /**
218 * @param string
219 */
220 public function setTransactionState($transactionState)
221 {
222 $this->transactionState = $transactionState;
223 }
224 /**
225 * @return string
226 */
227 public function getTransactionState()
228 {
229 return $this->transactionState;
230 }
231 /**
232 * @param string
233 */
234 public function setTransactionTime($transactionTime)
235 {
236 $this->transactionTime = $transactionTime;
237 }
238 /**
239 * @return string
240 */
241 public function getTransactionTime()
242 {
243 return $this->transactionTime;
244 }
245 /**
246 * @param ExternalTransactionAddress
247 */
248 public function setUserTaxAddress(ExternalTransactionAddress $userTaxAddress)
249 {
250 $this->userTaxAddress = $userTaxAddress;
251 }
252 /**
253 * @return ExternalTransactionAddress
254 */
255 public function getUserTaxAddress()
256 {
257 return $this->userTaxAddress;
258 }
259}
260
261// Adding a class alias for backwards compatibility with the previous class name.
262class_alias(ExternalTransaction::class, 'Google_Service_AndroidPublisher_ExternalTransaction');
Note: See TracBrowser for help on using the repository browser.