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 DocumentType
 14:  */
 15: class DocumentType 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 $template;
 29:     /**
 30:      * @var string
 31:      */
 32:     protected $numbers;
 33:     /**
 34:      * @var int
 35:      */
 36:     protected $left;
 37:     /**
 38:      * @var int
 39:      */
 40:     protected $right;
 41:     /**
 42:      * @var int
 43:      */
 44:     protected $top;
 45:     /**
 46:      * @var int
 47:      */
 48:     protected $bottom;
 49:     /**
 50:      * @var int
 51:      */
 52:     protected $pageBreak;
 53: 
 54:     /**
 55:      * @return int
 56:      */
 57:     public function getId()
 58:     {
 59:         return $this->id;
 60:     }
 61: 
 62:     /**
 63:      * @param int $id
 64:      *
 65:      * @return DocumentType
 66:      */
 67:     public function setId($id)
 68:     {
 69:         $this->id = $id;
 70: 
 71:         return $this;
 72:     }
 73: 
 74:     /**
 75:      * @return string
 76:      */
 77:     public function getName()
 78:     {
 79:         return $this->name;
 80:     }
 81: 
 82:     /**
 83:      * @param string $name
 84:      *
 85:      * @return DocumentType
 86:      */
 87:     public function setName($name)
 88:     {
 89:         $this->name = $name;
 90: 
 91:         return $this;
 92:     }
 93: 
 94:     /**
 95:      * @return string
 96:      */
 97:     public function getTemplate()
 98:     {
 99:         return $this->template;
100:     }
101: 
102:     /**
103:      * @param string $template
104:      *
105:      * @return DocumentType
106:      */
107:     public function setTemplate($template)
108:     {
109:         $this->template = $template;
110: 
111:         return $this;
112:     }
113: 
114:     /**
115:      * @return string
116:      */
117:     public function getNumbers()
118:     {
119:         return $this->numbers;
120:     }
121: 
122:     /**
123:      * @param string $numbers
124:      *
125:      * @return DocumentType
126:      */
127:     public function setNumbers($numbers)
128:     {
129:         $this->numbers = $numbers;
130: 
131:         return $this;
132:     }
133: 
134:     /**
135:      * @return int
136:      */
137:     public function getLeft()
138:     {
139:         return $this->left;
140:     }
141: 
142:     /**
143:      * @param int $left
144:      *
145:      * @return DocumentType
146:      */
147:     public function setLeft($left)
148:     {
149:         $this->left = $left;
150: 
151:         return $this;
152:     }
153: 
154:     /**
155:      * @return int
156:      */
157:     public function getRight()
158:     {
159:         return $this->right;
160:     }
161: 
162:     /**
163:      * @param int $right
164:      *
165:      * @return DocumentType
166:      */
167:     public function setRight($right)
168:     {
169:         $this->right = $right;
170: 
171:         return $this;
172:     }
173: 
174:     /**
175:      * @return int
176:      */
177:     public function getTop()
178:     {
179:         return $this->top;
180:     }
181: 
182:     /**
183:      * @param int $top
184:      *
185:      * @return DocumentType
186:      */
187:     public function setTop($top)
188:     {
189:         $this->top = $top;
190: 
191:         return $this;
192:     }
193: 
194:     /**
195:      * @return int
196:      */
197:     public function getBottom()
198:     {
199:         return $this->bottom;
200:     }
201: 
202:     /**
203:      * @param int $bottom
204:      *
205:      * @return DocumentType
206:      */
207:     public function setBottom($bottom)
208:     {
209:         $this->bottom = $bottom;
210: 
211:         return $this;
212:     }
213: 
214:     /**
215:      * @return int
216:      */
217:     public function getPageBreak()
218:     {
219:         return $this->pageBreak;
220:     }
221: 
222:     /**
223:      * @param int $pageBreak
224:      *
225:      * @return DocumentType
226:      */
227:     public function setPageBreak($pageBreak)
228:     {
229:         $this->pageBreak = $pageBreak;
230: 
231:         return $this;
232:     }
233: }
234: 
shopware-sdk API documentation generated by ApiGen