1 | <?php |
||
10 | class Item extends BaseItem |
||
11 | { |
||
12 | const CUSTOMER_INFO_KEYS = array( |
||
13 | 'customerString1', |
||
14 | 'customerString2', |
||
15 | 4 | 'customerString3', |
|
16 | 'customerString4', |
||
17 | 4 | 'customerString5', |
|
18 | 'customerNumber1', |
||
19 | 'customerNumber2', |
||
20 | 'customerNumber3', |
||
21 | 'customerNumber4', |
||
22 | ); |
||
23 | 3 | ||
24 | /** |
||
25 | 3 | * Get the item reference (acccount code) |
|
26 | */ |
||
27 | public function getReference() |
||
31 | 4 | ||
32 | /** |
||
33 | 4 | * Set the item reference (acccount code) |
|
34 | */ |
||
35 | public function setReference($value) |
||
39 | 3 | ||
40 | /** |
||
41 | 3 | * Get the item additional reference |
|
42 | */ |
||
43 | public function getAdditionalReference() |
||
47 | 4 | ||
48 | /** |
||
49 | 4 | * Set the item additional reference |
|
50 | */ |
||
51 | public function setAdditionalReference($value) |
||
55 | 3 | ||
56 | /** |
||
57 | 3 | * Get the item fund code |
|
58 | */ |
||
59 | public function getFundCode() |
||
63 | 4 | ||
64 | /** |
||
65 | 4 | * Set the item fund code |
|
66 | */ |
||
67 | public function setFundCode($value) |
||
71 | 3 | ||
72 | /** |
||
73 | 3 | * Get the item narrative |
|
74 | */ |
||
75 | public function getNarrative() |
||
79 | |||
80 | /** |
||
81 | * Set the item narrative |
||
82 | */ |
||
83 | public function setNarrative($value) |
||
87 | |||
88 | /** |
||
89 | * Get the customer-specific string 1 |
||
90 | */ |
||
91 | public function getCustomerString1() |
||
95 | |||
96 | /** |
||
97 | * Set the customer-specific string 1 |
||
98 | */ |
||
99 | public function setCustomerString1($value) |
||
103 | |||
104 | /** |
||
105 | * Get the customer-specific string 2 |
||
106 | */ |
||
107 | public function getCustomerString2() |
||
111 | |||
112 | /** |
||
113 | * Set the customer-specific string 2 |
||
114 | */ |
||
115 | public function setCustomerString2($value) |
||
119 | |||
120 | /** |
||
121 | * Get the customer-specific string 3 |
||
122 | */ |
||
123 | public function getCustomerString3() |
||
127 | |||
128 | /** |
||
129 | * Set the customer-specific string 3 |
||
130 | */ |
||
131 | public function setCustomerString3($value) |
||
135 | |||
136 | /** |
||
137 | * Get the customer-specific string 4 |
||
138 | */ |
||
139 | public function getCustomerString4() |
||
143 | |||
144 | /** |
||
145 | * Set the customer-specific string 4 |
||
146 | */ |
||
147 | public function setCustomerString4($value) |
||
151 | |||
152 | /** |
||
153 | * Get the customer-specific string 5 |
||
154 | */ |
||
155 | public function getCustomerString5() |
||
159 | |||
160 | /** |
||
161 | * Set the customer-specific string 5 |
||
162 | */ |
||
163 | public function setCustomerString5($value) |
||
167 | |||
168 | /** |
||
169 | * Get the customer-specific integer 1 |
||
170 | */ |
||
171 | public function getCustomerNumber1() |
||
175 | |||
176 | /** |
||
177 | * Set the customer-specific integer 1 |
||
178 | */ |
||
179 | public function setCustomerNumber1($value) |
||
183 | |||
184 | /** |
||
185 | * Get the customer-specific integer 2 |
||
186 | */ |
||
187 | public function getCustomerNumber2() |
||
191 | |||
192 | /** |
||
193 | * Set the customer-specific integer 2 |
||
194 | */ |
||
195 | public function setCustomerNumber2($value) |
||
199 | |||
200 | /** |
||
201 | * Get the customer-specific integer 3 |
||
202 | */ |
||
203 | public function getCustomerNumber3() |
||
207 | |||
208 | /** |
||
209 | * Set the customer-specific integer 3 |
||
210 | */ |
||
211 | public function setCustomerNumber3($value) |
||
215 | |||
216 | /** |
||
217 | * Get the customer-specific integer 4 |
||
218 | */ |
||
219 | public function getCustomerNumber4() |
||
223 | |||
224 | /** |
||
225 | * Set the customer-specific integer 4 |
||
226 | */ |
||
227 | public function setCustomerNumber4($value) |
||
231 | |||
232 | /** |
||
233 | * Get all the customer-specific fields (that have values) |
||
234 | */ |
||
235 | public function getCustomerInfo() |
||
248 | |||
249 | /** |
||
250 | * Set all the customer-specific fields |
||
251 | */ |
||
252 | public function setCustomerInfo($value) |
||
263 | } |
||
264 |