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 Billing
14: */
15: class Billing extends Base
16: {
17: /**
18: * @var int
19: */
20: protected $id;
21: /**
22: * @var int
23: */
24: protected $customerId;
25: /**
26: * @var int
27: */
28: protected $countryId;
29: /**
30: * @var int
31: */
32: protected $stateId;
33: /**
34: * @var string
35: */
36: protected $company;
37: /**
38: * @var string
39: */
40: protected $department;
41: /**
42: * @var string
43: */
44: protected $salutation;
45: /**
46: * @var string
47: */
48: protected $number;
49: /**
50: * @var string
51: */
52: protected $firstName;
53: /**
54: * @var string
55: */
56: protected $lastName;
57: /**
58: * @var string
59: */
60: protected $street;
61: /**
62: * @var string
63: */
64: protected $streetNumber;
65: /**
66: * @var string
67: */
68: protected $zipCode;
69: /**
70: * @var string
71: */
72: protected $city;
73: /**
74: * @var string
75: */
76: protected $phone;
77: /**
78: * @var string
79: */
80: protected $fax;
81: /**
82: * @var int
83: */
84: protected $vatId;
85: /**
86: * @var string
87: */
88: protected $birthday;
89: /**
90: * @var BillingAttribute[]
91: */
92: protected $attribute;
93:
94: /**
95: * @return int
96: */
97: public function getId()
98: {
99: return $this->id;
100: }
101:
102: /**
103: * @param int $id
104: *
105: * @return Billing
106: */
107: public function setId($id)
108: {
109: $this->id = $id;
110:
111: return $this;
112: }
113:
114: /**
115: * @return int
116: */
117: public function getCustomerId()
118: {
119: return $this->customerId;
120: }
121:
122: /**
123: * @param int $customerId
124: *
125: * @return Billing
126: */
127: public function setCustomerId($customerId)
128: {
129: $this->customerId = $customerId;
130:
131: return $this;
132: }
133:
134: /**
135: * @return int
136: */
137: public function getCountryId()
138: {
139: return $this->countryId;
140: }
141:
142: /**
143: * @param int $countryId
144: *
145: * @return Billing
146: */
147: public function setCountryId($countryId)
148: {
149: $this->countryId = $countryId;
150:
151: return $this;
152: }
153:
154: /**
155: * @return int
156: */
157: public function getStateId()
158: {
159: return $this->stateId;
160: }
161:
162: /**
163: * @param int $stateId
164: *
165: * @return Billing
166: */
167: public function setStateId($stateId)
168: {
169: $this->stateId = $stateId;
170:
171: return $this;
172: }
173:
174: /**
175: * @return string
176: */
177: public function getCompany()
178: {
179: return $this->company;
180: }
181:
182: /**
183: * @param string $company
184: *
185: * @return Billing
186: */
187: public function setCompany($company)
188: {
189: $this->company = $company;
190:
191: return $this;
192: }
193:
194: /**
195: * @return string
196: */
197: public function getDepartment()
198: {
199: return $this->department;
200: }
201:
202: /**
203: * @param string $department
204: *
205: * @return Billing
206: */
207: public function setDepartment($department)
208: {
209: $this->department = $department;
210:
211: return $this;
212: }
213:
214: /**
215: * @return string
216: */
217: public function getSalutation()
218: {
219: return $this->salutation;
220: }
221:
222: /**
223: * @param string $salutation
224: *
225: * @return Billing
226: */
227: public function setSalutation($salutation)
228: {
229: $this->salutation = $salutation;
230:
231: return $this;
232: }
233:
234: /**
235: * @return string
236: */
237: public function getNumber()
238: {
239: return $this->number;
240: }
241:
242: /**
243: * @param string $number
244: *
245: * @return Billing
246: */
247: public function setNumber($number)
248: {
249: $this->number = $number;
250:
251: return $this;
252: }
253:
254: /**
255: * @return string
256: */
257: public function getFirstName()
258: {
259: return $this->firstName;
260: }
261:
262: /**
263: * @param string $firstName
264: *
265: * @return Billing
266: */
267: public function setFirstName($firstName)
268: {
269: $this->firstName = $firstName;
270:
271: return $this;
272: }
273:
274: /**
275: * @return string
276: */
277: public function getLastName()
278: {
279: return $this->lastName;
280: }
281:
282: /**
283: * @param string $lastName
284: *
285: * @return Billing
286: */
287: public function setLastName($lastName)
288: {
289: $this->lastName = $lastName;
290:
291: return $this;
292: }
293:
294: /**
295: * @return string
296: */
297: public function getStreet()
298: {
299: return $this->street;
300: }
301:
302: /**
303: * @param string $street
304: *
305: * @return Billing
306: */
307: public function setStreet($street)
308: {
309: $this->street = $street;
310:
311: return $this;
312: }
313:
314: /**
315: * @return string
316: */
317: public function getStreetNumber()
318: {
319: return $this->streetNumber;
320: }
321:
322: /**
323: * @param string $streetNumber
324: *
325: * @return Billing
326: */
327: public function setStreetNumber($streetNumber)
328: {
329: $this->streetNumber = $streetNumber;
330:
331: return $this;
332: }
333:
334: /**
335: * @return string
336: */
337: public function getZipCode()
338: {
339: return $this->zipCode;
340: }
341:
342: /**
343: * @param string $zipCode
344: *
345: * @return Billing
346: */
347: public function setZipCode($zipCode)
348: {
349: $this->zipCode = $zipCode;
350:
351: return $this;
352: }
353:
354: /**
355: * @return string
356: */
357: public function getCity()
358: {
359: return $this->city;
360: }
361:
362: /**
363: * @param string $city
364: *
365: * @return Billing
366: */
367: public function setCity($city)
368: {
369: $this->city = $city;
370:
371: return $this;
372: }
373:
374: /**
375: * @return string
376: */
377: public function getPhone()
378: {
379: return $this->phone;
380: }
381:
382: /**
383: * @param string $phone
384: *
385: * @return Billing
386: */
387: public function setPhone($phone)
388: {
389: $this->phone = $phone;
390:
391: return $this;
392: }
393:
394: /**
395: * @return string
396: */
397: public function getFax()
398: {
399: return $this->fax;
400: }
401:
402: /**
403: * @param string $fax
404: *
405: * @return Billing
406: */
407: public function setFax($fax)
408: {
409: $this->fax = $fax;
410:
411: return $this;
412: }
413:
414: /**
415: * @return int
416: */
417: public function getVatId()
418: {
419: return $this->vatId;
420: }
421:
422: /**
423: * @param int $vatId
424: *
425: * @return Billing
426: */
427: public function setVatId($vatId)
428: {
429: $this->vatId = $vatId;
430:
431: return $this;
432: }
433:
434: /**
435: * @return string
436: */
437: public function getBirthday()
438: {
439: return $this->birthday;
440: }
441:
442: /**
443: * @param string $birthday
444: *
445: * @return Billing
446: */
447: public function setBirthday($birthday)
448: {
449: $this->birthday = $birthday;
450:
451: return $this;
452: }
453:
454: /**
455: * @return BillingAttribute[]
456: */
457: public function getAttributes()
458: {
459: return $this->attribute;
460: }
461:
462: /**
463: * @param BillingAttribute[] $attribute
464: *
465: * @return Billing
466: */
467: public function setAttributes($attribute)
468: {
469: $this->attribute = $attribute;
470:
471: return $this;
472: }
473: }
474: