Overview

Namespaces

  • LeadCommerce
    • Shopware
      • SDK
        • Entity
        • Exception
        • Query
        • Util

Classes

  • LeadCommerce\Shopware\SDK\Entity\Address
  • LeadCommerce\Shopware\SDK\Entity\Area
  • LeadCommerce\Shopware\SDK\Entity\Article
  • LeadCommerce\Shopware\SDK\Entity\ArticleAttribute
  • LeadCommerce\Shopware\SDK\Entity\ArticleDetail
  • LeadCommerce\Shopware\SDK\Entity\Base
  • LeadCommerce\Shopware\SDK\Entity\Billing
  • LeadCommerce\Shopware\SDK\Entity\BillingAttribute
  • LeadCommerce\Shopware\SDK\Entity\Cache
  • LeadCommerce\Shopware\SDK\Entity\Category
  • LeadCommerce\Shopware\SDK\Entity\ConfiguratorGroup
  • LeadCommerce\Shopware\SDK\Entity\ConfiguratorOption
  • LeadCommerce\Shopware\SDK\Entity\ConfiguratorSet
  • LeadCommerce\Shopware\SDK\Entity\Country
  • LeadCommerce\Shopware\SDK\Entity\Currency
  • LeadCommerce\Shopware\SDK\Entity\CustomerAttribute
  • LeadCommerce\Shopware\SDK\Entity\CustomerGroup
  • LeadCommerce\Shopware\SDK\Entity\CustomerGroupSurcharge
  • LeadCommerce\Shopware\SDK\Entity\Debit
  • LeadCommerce\Shopware\SDK\Entity\Dispatch
  • LeadCommerce\Shopware\SDK\Entity\Document
  • LeadCommerce\Shopware\SDK\Entity\DocumentAttribute
  • LeadCommerce\Shopware\SDK\Entity\DocumentType
  • LeadCommerce\Shopware\SDK\Entity\Download
  • LeadCommerce\Shopware\SDK\Entity\Image
  • LeadCommerce\Shopware\SDK\Entity\Link
  • LeadCommerce\Shopware\SDK\Entity\Locale
  • LeadCommerce\Shopware\SDK\Entity\OrderAttribute
  • LeadCommerce\Shopware\SDK\Entity\OrderDetail
  • LeadCommerce\Shopware\SDK\Entity\OrderDetailAttribute
  • LeadCommerce\Shopware\SDK\Entity\OrderStatus
  • LeadCommerce\Shopware\SDK\Entity\PaymentData
  • LeadCommerce\Shopware\SDK\Entity\PaymentInstance
  • LeadCommerce\Shopware\SDK\Entity\Price
  • LeadCommerce\Shopware\SDK\Entity\PriceGroup
  • LeadCommerce\Shopware\SDK\Entity\PropertyGroup
  • LeadCommerce\Shopware\SDK\Entity\PropertyGroupAttribute
  • LeadCommerce\Shopware\SDK\Entity\PropertyGroupOption
  • LeadCommerce\Shopware\SDK\Entity\PropertyValue
  • LeadCommerce\Shopware\SDK\Entity\Related
  • LeadCommerce\Shopware\SDK\Entity\Shipping
  • LeadCommerce\Shopware\SDK\Entity\ShippingAttribute
  • LeadCommerce\Shopware\SDK\Entity\Shop
  • LeadCommerce\Shopware\SDK\Entity\Similar
  • LeadCommerce\Shopware\SDK\Entity\State
  • LeadCommerce\Shopware\SDK\Entity\Supplier
  • LeadCommerce\Shopware\SDK\Entity\Tax
  • LeadCommerce\Shopware\SDK\Entity\Translation
  • LeadCommerce\Shopware\SDK\Entity\Version
  • LeadCommerce\Shopware\SDK\Query\AddressQuery
  • LeadCommerce\Shopware\SDK\Query\ArticleQuery
  • LeadCommerce\Shopware\SDK\Query\Base
  • LeadCommerce\Shopware\SDK\Query\CacheQuery
  • LeadCommerce\Shopware\SDK\Query\CategoriesQuery
  • LeadCommerce\Shopware\SDK\Query\CountriesQuery
  • LeadCommerce\Shopware\SDK\Query\CustomerGroupsQuery
  • LeadCommerce\Shopware\SDK\Query\CustomerQuery
  • LeadCommerce\Shopware\SDK\Query\GenerateArticleImagesQuery
  • LeadCommerce\Shopware\SDK\Query\ManufacturersQuery
  • LeadCommerce\Shopware\SDK\Query\MediaQuery
  • LeadCommerce\Shopware\SDK\Query\OrdersQuery
  • LeadCommerce\Shopware\SDK\Query\PropertyGroupsQuery
  • LeadCommerce\Shopware\SDK\Query\ShopsQuery
  • LeadCommerce\Shopware\SDK\Query\TranslationsQuery
  • LeadCommerce\Shopware\SDK\Query\VariantsQuery
  • LeadCommerce\Shopware\SDK\Query\VersionQuery
  • LeadCommerce\Shopware\SDK\ShopwareClient
  • LeadCommerce\Shopware\SDK\Util\Constants

