source: vendor/google/apiclient-services/src/RecaptchaEnterprise/GoogleCloudRecaptchaenterpriseV1TransactionData.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.6 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\RecaptchaEnterprise;
19
20class GoogleCloudRecaptchaenterpriseV1TransactionData extends \Google\Collection
21{
22 protected $collection_key = 'merchants';
23 protected $billingAddressType = GoogleCloudRecaptchaenterpriseV1TransactionDataAddress::class;
24 protected $billingAddressDataType = '';
25 /**
26 * @var string
27 */
28 public $cardBin;
29 /**
30 * @var string
31 */
32 public $cardLastFour;
33 /**
34 * @var string
35 */
36 public $currencyCode;
37 protected $gatewayInfoType = GoogleCloudRecaptchaenterpriseV1TransactionDataGatewayInfo::class;
38 protected $gatewayInfoDataType = '';
39 protected $itemsType = GoogleCloudRecaptchaenterpriseV1TransactionDataItem::class;
40 protected $itemsDataType = 'array';
41 protected $merchantsType = GoogleCloudRecaptchaenterpriseV1TransactionDataUser::class;
42 protected $merchantsDataType = 'array';
43 /**
44 * @var string
45 */
46 public $paymentMethod;
47 protected $shippingAddressType = GoogleCloudRecaptchaenterpriseV1TransactionDataAddress::class;
48 protected $shippingAddressDataType = '';
49 public $shippingValue;
50 /**
51 * @var string
52 */
53 public $transactionId;
54 protected $userType = GoogleCloudRecaptchaenterpriseV1TransactionDataUser::class;
55 protected $userDataType = '';
56 public $value;
57
58 /**
59 * @param GoogleCloudRecaptchaenterpriseV1TransactionDataAddress
60 */
61 public function setBillingAddress(GoogleCloudRecaptchaenterpriseV1TransactionDataAddress $billingAddress)
62 {
63 $this->billingAddress = $billingAddress;
64 }
65 /**
66 * @return GoogleCloudRecaptchaenterpriseV1TransactionDataAddress
67 */
68 public function getBillingAddress()
69 {
70 return $this->billingAddress;
71 }
72 /**
73 * @param string
74 */
75 public function setCardBin($cardBin)
76 {
77 $this->cardBin = $cardBin;
78 }
79 /**
80 * @return string
81 */
82 public function getCardBin()
83 {
84 return $this->cardBin;
85 }
86 /**
87 * @param string
88 */
89 public function setCardLastFour($cardLastFour)
90 {
91 $this->cardLastFour = $cardLastFour;
92 }
93 /**
94 * @return string
95 */
96 public function getCardLastFour()
97 {
98 return $this->cardLastFour;
99 }
100 /**
101 * @param string
102 */
103 public function setCurrencyCode($currencyCode)
104 {
105 $this->currencyCode = $currencyCode;
106 }
107 /**
108 * @return string
109 */
110 public function getCurrencyCode()
111 {
112 return $this->currencyCode;
113 }
114 /**
115 * @param GoogleCloudRecaptchaenterpriseV1TransactionDataGatewayInfo
116 */
117 public function setGatewayInfo(GoogleCloudRecaptchaenterpriseV1TransactionDataGatewayInfo $gatewayInfo)
118 {
119 $this->gatewayInfo = $gatewayInfo;
120 }
121 /**
122 * @return GoogleCloudRecaptchaenterpriseV1TransactionDataGatewayInfo
123 */
124 public function getGatewayInfo()
125 {
126 return $this->gatewayInfo;
127 }
128 /**
129 * @param GoogleCloudRecaptchaenterpriseV1TransactionDataItem[]
130 */
131 public function setItems($items)
132 {
133 $this->items = $items;
134 }
135 /**
136 * @return GoogleCloudRecaptchaenterpriseV1TransactionDataItem[]
137 */
138 public function getItems()
139 {
140 return $this->items;
141 }
142 /**
143 * @param GoogleCloudRecaptchaenterpriseV1TransactionDataUser[]
144 */
145 public function setMerchants($merchants)
146 {
147 $this->merchants = $merchants;
148 }
149 /**
150 * @return GoogleCloudRecaptchaenterpriseV1TransactionDataUser[]
151 */
152 public function getMerchants()
153 {
154 return $this->merchants;
155 }
156 /**
157 * @param string
158 */
159 public function setPaymentMethod($paymentMethod)
160 {
161 $this->paymentMethod = $paymentMethod;
162 }
163 /**
164 * @return string
165 */
166 public function getPaymentMethod()
167 {
168 return $this->paymentMethod;
169 }
170 /**
171 * @param GoogleCloudRecaptchaenterpriseV1TransactionDataAddress
172 */
173 public function setShippingAddress(GoogleCloudRecaptchaenterpriseV1TransactionDataAddress $shippingAddress)
174 {
175 $this->shippingAddress = $shippingAddress;
176 }
177 /**
178 * @return GoogleCloudRecaptchaenterpriseV1TransactionDataAddress
179 */
180 public function getShippingAddress()
181 {
182 return $this->shippingAddress;
183 }
184 public function setShippingValue($shippingValue)
185 {
186 $this->shippingValue = $shippingValue;
187 }
188 public function getShippingValue()
189 {
190 return $this->shippingValue;
191 }
192 /**
193 * @param string
194 */
195 public function setTransactionId($transactionId)
196 {
197 $this->transactionId = $transactionId;
198 }
199 /**
200 * @return string
201 */
202 public function getTransactionId()
203 {
204 return $this->transactionId;
205 }
206 /**
207 * @param GoogleCloudRecaptchaenterpriseV1TransactionDataUser
208 */
209 public function setUser(GoogleCloudRecaptchaenterpriseV1TransactionDataUser $user)
210 {
211 $this->user = $user;
212 }
213 /**
214 * @return GoogleCloudRecaptchaenterpriseV1TransactionDataUser
215 */
216 public function getUser()
217 {
218 return $this->user;
219 }
220 public function setValue($value)
221 {
222 $this->value = $value;
223 }
224 public function getValue()
225 {
226 return $this->value;
227 }
228}
229
230// Adding a class alias for backwards compatibility with the previous class name.
231class_alias(GoogleCloudRecaptchaenterpriseV1TransactionData::class, 'Google_Service_RecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1TransactionData');
Note: See TracBrowser for help on using the repository browser.