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 Country
 14:  */
 15: class Country extends Base
 16: {
 17:     /**
 18:      * @var int
 19:      */
 20:     protected $id;
 21:     /**
 22:      * @var string
 23:      */
 24:     protected $name;
 25:     /**
 26:      * @var string
 27:      */
 28:     protected $iso;
 29:     /**
 30:      * @var string
 31:      */
 32:     protected $isoName;
 33:     /**
 34:      * @var int
 35:      */
 36:     protected $position;
 37:     /**
 38:      * @var string
 39:      */
 40:     protected $description;
 41:     /**
 42:      * @var bool
 43:      */
 44:     protected $shippingFree;
 45:     /**
 46:      * @var bool
 47:      */
 48:     protected $taxFree;
 49:     /**
 50:      * @var bool
 51:      */
 52:     protected $taxFreeUstId;
 53:     /**
 54:      * @var bool
 55:      */
 56:     protected $taxFreeUstIdChecked;
 57:     /**
 58:      * @var bool
 59:      */
 60:     protected $active;
 61:     /**
 62:      * @var string
 63:      */
 64:     protected $iso3;
 65:     /**
 66:      * @var bool
 67:      */
 68:     protected $displayStateInRegistration;
 69:     /**
 70:      * @var bool
 71:      */
 72:     protected $forceStateInRegistration;
 73:     /**
 74:      * @var int
 75:      */
 76:     protected $areaId;
 77:     /**
 78:      * @var State[]
 79:      */
 80:     protected $states;
 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 Country
 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 getName()
106:     {
107:         return $this->name;
108:     }
109: 
110:     /**
111:      * @param string $name
112:      *
113:      * @return Country
114:      */
115:     public function setName($name)
116:     {
117:         $this->name = $name;
118: 
119:         return $this;
120:     }
121: 
122:     /**
123:      * @return string
124:      */
125:     public function getIso()
126:     {
127:         return $this->iso;
128:     }
129: 
130:     /**
131:      * @param string $iso
132:      *
133:      * @return Country
134:      */
135:     public function setIso($iso)
136:     {
137:         $this->iso = $iso;
138: 
139:         return $this;
140:     }
141: 
142:     /**
143:      * @return string
144:      */
145:     public function getIsoName()
146:     {
147:         return $this->isoName;
148:     }
149: 
150:     /**
151:      * @param string $isoName
152:      *
153:      * @return Country
154:      */
155:     public function setIsoName($isoName)
156:     {
157:         $this->isoName = $isoName;
158: 
159:         return $this;
160:     }
161: 
162:     /**
163:      * @return int
164:      */
165:     public function getPosition()
166:     {
167:         return $this->position;
168:     }
169: 
170:     /**
171:      * @param int $position
172:      *
173:      * @return Country
174:      */
175:     public function setPosition($position)
176:     {
177:         $this->position = $position;
178: 
179:         return $this;
180:     }
181: 
182:     /**
183:      * @return string
184:      */
185:     public function getDescription()
186:     {
187:         return $this->description;
188:     }
189: 
190:     /**
191:      * @param string $description
192:      *
193:      * @return Country
194:      */
195:     public function setDescription($description)
196:     {
197:         $this->description = $description;
198: 
199:         return $this;
200:     }
201: 
202:     /**
203:      * @return bool
204:      */
205:     public function isShippingFree()
206:     {
207:         return $this->shippingFree;
208:     }
209: 
210:     /**
211:      * @param bool $shippingFree
212:      *
213:      * @return Country
214:      */
215:     public function setShippingFree($shippingFree)
216:     {
217:         $this->shippingFree = $shippingFree;
218: 
219:         return $this;
220:     }
221: 
222:     /**
223:      * @return bool
224:      */
225:     public function isTaxFree()
226:     {
227:         return $this->taxFree;
228:     }
229: 
230:     /**
231:      * @param bool $taxFree
232:      *
233:      * @return Country
234:      */
235:     public function setTaxFree($taxFree)
236:     {
237:         $this->taxFree = $taxFree;
238: 
239:         return $this;
240:     }
241: 
242:     /**
243:      * @return bool
244:      */
245:     public function isTaxFreeUstId()
246:     {
247:         return $this->taxFreeUstId;
248:     }
249: 
250:     /**
251:      * @param bool $taxFreeUstId
252:      *
253:      * @return Country
254:      */
255:     public function setTaxFreeUstId($taxFreeUstId)
256:     {
257:         $this->taxFreeUstId = $taxFreeUstId;
258: 
259:         return $this;
260:     }
261: 
262:     /**
263:      * @return bool
264:      */
265:     public function isTaxFreeUstIdChecked()
266:     {
267:         return $this->taxFreeUstIdChecked;
268:     }
269: 
270:     /**
271:      * @param bool $taxFreeUstIdChecked
272:      *
273:      * @return Country
274:      */
275:     public function setTaxFreeUstIdChecked($taxFreeUstIdChecked)
276:     {
277:         $this->taxFreeUstIdChecked = $taxFreeUstIdChecked;
278: 
279:         return $this;
280:     }
281: 
282:     /**
283:      * @return bool
284:      */
285:     public function isActive()
286:     {
287:         return $this->active;
288:     }
289: 
290:     /**
291:      * @param bool $active
292:      *
293:      * @return Country
294:      */
295:     public function setActive($active)
296:     {
297:         $this->active = $active;
298: 
299:         return $this;
300:     }
301: 
302:     /**
303:      * @return string
304:      */
305:     public function getIso3()
306:     {
307:         return $this->iso3;
308:     }
309: 
310:     /**
311:      * @param string $iso3
312:      *
313:      * @return Country
314:      */
315:     public function setIso3($iso3)
316:     {
317:         $this->iso3 = $iso3;
318: 
319:         return $this;
320:     }
321: 
322:     /**
323:      * @return bool
324:      */
325:     public function isDisplayStateInRegistration()
326:     {
327:         return $this->displayStateInRegistration;
328:     }
329: 
330:     /**
331:      * @param bool $displayStateInRegistration
332:      *
333:      * @return Country
334:      */
335:     public function setDisplayStateInRegistration($displayStateInRegistration)
336:     {
337:         $this->displayStateInRegistration = $displayStateInRegistration;
338: 
339:         return $this;
340:     }
341: 
342:     /**
343:      * @return bool
344:      */
345:     public function isForceStateInRegistration()
346:     {
347:         return $this->forceStateInRegistration;
348:     }
349: 
350:     /**
351:      * @param bool $forceStateInRegistration
352:      *
353:      * @return Country
354:      */
355:     public function setForceStateInRegistration($forceStateInRegistration)
356:     {
357:         $this->forceStateInRegistration = $forceStateInRegistration;
358: 
359:         return $this;
360:     }
361: 
362:     /**
363:      * @return int
364:      */
365:     public function getAreaId()
366:     {
367:         return $this->areaId;
368:     }
369: 
370:     /**
371:      * @param int $areaId
372:      *
373:      * @return Country
374:      */
375:     public function setAreaId($areaId)
376:     {
377:         $this->areaId = $areaId;
378: 
379:         return $this;
380:     }
381: 
382:     /**
383:      * @return State[]
384:      */
385:     public function getStates()
386:     {
387:         return $this->states;
388:     }
389: 
390:     /**
391:      * @param State[] $states
392:      *
393:      * @return Country
394:      */
395:     public function setStates($states)
396:     {
397:         $this->states = $states;
398: 
399:         return $this;
400:     }
401: }
402: 
shopware-sdk API documentation generated by ApiGen