These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | |||
3 | /* |
||
4 | * This file is part of EC-CUBE |
||
5 | * |
||
6 | * Copyright(c) LOCKON CO.,LTD. All Rights Reserved. |
||
7 | * |
||
8 | * http://www.lockon.co.jp/ |
||
9 | * |
||
10 | * For the full copyright and license information, please view the LICENSE |
||
11 | * file that was distributed with this source code. |
||
12 | */ |
||
13 | |||
14 | namespace Eccube\Entity; |
||
15 | |||
16 | use Doctrine\ORM\Mapping as ORM; |
||
17 | |||
18 | 1 | if (!class_exists('\Eccube\Entity\BaseInfo')) { |
|
19 | /** |
||
20 | * BaseInfo |
||
21 | * |
||
22 | * @ORM\Table(name="dtb_base_info") |
||
23 | * @ORM\InheritanceType("SINGLE_TABLE") |
||
24 | * @ORM\DiscriminatorColumn(name="discriminator_type", type="string", length=255) |
||
25 | * @ORM\HasLifecycleCallbacks() |
||
26 | * @ORM\Entity(repositoryClass="Eccube\Repository\BaseInfoRepository") |
||
27 | * @ORM\Cache(usage="NONSTRICT_READ_WRITE") |
||
28 | */ |
||
29 | class BaseInfo extends \Eccube\Entity\AbstractEntity |
||
30 | { |
||
31 | /** |
||
32 | * @var int |
||
33 | * |
||
34 | * @ORM\Column(name="id", type="integer", options={"unsigned":true}) |
||
35 | * @ORM\Id |
||
36 | * @ORM\GeneratedValue(strategy="IDENTITY") |
||
37 | */ |
||
38 | private $id; |
||
39 | |||
40 | /** |
||
41 | * @var string|null |
||
42 | * |
||
43 | * @ORM\Column(name="company_name", type="string", length=255, nullable=true) |
||
44 | */ |
||
45 | private $company_name; |
||
46 | |||
47 | /** |
||
48 | * @var string|null |
||
49 | * |
||
50 | * @ORM\Column(name="company_kana", type="string", length=255, nullable=true) |
||
51 | */ |
||
52 | private $company_kana; |
||
53 | |||
54 | /** |
||
55 | * @var string|null |
||
56 | * |
||
57 | * @ORM\Column(name="postal_code", type="string", length=8, nullable=true) |
||
58 | */ |
||
59 | private $postal_code; |
||
60 | |||
61 | /** |
||
62 | * @var string|null |
||
63 | * |
||
64 | * @ORM\Column(name="addr01", type="string", length=255, nullable=true) |
||
65 | */ |
||
66 | private $addr01; |
||
67 | |||
68 | /** |
||
69 | * @var string|null |
||
70 | * |
||
71 | * @ORM\Column(name="addr02", type="string", length=255, nullable=true) |
||
72 | */ |
||
73 | private $addr02; |
||
74 | |||
75 | /** |
||
76 | * @var string|null |
||
77 | * |
||
78 | * @ORM\Column(name="phone_number", type="string", length=14, nullable=true) |
||
79 | */ |
||
80 | private $phone_number; |
||
81 | |||
82 | /** |
||
83 | * @var string|null |
||
84 | * |
||
85 | * @ORM\Column(name="business_hour", type="string", length=255, nullable=true) |
||
86 | */ |
||
87 | private $business_hour; |
||
88 | |||
89 | /** |
||
90 | * @var string|null |
||
91 | * |
||
92 | * @ORM\Column(name="email01", type="string", length=255, nullable=true) |
||
93 | */ |
||
94 | private $email01; |
||
95 | |||
96 | /** |
||
97 | * @var string|null |
||
98 | * |
||
99 | * @ORM\Column(name="email02", type="string", length=255, nullable=true) |
||
100 | */ |
||
101 | private $email02; |
||
102 | |||
103 | /** |
||
104 | * @var string|null |
||
105 | * |
||
106 | * @ORM\Column(name="email03", type="string", length=255, nullable=true) |
||
107 | */ |
||
108 | private $email03; |
||
109 | |||
110 | /** |
||
111 | * @var string|null |
||
112 | * |
||
113 | * @ORM\Column(name="email04", type="string", length=255, nullable=true) |
||
114 | */ |
||
115 | private $email04; |
||
116 | |||
117 | /** |
||
118 | * @var string|null |
||
119 | * |
||
120 | * @ORM\Column(name="shop_name", type="string", length=255, nullable=true) |
||
121 | */ |
||
122 | private $shop_name; |
||
123 | |||
124 | /** |
||
125 | * @var string|null |
||
126 | * |
||
127 | * @ORM\Column(name="shop_kana", type="string", length=255, nullable=true) |
||
128 | */ |
||
129 | private $shop_kana; |
||
130 | |||
131 | /** |
||
132 | * @var string|null |
||
133 | * |
||
134 | * @ORM\Column(name="shop_name_eng", type="string", length=255, nullable=true) |
||
135 | */ |
||
136 | private $shop_name_eng; |
||
137 | |||
138 | /** |
||
139 | * @var \DateTime |
||
140 | * |
||
141 | * @ORM\Column(name="update_date", type="datetimetz") |
||
142 | */ |
||
143 | private $update_date; |
||
144 | |||
145 | /** |
||
146 | * @var string|null |
||
147 | * |
||
148 | * @ORM\Column(name="good_traded", type="string", length=4000, nullable=true) |
||
149 | */ |
||
150 | private $good_traded; |
||
151 | |||
152 | /** |
||
153 | * @var string|null |
||
154 | * |
||
155 | * @ORM\Column(name="message", type="string", length=4000, nullable=true) |
||
156 | */ |
||
157 | private $message; |
||
158 | |||
159 | /** |
||
160 | * @var string|null |
||
161 | * |
||
162 | * @ORM\Column(name="delivery_free_amount", type="decimal", precision=12, scale=2, nullable=true, options={"unsigned":true}) |
||
163 | */ |
||
164 | private $delivery_free_amount; |
||
165 | |||
166 | /** |
||
167 | * @var int|null |
||
168 | * |
||
169 | * @ORM\Column(name="delivery_free_quantity", type="integer", nullable=true, options={"unsigned":true}) |
||
170 | */ |
||
171 | private $delivery_free_quantity; |
||
172 | |||
173 | /** |
||
174 | * @var boolean |
||
175 | * |
||
176 | * @ORM\Column(name="option_mypage_order_status_display", type="boolean", options={"default":true}) |
||
177 | */ |
||
178 | private $option_mypage_order_status_display = true; |
||
179 | |||
180 | /** |
||
181 | * @var boolean |
||
182 | * |
||
183 | * @ORM\Column(name="option_nostock_hidden", type="boolean", options={"default":false}) |
||
184 | */ |
||
185 | private $option_nostock_hidden = false; |
||
186 | |||
187 | /** |
||
188 | * @var boolean |
||
189 | * |
||
190 | * @ORM\Column(name="option_favorite_product", type="boolean", options={"default":true}) |
||
191 | */ |
||
192 | private $option_favorite_product = true; |
||
193 | |||
194 | /** |
||
195 | * @var boolean |
||
196 | * |
||
197 | * @ORM\Column(name="option_product_delivery_fee", type="boolean", options={"default":false}) |
||
198 | */ |
||
199 | private $option_product_delivery_fee = false; |
||
200 | |||
201 | /** |
||
202 | * @var boolean |
||
203 | * |
||
204 | * @ORM\Column(name="option_product_tax_rule", type="boolean", options={"default":false}) |
||
205 | */ |
||
206 | private $option_product_tax_rule = false; |
||
207 | |||
208 | /** |
||
209 | * @var boolean |
||
210 | * |
||
211 | * @ORM\Column(name="option_customer_activate", type="boolean", options={"default":true}) |
||
212 | */ |
||
213 | private $option_customer_activate = true; |
||
214 | |||
215 | /** |
||
216 | * @var boolean |
||
217 | * |
||
218 | * @ORM\Column(name="option_remember_me", type="boolean", options={"default":true}) |
||
219 | */ |
||
220 | private $option_remember_me = true; |
||
221 | |||
222 | /** |
||
223 | * @var string|null |
||
224 | * |
||
225 | * @ORM\Column(name="authentication_key", type="string", length=255, nullable=true) |
||
226 | */ |
||
227 | private $authentication_key; |
||
228 | |||
229 | /** |
||
230 | * @var string|null |
||
231 | * |
||
232 | * @ORM\Column(name="php_path", type="string", length=255, nullable=true) |
||
233 | */ |
||
234 | private $php_path; |
||
235 | |||
236 | /** |
||
237 | * @var boolean |
||
238 | * |
||
239 | * @ORM\Column(name="option_point", type="boolean", options={"default":true}) |
||
240 | */ |
||
241 | private $option_point = true; |
||
242 | |||
243 | /** |
||
244 | * @var string |
||
245 | * |
||
246 | * @ORM\Column(name="basic_point_rate", type="decimal", precision=10, scale=0, options={"unsigned":true, "default":1}, nullable=true) |
||
247 | */ |
||
248 | private $basic_point_rate = '1'; |
||
249 | |||
250 | /** |
||
251 | * @var string |
||
252 | * |
||
253 | * @ORM\Column(name="point_conversion_rate", type="decimal", precision=10, scale=0, options={"unsigned":true, "default":1}, nullable=true) |
||
254 | */ |
||
255 | private $point_conversion_rate = '1'; |
||
256 | |||
257 | /** |
||
258 | * @var \Eccube\Entity\Master\Country |
||
259 | * |
||
260 | * @ORM\ManyToOne(targetEntity="Eccube\Entity\Master\Country") |
||
261 | * @ORM\JoinColumns({ |
||
262 | * @ORM\JoinColumn(name="country_id", referencedColumnName="id") |
||
263 | * }) |
||
264 | * @ORM\Cache(usage="NONSTRICT_READ_WRITE") |
||
265 | */ |
||
266 | private $Country; |
||
267 | |||
268 | /** |
||
269 | * @var \Eccube\Entity\Master\Pref |
||
270 | * |
||
271 | * @ORM\ManyToOne(targetEntity="Eccube\Entity\Master\Pref") |
||
272 | * @ORM\JoinColumns({ |
||
273 | * @ORM\JoinColumn(name="pref_id", referencedColumnName="id") |
||
274 | * }) |
||
275 | * @ORM\Cache(usage="NONSTRICT_READ_WRITE") |
||
276 | */ |
||
277 | 2 | private $Pref; |
|
278 | |||
279 | 2 | /** |
|
280 | * Get id. |
||
281 | * |
||
282 | * @return int |
||
283 | */ |
||
284 | public function getId() |
||
285 | { |
||
286 | return $this->id; |
||
287 | } |
||
288 | |||
289 | 2 | /** |
|
290 | * Set companyName. |
||
291 | 2 | * |
|
292 | * @param string|null $companyName |
||
293 | 2 | * |
|
294 | * @return BaseInfo |
||
295 | */ |
||
296 | public function setCompanyName($companyName = null) |
||
297 | { |
||
298 | $this->company_name = $companyName; |
||
299 | |||
300 | return $this; |
||
301 | 11 | } |
|
302 | |||
303 | 11 | /** |
|
304 | * Get companyName. |
||
305 | * |
||
306 | * @return string|null |
||
307 | */ |
||
308 | public function getCompanyName() |
||
309 | { |
||
310 | return $this->company_name; |
||
311 | } |
||
312 | |||
313 | /** |
||
314 | * Set companyKana. |
||
315 | * |
||
316 | * @param string|null $companyKana |
||
317 | * |
||
318 | * @return BaseInfo |
||
319 | */ |
||
320 | public function setCompanyKana($companyKana = null) |
||
321 | { |
||
322 | $this->company_kana = $companyKana; |
||
323 | |||
324 | return $this; |
||
325 | 8 | } |
|
326 | |||
327 | 8 | /** |
|
328 | * Get companyKana. |
||
329 | * |
||
330 | * @return string|null |
||
331 | */ |
||
332 | public function getCompanyKana() |
||
333 | { |
||
334 | return $this->company_kana; |
||
335 | } |
||
336 | |||
337 | /** |
||
338 | * Set postal_code. |
||
339 | * |
||
340 | * @param string|null $postal_code |
||
341 | * |
||
342 | * @return BaseInfo |
||
343 | */ |
||
344 | public function setPostalCode($postal_code = null) |
||
345 | { |
||
346 | $this->postal_code = $postal_code; |
||
347 | |||
348 | return $this; |
||
349 | 9 | } |
|
350 | |||
351 | 9 | /** |
|
352 | * Get postal_code. |
||
353 | * |
||
354 | * @return string|null |
||
355 | */ |
||
356 | public function getPostalCode() |
||
357 | { |
||
358 | return $this->postal_code; |
||
359 | } |
||
360 | |||
361 | 2 | /** |
|
362 | * Set addr01. |
||
363 | 2 | * |
|
364 | * @param string|null $addr01 |
||
365 | 2 | * |
|
366 | * @return BaseInfo |
||
367 | */ |
||
368 | public function setAddr01($addr01 = null) |
||
369 | { |
||
370 | $this->addr01 = $addr01; |
||
371 | |||
372 | return $this; |
||
373 | 11 | } |
|
374 | |||
375 | 11 | /** |
|
376 | * Get addr01. |
||
377 | * |
||
378 | * @return string|null |
||
379 | */ |
||
380 | public function getAddr01() |
||
381 | { |
||
382 | return $this->addr01; |
||
383 | } |
||
384 | |||
385 | 2 | /** |
|
386 | * Set addr02. |
||
387 | 2 | * |
|
388 | * @param string|null $addr02 |
||
389 | 2 | * |
|
390 | * @return BaseInfo |
||
391 | */ |
||
392 | public function setAddr02($addr02 = null) |
||
393 | { |
||
394 | $this->addr02 = $addr02; |
||
395 | |||
396 | return $this; |
||
397 | 11 | } |
|
398 | |||
399 | 11 | /** |
|
400 | * Get addr02. |
||
401 | * |
||
402 | * @return string|null |
||
403 | */ |
||
404 | public function getAddr02() |
||
405 | { |
||
406 | return $this->addr02; |
||
407 | } |
||
408 | |||
409 | 6 | /** |
|
410 | * Set phone_number. |
||
411 | 6 | * |
|
412 | * @param string|null $phone_number |
||
413 | 6 | * |
|
414 | * @return BaseInfo |
||
415 | */ |
||
416 | public function setPhoneNumber($phone_number = null) |
||
417 | { |
||
418 | $this->phone_number = $phone_number; |
||
419 | |||
420 | return $this; |
||
421 | 12 | } |
|
422 | |||
423 | 12 | /** |
|
424 | * Get phone_number. |
||
425 | * |
||
426 | * @return string|null |
||
427 | */ |
||
428 | public function getPhoneNumber() |
||
429 | { |
||
430 | return $this->phone_number; |
||
431 | } |
||
432 | |||
433 | /** |
||
434 | * Set businessHour. |
||
435 | * |
||
436 | * @param string|null $businessHour |
||
437 | * |
||
438 | * @return BaseInfo |
||
439 | */ |
||
440 | public function setBusinessHour($businessHour = null) |
||
441 | { |
||
442 | $this->business_hour = $businessHour; |
||
443 | |||
444 | return $this; |
||
445 | 9 | } |
|
446 | |||
447 | 9 | /** |
|
448 | * Get businessHour. |
||
449 | * |
||
450 | * @return string|null |
||
451 | */ |
||
452 | public function getBusinessHour() |
||
453 | { |
||
454 | return $this->business_hour; |
||
455 | } |
||
456 | |||
457 | 9 | /** |
|
458 | * Set email01. |
||
459 | 9 | * |
|
460 | * @param string|null $email01 |
||
461 | 9 | * |
|
462 | * @return BaseInfo |
||
463 | */ |
||
464 | public function setEmail01($email01 = null) |
||
465 | { |
||
466 | $this->email01 = $email01; |
||
467 | |||
468 | return $this; |
||
469 | 36 | } |
|
470 | |||
471 | 36 | /** |
|
472 | * Get email01. |
||
473 | * |
||
474 | * @return string|null |
||
475 | */ |
||
476 | public function getEmail01() |
||
477 | { |
||
478 | return $this->email01; |
||
479 | } |
||
480 | |||
481 | 7 | /** |
|
482 | * Set email02. |
||
483 | 7 | * |
|
484 | * @param string|null $email02 |
||
485 | 7 | * |
|
486 | * @return BaseInfo |
||
487 | */ |
||
488 | public function setEmail02($email02 = null) |
||
489 | { |
||
490 | $this->email02 = $email02; |
||
491 | |||
492 | return $this; |
||
493 | 22 | } |
|
494 | |||
495 | 22 | /** |
|
496 | * Get email02. |
||
497 | * |
||
498 | * @return string|null |
||
499 | */ |
||
500 | public function getEmail02() |
||
501 | { |
||
502 | return $this->email02; |
||
503 | } |
||
504 | |||
505 | 7 | /** |
|
506 | * Set email03. |
||
507 | 7 | * |
|
508 | * @param string|null $email03 |
||
509 | 7 | * |
|
510 | * @return BaseInfo |
||
511 | */ |
||
512 | public function setEmail03($email03 = null) |
||
513 | { |
||
514 | $this->email03 = $email03; |
||
515 | |||
516 | return $this; |
||
517 | 33 | } |
|
518 | |||
519 | 33 | /** |
|
520 | * Get email03. |
||
521 | * |
||
522 | * @return string|null |
||
523 | */ |
||
524 | public function getEmail03() |
||
525 | { |
||
526 | return $this->email03; |
||
527 | } |
||
528 | |||
529 | 7 | /** |
|
530 | * Set email04. |
||
531 | 7 | * |
|
532 | * @param string|null $email04 |
||
533 | 7 | * |
|
534 | * @return BaseInfo |
||
535 | */ |
||
536 | public function setEmail04($email04 = null) |
||
537 | { |
||
538 | $this->email04 = $email04; |
||
539 | |||
540 | return $this; |
||
541 | 36 | } |
|
542 | |||
543 | 36 | /** |
|
544 | * Get email04. |
||
545 | * |
||
546 | * @return string|null |
||
547 | */ |
||
548 | public function getEmail04() |
||
549 | { |
||
550 | return $this->email04; |
||
551 | } |
||
552 | |||
553 | 9 | /** |
|
554 | * Set shopName. |
||
555 | 9 | * |
|
556 | * @param string|null $shopName |
||
557 | 9 | * |
|
558 | * @return BaseInfo |
||
559 | */ |
||
560 | public function setShopName($shopName = null) |
||
561 | { |
||
562 | $this->shop_name = $shopName; |
||
563 | |||
564 | return $this; |
||
565 | 296 | } |
|
566 | |||
567 | 296 | /** |
|
568 | * Get shopName. |
||
569 | * |
||
570 | * @return string|null |
||
571 | */ |
||
572 | public function getShopName() |
||
573 | { |
||
574 | return $this->shop_name; |
||
575 | } |
||
576 | |||
577 | /** |
||
578 | * Set shopKana. |
||
579 | * |
||
580 | * @param string|null $shopKana |
||
581 | * |
||
582 | * @return BaseInfo |
||
583 | */ |
||
584 | public function setShopKana($shopKana = null) |
||
585 | { |
||
586 | $this->shop_kana = $shopKana; |
||
587 | |||
588 | return $this; |
||
589 | 8 | } |
|
590 | |||
591 | 8 | /** |
|
592 | * Get shopKana. |
||
593 | * |
||
594 | * @return string|null |
||
595 | */ |
||
596 | public function getShopKana() |
||
597 | { |
||
598 | return $this->shop_kana; |
||
599 | } |
||
600 | |||
601 | /** |
||
602 | * Set shopNameEng. |
||
603 | * |
||
604 | * @param string|null $shopNameEng |
||
605 | * |
||
606 | * @return BaseInfo |
||
607 | */ |
||
608 | public function setShopNameEng($shopNameEng = null) |
||
609 | { |
||
610 | $this->shop_name_eng = $shopNameEng; |
||
611 | |||
612 | return $this; |
||
613 | 8 | } |
|
614 | |||
615 | 8 | /** |
|
616 | * Get shopNameEng. |
||
617 | * |
||
618 | * @return string|null |
||
619 | */ |
||
620 | public function getShopNameEng() |
||
621 | { |
||
622 | return $this->shop_name_eng; |
||
623 | } |
||
624 | |||
625 | 53 | /** |
|
626 | * Set updateDate. |
||
627 | 53 | * |
|
628 | * @param \DateTime $updateDate |
||
629 | 53 | * |
|
630 | * @return BaseInfo |
||
631 | */ |
||
632 | public function setUpdateDate($updateDate) |
||
633 | { |
||
634 | $this->update_date = $updateDate; |
||
635 | |||
636 | return $this; |
||
637 | } |
||
638 | |||
639 | /** |
||
640 | * Get updateDate. |
||
641 | * |
||
642 | * @return \DateTime |
||
643 | */ |
||
644 | public function getUpdateDate() |
||
645 | { |
||
646 | return $this->update_date; |
||
647 | } |
||
648 | |||
649 | /** |
||
650 | * Set goodTraded. |
||
651 | * |
||
652 | * @param string|null $goodTraded |
||
653 | * |
||
654 | * @return BaseInfo |
||
655 | */ |
||
656 | public function setGoodTraded($goodTraded = null) |
||
657 | { |
||
658 | $this->good_traded = $goodTraded; |
||
659 | |||
660 | return $this; |
||
661 | 9 | } |
|
662 | |||
663 | 9 | /** |
|
664 | * Get goodTraded. |
||
665 | * |
||
666 | * @return string|null |
||
667 | */ |
||
668 | public function getGoodTraded() |
||
669 | { |
||
670 | return $this->good_traded; |
||
671 | } |
||
672 | |||
673 | /** |
||
674 | * Set message. |
||
675 | * |
||
676 | * @param string|null $message |
||
677 | * |
||
678 | * @return BaseInfo |
||
679 | */ |
||
680 | public function setMessage($message = null) |
||
681 | { |
||
682 | $this->message = $message; |
||
683 | |||
684 | return $this; |
||
685 | 9 | } |
|
686 | |||
687 | 9 | /** |
|
688 | * Get message. |
||
689 | * |
||
690 | * @return string|null |
||
691 | */ |
||
692 | public function getMessage() |
||
693 | { |
||
694 | return $this->message; |
||
695 | } |
||
696 | |||
697 | 18 | /** |
|
698 | * Set deliveryFreeAmount. |
||
699 | 18 | * |
|
700 | * @param string|null $deliveryFreeAmount |
||
701 | 18 | * |
|
702 | * @return BaseInfo |
||
703 | */ |
||
704 | public function setDeliveryFreeAmount($deliveryFreeAmount = null) |
||
705 | { |
||
706 | $this->delivery_free_amount = $deliveryFreeAmount; |
||
707 | |||
708 | return $this; |
||
709 | 99 | } |
|
710 | |||
711 | 99 | /** |
|
712 | * Get deliveryFreeAmount. |
||
713 | * |
||
714 | * @return string|null |
||
715 | */ |
||
716 | public function getDeliveryFreeAmount() |
||
717 | { |
||
718 | return $this->delivery_free_amount; |
||
719 | } |
||
720 | |||
721 | 18 | /** |
|
722 | * Set deliveryFreeQuantity. |
||
723 | 18 | * |
|
724 | * @param int|null $deliveryFreeQuantity |
||
725 | 18 | * |
|
726 | * @return BaseInfo |
||
727 | */ |
||
728 | public function setDeliveryFreeQuantity($deliveryFreeQuantity = null) |
||
729 | { |
||
730 | $this->delivery_free_quantity = $deliveryFreeQuantity; |
||
731 | |||
732 | return $this; |
||
733 | 99 | } |
|
734 | |||
735 | 99 | /** |
|
736 | * Get deliveryFreeQuantity. |
||
737 | * |
||
738 | * @return int|null |
||
739 | */ |
||
740 | public function getDeliveryFreeQuantity() |
||
741 | { |
||
742 | return $this->delivery_free_quantity; |
||
743 | } |
||
744 | |||
745 | 7 | /** |
|
746 | * Set optionMypageOrderStatusDisplay. |
||
747 | 7 | * |
|
748 | * @param boolean $optionMypageOrderStatusDisplay |
||
749 | 7 | * |
|
750 | * @return BaseInfo |
||
751 | */ |
||
752 | public function setOptionMypageOrderStatusDisplay($optionMypageOrderStatusDisplay) |
||
753 | { |
||
754 | $this->option_mypage_order_status_display = $optionMypageOrderStatusDisplay; |
||
755 | |||
756 | return $this; |
||
757 | 8 | } |
|
758 | |||
759 | 8 | /** |
|
760 | * Get optionMypageOrderStatusDisplay. |
||
761 | * |
||
762 | * @return boolean |
||
763 | */ |
||
764 | public function isOptionMypageOrderStatusDisplay() |
||
765 | { |
||
766 | return $this->option_mypage_order_status_display; |
||
767 | } |
||
768 | |||
769 | /** |
||
770 | * Set optionNostockHidden. |
||
771 | * |
||
772 | * @param integer $optionNostockHidden |
||
773 | * |
||
774 | * @return BaseInfo |
||
775 | */ |
||
776 | public function setOptionNostockHidden($optionNostockHidden) |
||
777 | { |
||
778 | $this->option_nostock_hidden = $optionNostockHidden; |
||
0 ignored issues
–
show
|
|||
779 | |||
780 | return $this; |
||
781 | 8 | } |
|
782 | |||
783 | 8 | /** |
|
784 | * Get optionNostockHidden. |
||
785 | * |
||
786 | * @return boolean |
||
787 | */ |
||
788 | public function isOptionNostockHidden() |
||
789 | { |
||
790 | return $this->option_nostock_hidden; |
||
791 | } |
||
792 | |||
793 | 10 | /** |
|
794 | * Set optionFavoriteProduct. |
||
795 | 10 | * |
|
796 | * @param boolean $optionFavoriteProduct |
||
797 | 10 | * |
|
798 | * @return BaseInfo |
||
799 | */ |
||
800 | public function setOptionFavoriteProduct($optionFavoriteProduct) |
||
801 | { |
||
802 | $this->option_favorite_product = $optionFavoriteProduct; |
||
803 | |||
804 | return $this; |
||
805 | 121 | } |
|
806 | |||
807 | 121 | /** |
|
808 | * Get optionFavoriteProduct. |
||
809 | * |
||
810 | * @return boolean |
||
811 | */ |
||
812 | public function isOptionFavoriteProduct() |
||
813 | { |
||
814 | return $this->option_favorite_product; |
||
815 | } |
||
816 | |||
817 | /** |
||
818 | * Set optionProductDeliveryFee. |
||
819 | * |
||
820 | * @param boolean $optionProductDeliveryFee |
||
821 | * |
||
822 | * @return BaseInfo |
||
823 | */ |
||
824 | public function setOptionProductDeliveryFee($optionProductDeliveryFee) |
||
825 | { |
||
826 | $this->option_product_delivery_fee = $optionProductDeliveryFee; |
||
827 | |||
828 | return $this; |
||
829 | 31 | } |
|
830 | |||
831 | 31 | /** |
|
832 | * Get optionProductDeliveryFee. |
||
833 | * |
||
834 | * @return boolean |
||
835 | */ |
||
836 | public function isOptionProductDeliveryFee() |
||
837 | { |
||
838 | return $this->option_product_delivery_fee; |
||
839 | } |
||
840 | |||
841 | 41 | /** |
|
842 | * Set optionProductTaxRule. |
||
843 | 41 | * |
|
844 | * @param boolean $optionProductTaxRule |
||
845 | 41 | * |
|
846 | * @return BaseInfo |
||
847 | */ |
||
848 | public function setOptionProductTaxRule($optionProductTaxRule) |
||
849 | { |
||
850 | $this->option_product_tax_rule = $optionProductTaxRule; |
||
851 | |||
852 | return $this; |
||
853 | 474 | } |
|
854 | |||
855 | 474 | /** |
|
856 | * Get optionProductTaxRule. |
||
857 | * |
||
858 | * @return boolean |
||
859 | */ |
||
860 | public function isOptionProductTaxRule() |
||
861 | { |
||
862 | return $this->option_product_tax_rule; |
||
863 | } |
||
864 | |||
865 | 8 | /** |
|
866 | * Set optionCustomerActivate. |
||
867 | 8 | * |
|
868 | * @param boolean $optionCustomerActivate |
||
869 | 8 | * |
|
870 | * @return BaseInfo |
||
871 | */ |
||
872 | public function setOptionCustomerActivate($optionCustomerActivate) |
||
873 | { |
||
874 | $this->option_customer_activate = $optionCustomerActivate; |
||
875 | |||
876 | return $this; |
||
877 | 9 | } |
|
878 | |||
879 | 9 | /** |
|
880 | * Get optionCustomerActivate. |
||
881 | * |
||
882 | * @return boolean |
||
883 | */ |
||
884 | public function isOptionCustomerActivate() |
||
885 | { |
||
886 | return $this->option_customer_activate; |
||
887 | } |
||
888 | |||
889 | 7 | /** |
|
890 | * Set optionRememberMe. |
||
891 | 7 | * |
|
892 | * @param boolean $optionRememberMe |
||
893 | 7 | * |
|
894 | * @return BaseInfo |
||
895 | */ |
||
896 | public function setOptionRememberMe($optionRememberMe) |
||
897 | { |
||
898 | $this->option_remember_me = $optionRememberMe; |
||
899 | |||
900 | return $this; |
||
901 | 11 | } |
|
902 | |||
903 | 11 | /** |
|
904 | * Get optionRememberMe. |
||
905 | * |
||
906 | * @return boolean |
||
907 | */ |
||
908 | public function isOptionRememberMe() |
||
909 | { |
||
910 | return $this->option_remember_me; |
||
911 | } |
||
912 | |||
913 | /** |
||
914 | * Set authenticationKey. |
||
915 | * |
||
916 | * @param string|null $authenticationKey |
||
917 | * |
||
918 | * @return BaseInfo |
||
919 | */ |
||
920 | public function setAuthenticationKey($authenticationKey = null) |
||
921 | { |
||
922 | $this->authentication_key = $authenticationKey; |
||
923 | |||
924 | return $this; |
||
925 | } |
||
926 | |||
927 | /** |
||
928 | * Get authenticationKey. |
||
929 | * |
||
930 | * @return string|null |
||
931 | */ |
||
932 | public function getAuthenticationKey() |
||
933 | { |
||
934 | return $this->authentication_key; |
||
935 | } |
||
936 | |||
937 | /** |
||
938 | * Set country. |
||
939 | * |
||
940 | * @param \Eccube\Entity\Master\Country|null $country |
||
941 | * |
||
942 | * @return BaseInfo |
||
943 | */ |
||
944 | public function setCountry(\Eccube\Entity\Master\Country $country = null) |
||
945 | { |
||
946 | $this->Country = $country; |
||
947 | |||
948 | return $this; |
||
949 | } |
||
950 | |||
951 | /** |
||
952 | * Get country. |
||
953 | * |
||
954 | * @return \Eccube\Entity\Master\Country|null |
||
955 | */ |
||
956 | public function getCountry() |
||
957 | { |
||
958 | return $this->Country; |
||
959 | } |
||
960 | |||
961 | /** |
||
962 | * Set pref. |
||
963 | * |
||
964 | * @param \Eccube\Entity\Master\Pref|null $pref |
||
965 | * |
||
966 | * @return BaseInfo |
||
967 | */ |
||
968 | public function setPref(\Eccube\Entity\Master\Pref $pref = null) |
||
969 | { |
||
970 | $this->Pref = $pref; |
||
971 | |||
972 | return $this; |
||
973 | 8 | } |
|
974 | |||
975 | 8 | /** |
|
976 | * Get pref. |
||
977 | * |
||
978 | * @return \Eccube\Entity\Master\Pref|null |
||
979 | */ |
||
980 | public function getPref() |
||
981 | { |
||
982 | return $this->Pref; |
||
983 | } |
||
984 | |||
985 | 7 | /** |
|
986 | * Set optionPoint |
||
987 | 7 | * |
|
988 | * @param boolean $optionPoint |
||
989 | 7 | * |
|
990 | * @return BaseInfo |
||
991 | */ |
||
992 | public function setOptionPoint($optionPoint) |
||
993 | { |
||
994 | $this->option_point = $optionPoint; |
||
995 | |||
996 | return $this; |
||
997 | 273 | } |
|
998 | |||
999 | 273 | /** |
|
1000 | * Get optionPoint |
||
1001 | * |
||
1002 | * @return boolean |
||
1003 | */ |
||
1004 | public function isOptionPoint() |
||
1005 | { |
||
1006 | return $this->option_point; |
||
1007 | } |
||
1008 | |||
1009 | 10 | /** |
|
1010 | * Set pointConversionRate |
||
1011 | 10 | * |
|
1012 | * @param string $pointConversionRate |
||
1013 | 10 | * |
|
1014 | * @return BaseInfo |
||
1015 | */ |
||
1016 | public function setPointConversionRate($pointConversionRate) |
||
1017 | { |
||
1018 | $this->point_conversion_rate = $pointConversionRate; |
||
1019 | |||
1020 | return $this; |
||
1021 | 25 | } |
|
1022 | |||
1023 | 25 | /** |
|
1024 | * Get pointConversionRate |
||
1025 | * |
||
1026 | * @return string |
||
1027 | */ |
||
1028 | public function getPointConversionRate() |
||
1029 | { |
||
1030 | return $this->point_conversion_rate; |
||
1031 | } |
||
1032 | |||
1033 | 10 | /** |
|
1034 | * Set basicPointRate |
||
1035 | 10 | * |
|
1036 | * @param string $basicPointRate |
||
1037 | 10 | * |
|
1038 | * @return BaseInfo |
||
1039 | */ |
||
1040 | public function setBasicPointRate($basicPointRate) |
||
1041 | { |
||
1042 | $this->basic_point_rate = $basicPointRate; |
||
1043 | |||
1044 | return $this; |
||
1045 | 223 | } |
|
1046 | |||
1047 | 223 | /** |
|
1048 | * Get basicPointRate |
||
1049 | * |
||
1050 | * @return string |
||
1051 | */ |
||
1052 | public function getBasicPointRate() |
||
1053 | { |
||
1054 | return $this->basic_point_rate; |
||
1055 | } |
||
1056 | |||
1057 | /** |
||
1058 | * @return null|string |
||
1059 | */ |
||
1060 | public function getPhpPath() |
||
1061 | { |
||
1062 | return $this->php_path; |
||
1063 | } |
||
1064 | |||
1065 | /** |
||
1066 | * @param null|string $php_path |
||
1067 | * |
||
1068 | * @return $this |
||
1069 | */ |
||
1070 | public function setPhpPath($php_path) |
||
1071 | { |
||
1072 | $this->php_path = $php_path; |
||
1073 | |||
1074 | return $this; |
||
1075 | } |
||
1076 | } |
||
1077 | } |
||
1078 |
This check looks for assignments to scalar types that may be of the wrong type.
To ensure the code behaves as expected, it may be a good idea to add an explicit type cast.