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