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) EC-CUBE CO.,LTD. All Rights Reserved. |
||
7 | * |
||
8 | * http://www.ec-cube.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 | * @deprecated 使用していないため、削除予定 |
||
232 | * |
||
233 | * @ORM\Column(name="php_path", type="string", length=255, nullable=true) |
||
234 | */ |
||
235 | private $php_path; |
||
236 | |||
237 | /** |
||
238 | * @var boolean |
||
239 | * |
||
240 | * @ORM\Column(name="option_point", type="boolean", options={"default":true}) |
||
241 | */ |
||
242 | private $option_point = true; |
||
243 | |||
244 | /** |
||
245 | * @var string |
||
246 | * |
||
247 | * @ORM\Column(name="basic_point_rate", type="decimal", precision=10, scale=0, options={"unsigned":true, "default":1}, nullable=true) |
||
248 | */ |
||
249 | private $basic_point_rate = '1'; |
||
250 | |||
251 | /** |
||
252 | * @var string |
||
253 | * |
||
254 | * @ORM\Column(name="point_conversion_rate", type="decimal", precision=10, scale=0, options={"unsigned":true, "default":1}, nullable=true) |
||
255 | */ |
||
256 | private $point_conversion_rate = '1'; |
||
257 | |||
258 | /** |
||
259 | * @var \Eccube\Entity\Master\Country |
||
260 | * |
||
261 | * @ORM\ManyToOne(targetEntity="Eccube\Entity\Master\Country") |
||
262 | * @ORM\JoinColumns({ |
||
263 | * @ORM\JoinColumn(name="country_id", referencedColumnName="id") |
||
264 | * }) |
||
265 | * @ORM\Cache(usage="NONSTRICT_READ_WRITE") |
||
266 | */ |
||
267 | private $Country; |
||
268 | |||
269 | /** |
||
270 | * @var \Eccube\Entity\Master\Pref |
||
271 | * |
||
272 | * @ORM\ManyToOne(targetEntity="Eccube\Entity\Master\Pref") |
||
273 | * @ORM\JoinColumns({ |
||
274 | * @ORM\JoinColumn(name="pref_id", referencedColumnName="id") |
||
275 | * }) |
||
276 | * @ORM\Cache(usage="NONSTRICT_READ_WRITE") |
||
277 | 2 | */ |
|
278 | private $Pref; |
||
279 | 2 | ||
280 | /** |
||
281 | * Get id. |
||
282 | * |
||
283 | * @return int |
||
284 | */ |
||
285 | public function getId() |
||
286 | { |
||
287 | return $this->id; |
||
288 | } |
||
289 | 2 | ||
290 | /** |
||
291 | 2 | * Set companyName. |
|
292 | * |
||
293 | 2 | * @param string|null $companyName |
|
294 | * |
||
295 | * @return BaseInfo |
||
296 | */ |
||
297 | public function setCompanyName($companyName = null) |
||
298 | { |
||
299 | $this->company_name = $companyName; |
||
300 | |||
301 | 11 | return $this; |
|
302 | } |
||
303 | 11 | ||
304 | /** |
||
305 | * Get companyName. |
||
306 | * |
||
307 | * @return string|null |
||
308 | */ |
||
309 | public function getCompanyName() |
||
310 | { |
||
311 | return $this->company_name; |
||
312 | } |
||
313 | |||
314 | /** |
||
315 | * Set companyKana. |
||
316 | * |
||
317 | * @param string|null $companyKana |
||
318 | * |
||
319 | * @return BaseInfo |
||
320 | */ |
||
321 | public function setCompanyKana($companyKana = null) |
||
322 | { |
||
323 | $this->company_kana = $companyKana; |
||
324 | |||
325 | 8 | return $this; |
|
326 | } |
||
327 | 8 | ||
328 | /** |
||
329 | * Get companyKana. |
||
330 | * |
||
331 | * @return string|null |
||
332 | */ |
||
333 | public function getCompanyKana() |
||
334 | { |
||
335 | return $this->company_kana; |
||
336 | } |
||
337 | |||
338 | /** |
||
339 | * Set postal_code. |
||
340 | * |
||
341 | * @param string|null $postal_code |
||
342 | * |
||
343 | * @return BaseInfo |
||
344 | */ |
||
345 | public function setPostalCode($postal_code = null) |
||
346 | { |
||
347 | $this->postal_code = $postal_code; |
||
348 | |||
349 | 9 | return $this; |
|
350 | } |
||
351 | 9 | ||
352 | /** |
||
353 | * Get postal_code. |
||
354 | * |
||
355 | * @return string|null |
||
356 | */ |
||
357 | public function getPostalCode() |
||
358 | { |
||
359 | return $this->postal_code; |
||
360 | } |
||
361 | 2 | ||
362 | /** |
||
363 | 2 | * Set addr01. |
|
364 | * |
||
365 | 2 | * @param string|null $addr01 |
|
366 | * |
||
367 | * @return BaseInfo |
||
368 | */ |
||
369 | public function setAddr01($addr01 = null) |
||
370 | { |
||
371 | $this->addr01 = $addr01; |
||
372 | |||
373 | 11 | return $this; |
|
374 | } |
||
375 | 11 | ||
376 | /** |
||
377 | * Get addr01. |
||
378 | * |
||
379 | * @return string|null |
||
380 | */ |
||
381 | public function getAddr01() |
||
382 | { |
||
383 | return $this->addr01; |
||
384 | } |
||
385 | 2 | ||
386 | /** |
||
387 | 2 | * Set addr02. |
|
388 | * |
||
389 | 2 | * @param string|null $addr02 |
|
390 | * |
||
391 | * @return BaseInfo |
||
392 | */ |
||
393 | public function setAddr02($addr02 = null) |
||
394 | { |
||
395 | $this->addr02 = $addr02; |
||
396 | |||
397 | 11 | return $this; |
|
398 | } |
||
399 | 11 | ||
400 | /** |
||
401 | * Get addr02. |
||
402 | * |
||
403 | * @return string|null |
||
404 | */ |
||
405 | public function getAddr02() |
||
406 | { |
||
407 | return $this->addr02; |
||
408 | } |
||
409 | 6 | ||
410 | /** |
||
411 | 6 | * Set phone_number. |
|
412 | * |
||
413 | 6 | * @param string|null $phone_number |
|
414 | * |
||
415 | * @return BaseInfo |
||
416 | */ |
||
417 | public function setPhoneNumber($phone_number = null) |
||
418 | { |
||
419 | $this->phone_number = $phone_number; |
||
420 | |||
421 | 12 | return $this; |
|
422 | } |
||
423 | 12 | ||
424 | /** |
||
425 | * Get phone_number. |
||
426 | * |
||
427 | * @return string|null |
||
428 | */ |
||
429 | public function getPhoneNumber() |
||
430 | { |
||
431 | return $this->phone_number; |
||
432 | } |
||
433 | |||
434 | /** |
||
435 | * Set businessHour. |
||
436 | * |
||
437 | * @param string|null $businessHour |
||
438 | * |
||
439 | * @return BaseInfo |
||
440 | */ |
||
441 | public function setBusinessHour($businessHour = null) |
||
442 | { |
||
443 | $this->business_hour = $businessHour; |
||
444 | |||
445 | 9 | return $this; |
|
446 | } |
||
447 | 9 | ||
448 | /** |
||
449 | * Get businessHour. |
||
450 | * |
||
451 | * @return string|null |
||
452 | */ |
||
453 | public function getBusinessHour() |
||
454 | { |
||
455 | return $this->business_hour; |
||
456 | } |
||
457 | 9 | ||
458 | /** |
||
459 | 9 | * Set email01. |
|
460 | * |
||
461 | 9 | * @param string|null $email01 |
|
462 | * |
||
463 | * @return BaseInfo |
||
464 | */ |
||
465 | public function setEmail01($email01 = null) |
||
466 | { |
||
467 | $this->email01 = $email01; |
||
468 | |||
469 | 36 | return $this; |
|
470 | } |
||
471 | 36 | ||
472 | /** |
||
473 | * Get email01. |
||
474 | * |
||
475 | * @return string|null |
||
476 | */ |
||
477 | public function getEmail01() |
||
478 | { |
||
479 | return $this->email01; |
||
480 | } |
||
481 | 7 | ||
482 | /** |
||
483 | 7 | * Set email02. |
|
484 | * |
||
485 | 7 | * @param string|null $email02 |
|
486 | * |
||
487 | * @return BaseInfo |
||
488 | */ |
||
489 | public function setEmail02($email02 = null) |
||
490 | { |
||
491 | $this->email02 = $email02; |
||
492 | |||
493 | 22 | return $this; |
|
494 | } |
||
495 | 22 | ||
496 | /** |
||
497 | * Get email02. |
||
498 | * |
||
499 | * @return string|null |
||
500 | */ |
||
501 | public function getEmail02() |
||
502 | { |
||
503 | return $this->email02; |
||
504 | } |
||
505 | 7 | ||
506 | /** |
||
507 | 7 | * Set email03. |
|
508 | * |
||
509 | 7 | * @param string|null $email03 |
|
510 | * |
||
511 | * @return BaseInfo |
||
512 | */ |
||
513 | public function setEmail03($email03 = null) |
||
514 | { |
||
515 | $this->email03 = $email03; |
||
516 | |||
517 | 33 | return $this; |
|
518 | } |
||
519 | 33 | ||
520 | /** |
||
521 | * Get email03. |
||
522 | * |
||
523 | * @return string|null |
||
524 | */ |
||
525 | public function getEmail03() |
||
526 | { |
||
527 | return $this->email03; |
||
528 | } |
||
529 | 7 | ||
530 | /** |
||
531 | 7 | * Set email04. |
|
532 | * |
||
533 | 7 | * @param string|null $email04 |
|
534 | * |
||
535 | * @return BaseInfo |
||
536 | */ |
||
537 | public function setEmail04($email04 = null) |
||
538 | { |
||
539 | $this->email04 = $email04; |
||
540 | |||
541 | 36 | return $this; |
|
542 | } |
||
543 | 36 | ||
544 | /** |
||
545 | * Get email04. |
||
546 | * |
||
547 | * @return string|null |
||
548 | */ |
||
549 | public function getEmail04() |
||
550 | { |
||
551 | return $this->email04; |
||
552 | } |
||
553 | 9 | ||
554 | /** |
||
555 | 9 | * Set shopName. |
|
556 | * |
||
557 | 9 | * @param string|null $shopName |
|
558 | * |
||
559 | * @return BaseInfo |
||
560 | */ |
||
561 | public function setShopName($shopName = null) |
||
562 | { |
||
563 | $this->shop_name = $shopName; |
||
564 | |||
565 | 296 | return $this; |
|
566 | } |
||
567 | 296 | ||
568 | /** |
||
569 | * Get shopName. |
||
570 | * |
||
571 | * @return string|null |
||
572 | */ |
||
573 | public function getShopName() |
||
574 | { |
||
575 | return $this->shop_name; |
||
576 | } |
||
577 | |||
578 | /** |
||
579 | * Set shopKana. |
||
580 | * |
||
581 | * @param string|null $shopKana |
||
582 | * |
||
583 | * @return BaseInfo |
||
584 | */ |
||
585 | public function setShopKana($shopKana = null) |
||
586 | { |
||
587 | $this->shop_kana = $shopKana; |
||
588 | |||
589 | 8 | return $this; |
|
590 | } |
||
591 | 8 | ||
592 | /** |
||
593 | * Get shopKana. |
||
594 | * |
||
595 | * @return string|null |
||
596 | */ |
||
597 | public function getShopKana() |
||
598 | { |
||
599 | return $this->shop_kana; |
||
600 | } |
||
601 | |||
602 | /** |
||
603 | * Set shopNameEng. |
||
604 | * |
||
605 | * @param string|null $shopNameEng |
||
606 | * |
||
607 | * @return BaseInfo |
||
608 | */ |
||
609 | public function setShopNameEng($shopNameEng = null) |
||
610 | { |
||
611 | $this->shop_name_eng = $shopNameEng; |
||
612 | |||
613 | 8 | return $this; |
|
614 | } |
||
615 | 8 | ||
616 | /** |
||
617 | * Get shopNameEng. |
||
618 | * |
||
619 | * @return string|null |
||
620 | */ |
||
621 | public function getShopNameEng() |
||
622 | { |
||
623 | return $this->shop_name_eng; |
||
624 | } |
||
625 | 53 | ||
626 | /** |
||
627 | 53 | * Set updateDate. |
|
628 | * |
||
629 | 53 | * @param \DateTime $updateDate |
|
630 | * |
||
631 | * @return BaseInfo |
||
632 | */ |
||
633 | public function setUpdateDate($updateDate) |
||
634 | { |
||
635 | $this->update_date = $updateDate; |
||
636 | |||
637 | return $this; |
||
638 | } |
||
639 | |||
640 | /** |
||
641 | * Get updateDate. |
||
642 | * |
||
643 | * @return \DateTime |
||
644 | */ |
||
645 | public function getUpdateDate() |
||
646 | { |
||
647 | return $this->update_date; |
||
648 | } |
||
649 | |||
650 | /** |
||
651 | * Set goodTraded. |
||
652 | * |
||
653 | * @param string|null $goodTraded |
||
654 | * |
||
655 | * @return BaseInfo |
||
656 | */ |
||
657 | public function setGoodTraded($goodTraded = null) |
||
658 | { |
||
659 | $this->good_traded = $goodTraded; |
||
660 | |||
661 | 9 | return $this; |
|
662 | } |
||
663 | 9 | ||
664 | /** |
||
665 | * Get goodTraded. |
||
666 | * |
||
667 | * @return string|null |
||
668 | */ |
||
669 | public function getGoodTraded() |
||
670 | { |
||
671 | return $this->good_traded; |
||
672 | } |
||
673 | |||
674 | /** |
||
675 | * Set message. |
||
676 | * |
||
677 | * @param string|null $message |
||
678 | * |
||
679 | * @return BaseInfo |
||
680 | */ |
||
681 | public function setMessage($message = null) |
||
682 | { |
||
683 | $this->message = $message; |
||
684 | |||
685 | 9 | return $this; |
|
686 | } |
||
687 | 9 | ||
688 | /** |
||
689 | * Get message. |
||
690 | * |
||
691 | * @return string|null |
||
692 | */ |
||
693 | public function getMessage() |
||
694 | { |
||
695 | return $this->message; |
||
696 | } |
||
697 | 18 | ||
698 | /** |
||
699 | 18 | * Set deliveryFreeAmount. |
|
700 | * |
||
701 | 18 | * @param string|null $deliveryFreeAmount |
|
702 | * |
||
703 | * @return BaseInfo |
||
704 | */ |
||
705 | public function setDeliveryFreeAmount($deliveryFreeAmount = null) |
||
706 | { |
||
707 | $this->delivery_free_amount = $deliveryFreeAmount; |
||
708 | |||
709 | 99 | return $this; |
|
710 | } |
||
711 | 99 | ||
712 | /** |
||
713 | * Get deliveryFreeAmount. |
||
714 | * |
||
715 | * @return string|null |
||
716 | */ |
||
717 | public function getDeliveryFreeAmount() |
||
718 | { |
||
719 | return $this->delivery_free_amount; |
||
720 | } |
||
721 | 18 | ||
722 | /** |
||
723 | 18 | * Set deliveryFreeQuantity. |
|
724 | * |
||
725 | 18 | * @param int|null $deliveryFreeQuantity |
|
726 | * |
||
727 | * @return BaseInfo |
||
728 | */ |
||
729 | public function setDeliveryFreeQuantity($deliveryFreeQuantity = null) |
||
730 | { |
||
731 | $this->delivery_free_quantity = $deliveryFreeQuantity; |
||
732 | |||
733 | 99 | return $this; |
|
734 | } |
||
735 | 99 | ||
736 | /** |
||
737 | * Get deliveryFreeQuantity. |
||
738 | * |
||
739 | * @return int|null |
||
740 | */ |
||
741 | public function getDeliveryFreeQuantity() |
||
742 | { |
||
743 | return $this->delivery_free_quantity; |
||
744 | } |
||
745 | 7 | ||
746 | /** |
||
747 | 7 | * Set optionMypageOrderStatusDisplay. |
|
748 | * |
||
749 | 7 | * @param boolean $optionMypageOrderStatusDisplay |
|
750 | * |
||
751 | * @return BaseInfo |
||
752 | */ |
||
753 | public function setOptionMypageOrderStatusDisplay($optionMypageOrderStatusDisplay) |
||
754 | { |
||
755 | $this->option_mypage_order_status_display = $optionMypageOrderStatusDisplay; |
||
756 | |||
757 | 8 | return $this; |
|
758 | } |
||
759 | 8 | ||
760 | /** |
||
761 | * Get optionMypageOrderStatusDisplay. |
||
762 | * |
||
763 | * @return boolean |
||
764 | */ |
||
765 | public function isOptionMypageOrderStatusDisplay() |
||
766 | { |
||
767 | return $this->option_mypage_order_status_display; |
||
768 | } |
||
769 | |||
770 | /** |
||
771 | * Set optionNostockHidden. |
||
772 | * |
||
773 | * @param integer $optionNostockHidden |
||
774 | * |
||
775 | * @return BaseInfo |
||
776 | */ |
||
777 | public function setOptionNostockHidden($optionNostockHidden) |
||
778 | { |
||
779 | $this->option_nostock_hidden = $optionNostockHidden; |
||
0 ignored issues
–
show
|
|||
780 | |||
781 | 8 | return $this; |
|
782 | } |
||
783 | 8 | ||
784 | /** |
||
785 | * Get optionNostockHidden. |
||
786 | * |
||
787 | * @return boolean |
||
788 | */ |
||
789 | public function isOptionNostockHidden() |
||
790 | { |
||
791 | return $this->option_nostock_hidden; |
||
792 | } |
||
793 | 10 | ||
794 | /** |
||
795 | 10 | * Set optionFavoriteProduct. |
|
796 | * |
||
797 | 10 | * @param boolean $optionFavoriteProduct |
|
798 | * |
||
799 | * @return BaseInfo |
||
800 | */ |
||
801 | public function setOptionFavoriteProduct($optionFavoriteProduct) |
||
802 | { |
||
803 | $this->option_favorite_product = $optionFavoriteProduct; |
||
804 | |||
805 | 121 | return $this; |
|
806 | } |
||
807 | 121 | ||
808 | /** |
||
809 | * Get optionFavoriteProduct. |
||
810 | * |
||
811 | * @return boolean |
||
812 | */ |
||
813 | public function isOptionFavoriteProduct() |
||
814 | { |
||
815 | return $this->option_favorite_product; |
||
816 | } |
||
817 | |||
818 | /** |
||
819 | * Set optionProductDeliveryFee. |
||
820 | * |
||
821 | * @param boolean $optionProductDeliveryFee |
||
822 | * |
||
823 | * @return BaseInfo |
||
824 | */ |
||
825 | public function setOptionProductDeliveryFee($optionProductDeliveryFee) |
||
826 | { |
||
827 | $this->option_product_delivery_fee = $optionProductDeliveryFee; |
||
828 | |||
829 | 31 | return $this; |
|
830 | } |
||
831 | 31 | ||
832 | /** |
||
833 | * Get optionProductDeliveryFee. |
||
834 | * |
||
835 | * @return boolean |
||
836 | */ |
||
837 | public function isOptionProductDeliveryFee() |
||
838 | { |
||
839 | return $this->option_product_delivery_fee; |
||
840 | } |
||
841 | 41 | ||
842 | /** |
||
843 | 41 | * Set optionProductTaxRule. |
|
844 | * |
||
845 | 41 | * @param boolean $optionProductTaxRule |
|
846 | * |
||
847 | * @return BaseInfo |
||
848 | */ |
||
849 | public function setOptionProductTaxRule($optionProductTaxRule) |
||
850 | { |
||
851 | $this->option_product_tax_rule = $optionProductTaxRule; |
||
852 | |||
853 | 474 | return $this; |
|
854 | } |
||
855 | 474 | ||
856 | /** |
||
857 | * Get optionProductTaxRule. |
||
858 | * |
||
859 | * @return boolean |
||
860 | */ |
||
861 | public function isOptionProductTaxRule() |
||
862 | { |
||
863 | return $this->option_product_tax_rule; |
||
864 | } |
||
865 | 8 | ||
866 | /** |
||
867 | 8 | * Set optionCustomerActivate. |
|
868 | * |
||
869 | 8 | * @param boolean $optionCustomerActivate |
|
870 | * |
||
871 | * @return BaseInfo |
||
872 | */ |
||
873 | public function setOptionCustomerActivate($optionCustomerActivate) |
||
874 | { |
||
875 | $this->option_customer_activate = $optionCustomerActivate; |
||
876 | |||
877 | 9 | return $this; |
|
878 | } |
||
879 | 9 | ||
880 | /** |
||
881 | * Get optionCustomerActivate. |
||
882 | * |
||
883 | * @return boolean |
||
884 | */ |
||
885 | public function isOptionCustomerActivate() |
||
886 | { |
||
887 | return $this->option_customer_activate; |
||
888 | } |
||
889 | 7 | ||
890 | /** |
||
891 | 7 | * Set optionRememberMe. |
|
892 | * |
||
893 | 7 | * @param boolean $optionRememberMe |
|
894 | * |
||
895 | * @return BaseInfo |
||
896 | */ |
||
897 | public function setOptionRememberMe($optionRememberMe) |
||
898 | { |
||
899 | $this->option_remember_me = $optionRememberMe; |
||
900 | |||
901 | 11 | return $this; |
|
902 | } |
||
903 | 11 | ||
904 | /** |
||
905 | * Get optionRememberMe. |
||
906 | * |
||
907 | * @return boolean |
||
908 | */ |
||
909 | public function isOptionRememberMe() |
||
910 | { |
||
911 | return $this->option_remember_me; |
||
912 | } |
||
913 | |||
914 | /** |
||
915 | * Set authenticationKey. |
||
916 | * |
||
917 | * @param string|null $authenticationKey |
||
918 | * |
||
919 | * @return BaseInfo |
||
920 | */ |
||
921 | public function setAuthenticationKey($authenticationKey = null) |
||
922 | { |
||
923 | $this->authentication_key = $authenticationKey; |
||
924 | |||
925 | return $this; |
||
926 | } |
||
927 | |||
928 | /** |
||
929 | * Get authenticationKey. |
||
930 | * |
||
931 | * @return string|null |
||
932 | */ |
||
933 | public function getAuthenticationKey() |
||
934 | { |
||
935 | return $this->authentication_key; |
||
936 | } |
||
937 | |||
938 | /** |
||
939 | * Set country. |
||
940 | * |
||
941 | * @param \Eccube\Entity\Master\Country|null $country |
||
942 | * |
||
943 | * @return BaseInfo |
||
944 | */ |
||
945 | public function setCountry(\Eccube\Entity\Master\Country $country = null) |
||
946 | { |
||
947 | $this->Country = $country; |
||
948 | |||
949 | return $this; |
||
950 | } |
||
951 | |||
952 | /** |
||
953 | * Get country. |
||
954 | * |
||
955 | * @return \Eccube\Entity\Master\Country|null |
||
956 | */ |
||
957 | public function getCountry() |
||
958 | { |
||
959 | return $this->Country; |
||
960 | } |
||
961 | |||
962 | /** |
||
963 | * Set pref. |
||
964 | * |
||
965 | * @param \Eccube\Entity\Master\Pref|null $pref |
||
966 | * |
||
967 | * @return BaseInfo |
||
968 | */ |
||
969 | public function setPref(\Eccube\Entity\Master\Pref $pref = null) |
||
970 | { |
||
971 | $this->Pref = $pref; |
||
972 | |||
973 | 8 | return $this; |
|
974 | } |
||
975 | 8 | ||
976 | /** |
||
977 | * Get pref. |
||
978 | * |
||
979 | * @return \Eccube\Entity\Master\Pref|null |
||
980 | */ |
||
981 | public function getPref() |
||
982 | { |
||
983 | return $this->Pref; |
||
984 | } |
||
985 | 7 | ||
986 | /** |
||
987 | 7 | * Set optionPoint |
|
988 | * |
||
989 | 7 | * @param boolean $optionPoint |
|
990 | * |
||
991 | * @return BaseInfo |
||
992 | */ |
||
993 | public function setOptionPoint($optionPoint) |
||
994 | { |
||
995 | $this->option_point = $optionPoint; |
||
996 | |||
997 | 273 | return $this; |
|
998 | } |
||
999 | 273 | ||
1000 | /** |
||
1001 | * Get optionPoint |
||
1002 | * |
||
1003 | * @return boolean |
||
1004 | */ |
||
1005 | public function isOptionPoint() |
||
1006 | { |
||
1007 | return $this->option_point; |
||
1008 | } |
||
1009 | 10 | ||
1010 | /** |
||
1011 | 10 | * Set pointConversionRate |
|
1012 | * |
||
1013 | 10 | * @param string $pointConversionRate |
|
1014 | * |
||
1015 | * @return BaseInfo |
||
1016 | */ |
||
1017 | public function setPointConversionRate($pointConversionRate) |
||
1018 | { |
||
1019 | $this->point_conversion_rate = $pointConversionRate; |
||
1020 | |||
1021 | 25 | return $this; |
|
1022 | } |
||
1023 | 25 | ||
1024 | /** |
||
1025 | * Get pointConversionRate |
||
1026 | * |
||
1027 | * @return string |
||
1028 | */ |
||
1029 | public function getPointConversionRate() |
||
1030 | { |
||
1031 | return $this->point_conversion_rate; |
||
1032 | } |
||
1033 | 10 | ||
1034 | /** |
||
1035 | 10 | * Set basicPointRate |
|
1036 | * |
||
1037 | 10 | * @param string $basicPointRate |
|
1038 | * |
||
1039 | * @return BaseInfo |
||
1040 | */ |
||
1041 | public function setBasicPointRate($basicPointRate) |
||
1042 | { |
||
1043 | $this->basic_point_rate = $basicPointRate; |
||
1044 | |||
1045 | 223 | return $this; |
|
1046 | } |
||
1047 | 223 | ||
1048 | /** |
||
1049 | * Get basicPointRate |
||
1050 | * |
||
1051 | * @return string |
||
1052 | */ |
||
1053 | public function getBasicPointRate() |
||
1054 | { |
||
1055 | return $this->basic_point_rate; |
||
1056 | } |
||
1057 | |||
1058 | /** |
||
1059 | * @return null|string |
||
1060 | * @deprecated 使用していないため、削除予定 |
||
1061 | */ |
||
1062 | public function getPhpPath() |
||
1063 | { |
||
1064 | return $this->php_path; |
||
1065 | } |
||
1066 | |||
1067 | /** |
||
1068 | * @param null|string $php_path |
||
1069 | * @deprecated 使用していないため、削除予定 |
||
1070 | * |
||
1071 | * @return $this |
||
1072 | */ |
||
1073 | public function setPhpPath($php_path) |
||
1074 | { |
||
1075 | $this->php_path = $php_path; |
||
1076 | |||
1077 | return $this; |
||
1078 | } |
||
1079 | } |
||
1080 | } |
||
1081 |
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.