Exceptions

  • LeadCommerce\Shopware\SDK\Exception\MethodNotAllowedException
  • Overview
  • Namespace
  • Class
  1: <?php
  2: /**
  3:  * LeadCommerce\Shopware\SDK\Entity
  4:  *
  5:  * Copyright 2016 LeadCommerce
  6:  *
  7:  * @author Alexander Mahrt <amahrt@leadcommerce.de>
  8:  * @copyright 2016 LeadCommerce <amahrt@leadcommerce.de>
  9:  */
 10: namespace LeadCommerce\Shopware\SDK\Entity;
 11: 
 12: /**
 13:  * Class Address
 14:  */
 15: class Address extends Base
 16: {
 17:     /**
 18:      * @var int
 19:      */
 20:     protected $id;
 21:     /**
 22:      * @var string
 23:      */
 24:     protected $company;
 25:     /**
 26:      * @var string
 27:      */
 28:     protected $department;
 29:     /**
 30:      * @var string
 31:      */
 32:     protected $salutation;
 33:     /**
 34:      * @var string
 35:      */
 36:     protected $firstname;
 37:     /**
 38:      * @var string
 39:      */
 40:     protected $lastname;
 41:     /**
 42:      * @var string
 43:      */
 44:     protected $street;
 45:     /**
 46:      * @var string
 47:      */
 48:     protected $zipcode;
 49:     /**
 50:      * @var string
 51:      */
 52:     protected $city;
 53:     /**
 54:      * @var string
 55:      */
 56:     protected $phone;
 57:     /**
 58:      * @var int
 59:      */
 60:     protected $vatId;
 61:     /**
 62:      * @var string
 63:      */
 64:     protected $additionalAddressLine1;
 65:     /**
 66:      * @var string
 67:      */
 68:     protected $additionalAddressLine2;
 69:     /**
 70:      * @var int
 71:      */
 72:     protected $country;
 73:     /**
 74:      * @var int
 75:      */
 76:     protected $state;
 77:     /**
 78:      * @var array
 79:      */
 80:     protected $attribute;
 81: 
 82:     /**
 83:      * @return int
 84:      */
 85:     public function getId()
 86:     {
 87:         return $this->id;
 88:     }
 89: 
 90:     /**
 91:      * @param int $id
 92:      *
 93:      * @return Address
 94:      */
 95:     public function setId($id)
 96:     {
 97:         $this->id = $id;
 98: 
 99:         return $this;
100:     }
101: 
102:     /**
103:      * @return string
104:      */
105:     public function getCompany()
106:     {
107:         return $this->company;
108:     }
109: 
110:     /**
111:      * @param string $company
112:      *
113:      * @return Address
114:      */
115:     public function setCompany($company)
116:     {
117:         $this->company = $company;
118: 
119:         return $this;
120:     }
121: 
122:     /**
123:      * @return string
124:      */
125:     public function getDepartment()
126:     {
127:         return $this->department;
128:     }
129: 
130:     /**
131:      * @param string $department
132:      *
133:      * @return Address
134:      */
135:     public function setDepartment($department)
136:     {
137:         $this->department = $department;
138: 
139:         return $this;
140:     }
141: 
142:     /**
143:      * @return string
144:      */
145:     public function getSalutation()
146:     {
147:         return $this->salutation;
148:     }
149: 
150:     /**
151:      * @param string $salutation
152:      *
153:      * @return Address
154:      */
155:     public function setSalutation($salutation)
156:     {
157:         $this->salutation = $salutation;
158: 
159:         return $this;
160:     }
161: 
162:     /**
163:      * @return string
164:      */
165:     public function getFirstname()
166:     {
167:         return $this->firstname;
168:     }
169: 
170:     /**
171:      * @param string $firstname
172:      *
173:      * @return Address
174:      */
175:     public function setFirstname($firstname)
176:     {
177:         $this->firstname = $firstname;
178: 
179:         return $this;
180:     }
181: 
182:     /**
183:      * @return string
184:      */
185:     public function getLastname()
186:     {
187:         return $this->lastname;
188:     }
189: 
190:     /**
191:      * @param string $lastname
192:      *
193:      * @return Address
194:      */
195:     public function setLastname($lastname)
196:     {
197:         $this->lastname = $lastname;
198: 
199:         return $this;
200:     }
201: 
202:     /**
203:      * @return string
204:      */
205:     public function getStreet()
206:     {
207:         return $this->street;
208:     }
209: 
210:     /**
211:      * @param string $street
212:      *
213:      * @return Address
214:      */
215:     public function setStreet($street)
216:     {
217:         $this->street = $street;
218: 
219:         return $this;
220:     }
221: 
222:     /**
223:      * @return string
224:      */
225:     public function getZipcode()
226:     {
227:         return $this->zipcode;
228:     }
229: 
230:     /**
231:      * @param string $zipcode
232:      *
233:      * @return Address
234:      */
235:     public function setZipcode($zipcode)
236:     {
237:         $this->zipcode = $zipcode;
238: 
239:         return $this;
240:     }
241: 
242:     /**
243:      * @return string
244:      */
245:     public function getCity()
246:     {
247:         return $this->city;
248:     }
249: 
250:     /**
251:      * @param string $city
252:      *
253:      * @return Address
254:      */
255:     public function setCity($city)
256:     {
257:         $this->city = $city;
258: 
259:         return $this;
260:     }
261: 
262:     /**
263:      * @return string
264:      */
265:     public function getPhone()
266:     {
267:         return $this->phone;
268:     }
269: 
270:     /**
271:      * @param string $phone
272:      *
273:      * @return Address
274:      */
275:     public function setPhone($phone)
276:     {
277:         $this->phone = $phone;
278: 
279:         return $this;
280:     }
281: 
282:     /**
283:      * @return int
284:      */
285:     public function getVatId()
286:     {
287:         return $this->vatId;
288:     }
289: 
290:     /**
291:      * @param int $vatId
292:      *
293:      * @return Address
294:      */
295:     public function setVatId($vatId)
296:     {
297:         $this->vatId = $vatId;
298: 
299:         return $this;
300:     }
301: 
302:     /**
303:      * @return string
304:      */
305:     public function getAdditionalAddressLine1()
306:     {
307:         return $this->additionalAddressLine1;
308:     }
309: 
310:     /**
311:      * @param string $additionalAddressLine1
312:      *
313:      * @return Address
314:      */
315:     public function setAdditionalAddressLine1($additionalAddressLine1)
316:     {
317:         $this->additionalAddressLine1 = $additionalAddressLine1;
318: 
319:         return $this;
320:     }
321: 
322:     /**
323:      * @return string
324:      */
325:     public function getAdditionalAddressLine2()
326:     {
327:         return $this->additionalAddressLine2;
328:     }
329: 
330:     /**
331:      * @param string $additionalAddressLine2
332:      *
333:      * @return Address
334:      */
335:     public function setAdditionalAddressLine2($additionalAddressLine2)
336:     {
337:         $this->additionalAddressLine2 = $additionalAddressLine2;
338: 
339:         return $this;
340:     }
341: 
342:     /**
343:      * @return int
344:      */
345:     public function getCountry()
346:     {
347:         return $this->country;
348:     }
349: 
350:     /**
351:      * @param int $country
352:      *
353:      * @return Address
354:      */
355:     public function setCountry($country)
356:     {
357:         $this->country = $country;
358: 
359:         return $this;
360:     }
361: 
362:     /**
363:      * @return int
364:      */
365:     public function getState()
366:     {
367:         return $this->state;
368:     }
369: 
370:     /**
371:      * @param int $state
372:      *
373:      * @return Address
374:      */
375:     public function setState($state)
376:     {
377:         $this->state = $state;
378: 
379:         return $this;
380:     }
381: 
382:     /**
383:      * @return array
384:      */
385:     public function getAttribute()
386:     {
387:         return $this->attribute;
388:     }
389: 
390:     /**
391:      * @param array $attribute
392:      *
393:      * @return Address
394:      */
395:     public function setAttribute($attribute)
396:     {
397:         $this->attribute = $attribute;
398: 
399:         return $this;
400:     }
401: }
402: 
shopware-sdk API documentation generated by ApiGen