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 Debit
14: */
15: class Debit extends Base
16: {
17: /**
18: * @var int
19: */
20: protected $id;
21: /**
22: * @var int
23: */
24: protected $customerId;
25: /**
26: * @var string
27: */
28: protected $account;
29: /**
30: * @var string
31: */
32: protected $bankCode;
33: /**
34: * @var string
35: */
36: protected $bankName;
37: /**
38: * @var string
39: */
40: protected $accountHolder;
41:
42: /**
43: * @return int
44: */
45: public function getId()
46: {
47: return $this->id;
48: }
49:
50: /**
51: * @param int $id
52: *
53: * @return Debit
54: */
55: public function setId($id)
56: {
57: $this->id = $id;
58:
59: return $this;
60: }
61:
62: /**
63: * @return int
64: */
65: public function getCustomerId()
66: {
67: return $this->customerId;
68: }
69:
70: /**
71: * @param int $customerId
72: *
73: * @return Debit
74: */
75: public function setCustomerId($customerId)
76: {
77: $this->customerId = $customerId;
78:
79: return $this;
80: }
81:
82: /**
83: * @return string
84: */
85: public function getAccount()
86: {
87: return $this->account;
88: }
89:
90: /**
91: * @param string $account
92: *
93: * @return Debit
94: */
95: public function setAccount($account)
96: {
97: $this->account = $account;
98:
99: return $this;
100: }
101:
102: /**
103: * @return string
104: */
105: public function getBankCode()
106: {
107: return $this->bankCode;
108: }
109:
110: /**
111: * @param string $bankCode
112: *
113: * @return Debit
114: */
115: public function setBankCode($bankCode)
116: {
117: $this->bankCode = $bankCode;
118:
119: return $this;
120: }
121:
122: /**
123: * @return string
124: */
125: public function getBankName()
126: {
127: return $this->bankName;
128: }
129:
130: /**
131: * @param string $bankName
132: *
133: * @return Debit
134: */
135: public function setBankName($bankName)
136: {
137: $this->bankName = $bankName;
138:
139: return $this;
140: }
141:
142: /**
143: * @return string
144: */
145: public function getAccountHolder()
146: {
147: return $this->accountHolder;
148: }
149:
150: /**
151: * @param string $accountHolder
152: *
153: * @return Debit
154: */
155: public function setAccountHolder($accountHolder)
156: {
157: $this->accountHolder = $accountHolder;
158:
159: return $this;
160: }
161: }
162: