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 OrderDetail
 14:  */
 15: class OrderDetail extends Base
 16: {
 17:     /**
 18:      * @var int
 19:      */
 20:     protected $id;
 21:     /**
 22:      * @var string
 23:      */
 24:     protected $orderId;
 25:     /**
 26:      * @var int
 27:      */
 28:     protected $articleId;
 29:     /**
 30:      * @var int
 31:      */
 32:     protected $taxId;
 33:     /**
 34:      * @var float
 35:      */
 36:     protected $taxRate;
 37:     /**
 38:      * @var int
 39:      */
 40:     protected $statusId;
 41:     /**
 42:      * @var string
 43:      */
 44:     protected $number;
 45:     /**
 46:      * @var string
 47:      */
 48:     protected $articleNumber;
 49:     /**
 50:      * @var float
 51:      */
 52:     protected $price;
 53:     /**
 54:      * @var int
 55:      */
 56:     protected $quantity;
 57:     /**
 58:      * @var string
 59:      */
 60:     protected $articleName;
 61:     /**
 62:      * @var bool
 63:      */
 64:     protected $shipped;
 65:     /**
 66:      * @var int
 67:      */
 68:     protected $shippedGroup;
 69:     /**
 70:      * @var string
 71:      */
 72:     protected $releaseDate;
 73:     /**
 74:      * @var int
 75:      */
 76:     protected $mode;
 77:     /**
 78:      * @var int
 79:      */
 80:     protected $esdArticle;
 81:     /**
 82:      * @var string
 83:      */
 84:     protected $config;
 85:     /**
 86:      * @var string
 87:      */
 88:     protected $ean;
 89:     /**
 90:      * @var string
 91:      */
 92:     protected $unit;
 93:     /**
 94:      * @var string
 95:      */
 96:     protected $packUnit;
 97:     /**
 98:      * @var OrderDetailAttribute
 99:      */
100:     protected $attribute;
101: 
102:     /**
103:      * @return int
104:      */
105:     public function getId()
106:     {
107:         return $this->id;
108:     }
109: 
110:     /**
111:      * @param int $id
112:      *
113:      * @return OrderDetail
114:      */
115:     public function setId($id)
116:     {
117:         $this->id = $id;
118: 
119:         return $this;
120:     }
121: 
122:     /**
123:      * @return string
124:      */
125:     public function getOrderId()
126:     {
127:         return $this->orderId;
128:     }
129: 
130:     /**
131:      * @param string $orderId
132:      *
133:      * @return OrderDetail
134:      */
135:     public function setOrderId($orderId)
136:     {
137:         $this->orderId = $orderId;
138: 
139:         return $this;
140:     }
141: 
142:     /**
143:      * @return int
144:      */
145:     public function getArticleId()
146:     {
147:         return $this->articleId;
148:     }
149: 
150:     /**
151:      * @param int $articleId
152:      *
153:      * @return OrderDetail
154:      */
155:     public function setArticleId($articleId)
156:     {
157:         $this->articleId = $articleId;
158: 
159:         return $this;
160:     }
161: 
162:     /**
163:      * @return int
164:      */
165:     public function getTaxId()
166:     {
167:         return $this->taxId;
168:     }
169: 
170:     /**
171:      * @param int $taxId
172:      *
173:      * @return OrderDetail
174:      */
175:     public function setTaxId($taxId)
176:     {
177:         $this->taxId = $taxId;
178: 
179:         return $this;
180:     }
181: 
182:     /**
183:      * @return float
184:      */
185:     public function getTaxRate()
186:     {
187:         return $this->taxRate;
188:     }
189: 
190:     /**
191:      * @param float $taxRate
192:      *
193:      * @return OrderDetail
194:      */
195:     public function setTaxRate($taxRate)
196:     {
197:         $this->taxRate = $taxRate;
198: 
199:         return $this;
200:     }
201: 
202:     /**
203:      * @return int
204:      */
205:     public function getStatusId()
206:     {
207:         return $this->statusId;
208:     }
209: 
210:     /**
211:      * @param int $statusId
212:      *
213:      * @return OrderDetail
214:      */
215:     public function setStatusId($statusId)
216:     {
217:         $this->statusId = $statusId;
218: 
219:         return $this;
220:     }
221: 
222:     /**
223:      * @return string
224:      */
225:     public function getNumber()
226:     {
227:         return $this->number;
228:     }
229: 
230:     /**
231:      * @param string $number
232:      *
233:      * @return OrderDetail
234:      */
235:     public function setNumber($number)
236:     {
237:         $this->number = $number;
238: 
239:         return $this;
240:     }
241: 
242:     /**
243:      * @return string
244:      */
245:     public function getArticleNumber()
246:     {
247:         return $this->articleNumber;
248:     }
249: 
250:     /**
251:      * @param string $articleNumber
252:      *
253:      * @return OrderDetail
254:      */
255:     public function setArticleNumber($articleNumber)
256:     {
257:         $this->articleNumber = $articleNumber;
258: 
259:         return $this;
260:     }
261: 
262:     /**
263:      * @return float
264:      */
265:     public function getPrice()
266:     {
267:         return $this->price;
268:     }
269: 
270:     /**
271:      * @param float $price
272:      *
273:      * @return OrderDetail
274:      */
275:     public function setPrice($price)
276:     {
277:         $this->price = $price;
278: 
279:         return $this;
280:     }
281: 
282:     /**
283:      * @return int
284:      */
285:     public function getQuantity()
286:     {
287:         return $this->quantity;
288:     }
289: 
290:     /**
291:      * @param int $quantity
292:      *
293:      * @return OrderDetail
294:      */
295:     public function setQuantity($quantity)
296:     {
297:         $this->quantity = $quantity;
298: 
299:         return $this;
300:     }
301: 
302:     /**
303:      * @return string
304:      */
305:     public function getArticleName()
306:     {
307:         return $this->articleName;
308:     }
309: 
310:     /**
311:      * @param string $articleName
312:      *
313:      * @return OrderDetail
314:      */
315:     public function setArticleName($articleName)
316:     {
317:         $this->articleName = $articleName;
318: 
319:         return $this;
320:     }
321: 
322:     /**
323:      * @return bool
324:      */
325:     public function isShipped()
326:     {
327:         return $this->shipped;
328:     }
329: 
330:     /**
331:      * @param bool $shipped
332:      *
333:      * @return OrderDetail
334:      */
335:     public function setShipped($shipped)
336:     {
337:         $this->shipped = $shipped;
338: 
339:         return $this;
340:     }
341: 
342:     /**
343:      * @return int
344:      */
345:     public function getShippedGroup()
346:     {
347:         return $this->shippedGroup;
348:     }
349: 
350:     /**
351:      * @param int $shippedGroup
352:      *
353:      * @return OrderDetail
354:      */
355:     public function setShippedGroup($shippedGroup)
356:     {
357:         $this->shippedGroup = $shippedGroup;
358: 
359:         return $this;
360:     }
361: 
362:     /**
363:      * @return string
364:      */
365:     public function getReleaseDate()
366:     {
367:         return $this->releaseDate;
368:     }
369: 
370:     /**
371:      * @param string $releaseDate
372:      *
373:      * @return OrderDetail
374:      */
375:     public function setReleaseDate($releaseDate)
376:     {
377:         $this->releaseDate = $releaseDate;
378: 
379:         return $this;
380:     }
381: 
382:     /**
383:      * @return int
384:      */
385:     public function getMode()
386:     {
387:         return $this->mode;
388:     }
389: 
390:     /**
391:      * @param int $mode
392:      *
393:      * @return OrderDetail
394:      */
395:     public function setMode($mode)
396:     {
397:         $this->mode = $mode;
398: 
399:         return $this;
400:     }
401: 
402:     /**
403:      * @return int
404:      */
405:     public function getEsdArticle()
406:     {
407:         return $this->esdArticle;
408:     }
409: 
410:     /**
411:      * @param int $esdArticle
412:      *
413:      * @return OrderDetail
414:      */
415:     public function setEsdArticle($esdArticle)
416:     {
417:         $this->esdArticle = $esdArticle;
418: 
419:         return $this;
420:     }
421: }
422: 
shopware-sdk API documentation generated by ApiGen