Completed
Pull Request — 4.0 (#4642)
by
unknown
05:04
created

BaseInfo::setOptionRequireKana()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 1
dl 0
loc 6
ccs 0
cts 0
cp 0
crap 2
rs 10
c 0
b 0
f 0
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 boolean
224
         *
225
         * @ORM\Column(name="option_require_kana", type="boolean", options={"default":true})
226
         */
227
        private $option_require_kana = true;
228
229
        /**
230
         * @var string|null
231
         *
232
         * @ORM\Column(name="authentication_key", type="string", length=255, nullable=true)
233
         */
234
        private $authentication_key;
235
236
        /**
237
         * @var string|null
238
         * @deprecated 使用していないため、削除予定
239
         *
240
         * @ORM\Column(name="php_path", type="string", length=255, nullable=true)
241
         */
242
        private $php_path;
243
244
        /**
245
         * @var boolean
246
         *
247
         * @ORM\Column(name="option_point", type="boolean", options={"default":true})
248
         */
249
        private $option_point = true;
250
251
        /**
252
         * @var string
253
         *
254
         * @ORM\Column(name="basic_point_rate", type="decimal", precision=10, scale=0, options={"unsigned":true, "default":1}, nullable=true)
255
         */
256
        private $basic_point_rate = '1';
257
258
        /**
259
         * @var string
260
         *
261
         * @ORM\Column(name="point_conversion_rate", type="decimal", precision=10, scale=0, options={"unsigned":true, "default":1}, nullable=true)
262
         */
263
        private $point_conversion_rate = '1';
264
265
        /**
266
         * @var \Eccube\Entity\Master\Country
267
         *
268
         * @ORM\ManyToOne(targetEntity="Eccube\Entity\Master\Country")
269
         * @ORM\JoinColumns({
270
         *   @ORM\JoinColumn(name="country_id", referencedColumnName="id")
271
         * })
272
         * @ORM\Cache(usage="NONSTRICT_READ_WRITE")
273
         */
274
        private $Country;
275
276
        /**
277 2
         * @var \Eccube\Entity\Master\Pref
278
         *
279 2
         * @ORM\ManyToOne(targetEntity="Eccube\Entity\Master\Pref")
280
         * @ORM\JoinColumns({
281
         *   @ORM\JoinColumn(name="pref_id", referencedColumnName="id")
282
         * })
283
         * @ORM\Cache(usage="NONSTRICT_READ_WRITE")
284
         */
285
        private $Pref;
286
287
        /**
288
         * Get id.
289 2
         *
290
         * @return int
291 2
         */
292
        public function getId()
293 2
        {
294
            return $this->id;
295
        }
296
297
        /**
298
         * Set companyName.
299
         *
300
         * @param string|null $companyName
301 11
         *
302
         * @return BaseInfo
303 11
         */
304
        public function setCompanyName($companyName = null)
305
        {
306
            $this->company_name = $companyName;
307
308
            return $this;
309
        }
310
311
        /**
312
         * Get companyName.
313
         *
314
         * @return string|null
315
         */
316
        public function getCompanyName()
317
        {
318
            return $this->company_name;
319
        }
320
321
        /**
322
         * Set companyKana.
323
         *
324
         * @param string|null $companyKana
325 8
         *
326
         * @return BaseInfo
327 8
         */
328
        public function setCompanyKana($companyKana = null)
329
        {
330
            $this->company_kana = $companyKana;
331
332
            return $this;
333
        }
334
335
        /**
336
         * Get companyKana.
337
         *
338
         * @return string|null
339
         */
340
        public function getCompanyKana()
341
        {
342
            return $this->company_kana;
343
        }
344
345
        /**
346
         * Set postal_code.
347
         *
348
         * @param string|null $postal_code
349 9
         *
350
         * @return BaseInfo
351 9
         */
352
        public function setPostalCode($postal_code = null)
353
        {
354
            $this->postal_code = $postal_code;
355
356
            return $this;
357
        }
358
359
        /**
360
         * Get postal_code.
361 2
         *
362
         * @return string|null
363 2
         */
364
        public function getPostalCode()
365 2
        {
366
            return $this->postal_code;
367
        }
368
369
        /**
370
         * Set addr01.
371
         *
372
         * @param string|null $addr01
373 11
         *
374
         * @return BaseInfo
375 11
         */
376
        public function setAddr01($addr01 = null)
377
        {
378
            $this->addr01 = $addr01;
379
380
            return $this;
381
        }
382
383
        /**
384
         * Get addr01.
385 2
         *
386
         * @return string|null
387 2
         */
388
        public function getAddr01()
389 2
        {
390
            return $this->addr01;
391
        }
392
393
        /**
394
         * Set addr02.
395
         *
396
         * @param string|null $addr02
397 11
         *
398
         * @return BaseInfo
399 11
         */
400
        public function setAddr02($addr02 = null)
401
        {
402
            $this->addr02 = $addr02;
403
404
            return $this;
405
        }
406
407
        /**
408
         * Get addr02.
409 6
         *
410
         * @return string|null
411 6
         */
412
        public function getAddr02()
413 6
        {
414
            return $this->addr02;
415
        }
416
417
        /**
418
         * Set phone_number.
419
         *
420
         * @param string|null $phone_number
421 12
         *
422
         * @return BaseInfo
423 12
         */
424
        public function setPhoneNumber($phone_number = null)
425
        {
426
            $this->phone_number = $phone_number;
427
428
            return $this;
429
        }
430
431
        /**
432
         * Get phone_number.
433
         *
434
         * @return string|null
435
         */
436
        public function getPhoneNumber()
437
        {
438
            return $this->phone_number;
439
        }
440
441
        /**
442
         * Set businessHour.
443
         *
444
         * @param string|null $businessHour
445 9
         *
446
         * @return BaseInfo
447 9
         */
448
        public function setBusinessHour($businessHour = null)
449
        {
450
            $this->business_hour = $businessHour;
451
452
            return $this;
453
        }
454
455
        /**
456
         * Get businessHour.
457 9
         *
458
         * @return string|null
459 9
         */
460
        public function getBusinessHour()
461 9
        {
462
            return $this->business_hour;
463
        }
464
465
        /**
466
         * Set email01.
467
         *
468
         * @param string|null $email01
469 36
         *
470
         * @return BaseInfo
471 36
         */
472
        public function setEmail01($email01 = null)
473
        {
474
            $this->email01 = $email01;
475
476
            return $this;
477
        }
478
479
        /**
480
         * Get email01.
481 7
         *
482
         * @return string|null
483 7
         */
484
        public function getEmail01()
485 7
        {
486
            return $this->email01;
487
        }
488
489
        /**
490
         * Set email02.
491
         *
492
         * @param string|null $email02
493 22
         *
494
         * @return BaseInfo
495 22
         */
496
        public function setEmail02($email02 = null)
497
        {
498
            $this->email02 = $email02;
499
500
            return $this;
501
        }
502
503
        /**
504
         * Get email02.
505 7
         *
506
         * @return string|null
507 7
         */
508
        public function getEmail02()
509 7
        {
510
            return $this->email02;
511
        }
512
513
        /**
514
         * Set email03.
515
         *
516
         * @param string|null $email03
517 33
         *
518
         * @return BaseInfo
519 33
         */
520
        public function setEmail03($email03 = null)
521
        {
522
            $this->email03 = $email03;
523
524
            return $this;
525
        }
526
527
        /**
528
         * Get email03.
529 7
         *
530
         * @return string|null
531 7
         */
532
        public function getEmail03()
533 7
        {
534
            return $this->email03;
535
        }
536
537
        /**
538
         * Set email04.
539
         *
540
         * @param string|null $email04
541 36
         *
542
         * @return BaseInfo
543 36
         */
544
        public function setEmail04($email04 = null)
545
        {
546
            $this->email04 = $email04;
547
548
            return $this;
549
        }
550
551
        /**
552
         * Get email04.
553 9
         *
554
         * @return string|null
555 9
         */
556
        public function getEmail04()
557 9
        {
558
            return $this->email04;
559
        }
560
561
        /**
562
         * Set shopName.
563
         *
564
         * @param string|null $shopName
565 296
         *
566
         * @return BaseInfo
567 296
         */
568
        public function setShopName($shopName = null)
569
        {
570
            $this->shop_name = $shopName;
571
572
            return $this;
573
        }
574
575
        /**
576
         * Get shopName.
577
         *
578
         * @return string|null
579
         */
580
        public function getShopName()
581
        {
582
            return $this->shop_name;
583
        }
584
585
        /**
586
         * Set shopKana.
587
         *
588
         * @param string|null $shopKana
589 8
         *
590
         * @return BaseInfo
591 8
         */
592
        public function setShopKana($shopKana = null)
593
        {
594
            $this->shop_kana = $shopKana;
595
596
            return $this;
597
        }
598
599
        /**
600
         * Get shopKana.
601
         *
602
         * @return string|null
603
         */
604
        public function getShopKana()
605
        {
606
            return $this->shop_kana;
607
        }
608
609
        /**
610
         * Set shopNameEng.
611
         *
612
         * @param string|null $shopNameEng
613 8
         *
614
         * @return BaseInfo
615 8
         */
616
        public function setShopNameEng($shopNameEng = null)
617
        {
618
            $this->shop_name_eng = $shopNameEng;
619
620
            return $this;
621
        }
622
623
        /**
624
         * Get shopNameEng.
625 53
         *
626
         * @return string|null
627 53
         */
628
        public function getShopNameEng()
629 53
        {
630
            return $this->shop_name_eng;
631
        }
632
633
        /**
634
         * Set updateDate.
635
         *
636
         * @param \DateTime $updateDate
637
         *
638
         * @return BaseInfo
639
         */
640
        public function setUpdateDate($updateDate)
641
        {
642
            $this->update_date = $updateDate;
643
644
            return $this;
645
        }
646
647
        /**
648
         * Get updateDate.
649
         *
650
         * @return \DateTime
651
         */
652
        public function getUpdateDate()
653
        {
654
            return $this->update_date;
655
        }
656
657
        /**
658
         * Set goodTraded.
659
         *
660
         * @param string|null $goodTraded
661 9
         *
662
         * @return BaseInfo
663 9
         */
664
        public function setGoodTraded($goodTraded = null)
665
        {
666
            $this->good_traded = $goodTraded;
667
668
            return $this;
669
        }
670
671
        /**
672
         * Get goodTraded.
673
         *
674
         * @return string|null
675
         */
676
        public function getGoodTraded()
677
        {
678
            return $this->good_traded;
679
        }
680
681
        /**
682
         * Set message.
683
         *
684
         * @param string|null $message
685 9
         *
686
         * @return BaseInfo
687 9
         */
688
        public function setMessage($message = null)
689
        {
690
            $this->message = $message;
691
692
            return $this;
693
        }
694
695
        /**
696
         * Get message.
697 18
         *
698
         * @return string|null
699 18
         */
700
        public function getMessage()
701 18
        {
702
            return $this->message;
703
        }
704
705
        /**
706
         * Set deliveryFreeAmount.
707
         *
708
         * @param string|null $deliveryFreeAmount
709 99
         *
710
         * @return BaseInfo
711 99
         */
712
        public function setDeliveryFreeAmount($deliveryFreeAmount = null)
713
        {
714
            $this->delivery_free_amount = $deliveryFreeAmount;
715
716
            return $this;
717
        }
718
719
        /**
720
         * Get deliveryFreeAmount.
721 18
         *
722
         * @return string|null
723 18
         */
724
        public function getDeliveryFreeAmount()
725 18
        {
726
            return $this->delivery_free_amount;
727
        }
728
729
        /**
730
         * Set deliveryFreeQuantity.
731
         *
732
         * @param int|null $deliveryFreeQuantity
733 99
         *
734
         * @return BaseInfo
735 99
         */
736
        public function setDeliveryFreeQuantity($deliveryFreeQuantity = null)
737
        {
738
            $this->delivery_free_quantity = $deliveryFreeQuantity;
739
740
            return $this;
741
        }
742
743
        /**
744
         * Get deliveryFreeQuantity.
745 7
         *
746
         * @return int|null
747 7
         */
748
        public function getDeliveryFreeQuantity()
749 7
        {
750
            return $this->delivery_free_quantity;
751
        }
752
753
        /**
754
         * Set optionMypageOrderStatusDisplay.
755
         *
756
         * @param boolean $optionMypageOrderStatusDisplay
757 8
         *
758
         * @return BaseInfo
759 8
         */
760
        public function setOptionMypageOrderStatusDisplay($optionMypageOrderStatusDisplay)
761
        {
762
            $this->option_mypage_order_status_display = $optionMypageOrderStatusDisplay;
763
764
            return $this;
765
        }
766
767
        /**
768
         * Get optionMypageOrderStatusDisplay.
769
         *
770
         * @return boolean
771
         */
772
        public function isOptionMypageOrderStatusDisplay()
773
        {
774
            return $this->option_mypage_order_status_display;
775
        }
776
777
        /**
778
         * Set optionNostockHidden.
779
         *
780
         * @param integer $optionNostockHidden
781 8
         *
782
         * @return BaseInfo
783 8
         */
784
        public function setOptionNostockHidden($optionNostockHidden)
785
        {
786
            $this->option_nostock_hidden = $optionNostockHidden;
0 ignored issues
show
Documentation Bug introduced by
The property $option_nostock_hidden was declared of type boolean, but $optionNostockHidden is of type integer. Maybe add a type cast?

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.

$answer = 42;

$correct = false;

$correct = (bool) $answer;
Loading history...
787
788
            return $this;
789
        }
790
791
        /**
792
         * Get optionNostockHidden.
793 10
         *
794
         * @return boolean
795 10
         */
796
        public function isOptionNostockHidden()
797 10
        {
798
            return $this->option_nostock_hidden;
799
        }
800
801
        /**
802
         * Set optionFavoriteProduct.
803
         *
804
         * @param boolean $optionFavoriteProduct
805 121
         *
806
         * @return BaseInfo
807 121
         */
808
        public function setOptionFavoriteProduct($optionFavoriteProduct)
809
        {
810
            $this->option_favorite_product = $optionFavoriteProduct;
811
812
            return $this;
813
        }
814
815
        /**
816
         * Get optionFavoriteProduct.
817
         *
818
         * @return boolean
819
         */
820
        public function isOptionFavoriteProduct()
821
        {
822
            return $this->option_favorite_product;
823
        }
824
825
        /**
826
         * Set optionProductDeliveryFee.
827
         *
828
         * @param boolean $optionProductDeliveryFee
829 31
         *
830
         * @return BaseInfo
831 31
         */
832
        public function setOptionProductDeliveryFee($optionProductDeliveryFee)
833
        {
834
            $this->option_product_delivery_fee = $optionProductDeliveryFee;
835
836
            return $this;
837
        }
838
839
        /**
840
         * Get optionProductDeliveryFee.
841 41
         *
842
         * @return boolean
843 41
         */
844
        public function isOptionProductDeliveryFee()
845 41
        {
846
            return $this->option_product_delivery_fee;
847
        }
848
849
        /**
850
         * Set optionProductTaxRule.
851
         *
852
         * @param boolean $optionProductTaxRule
853 474
         *
854
         * @return BaseInfo
855 474
         */
856
        public function setOptionProductTaxRule($optionProductTaxRule)
857
        {
858
            $this->option_product_tax_rule = $optionProductTaxRule;
859
860
            return $this;
861
        }
862
863
        /**
864
         * Get optionProductTaxRule.
865 8
         *
866
         * @return boolean
867 8
         */
868
        public function isOptionProductTaxRule()
869 8
        {
870
            return $this->option_product_tax_rule;
871
        }
872
873
        /**
874
         * Set optionCustomerActivate.
875
         *
876
         * @param boolean $optionCustomerActivate
877 9
         *
878
         * @return BaseInfo
879 9
         */
880
        public function setOptionCustomerActivate($optionCustomerActivate)
881
        {
882
            $this->option_customer_activate = $optionCustomerActivate;
883
884
            return $this;
885
        }
886
887
        /**
888
         * Get optionCustomerActivate.
889 7
         *
890
         * @return boolean
891 7
         */
892
        public function isOptionCustomerActivate()
893 7
        {
894
            return $this->option_customer_activate;
895
        }
896
897
        /**
898
         * Set optionRememberMe.
899
         *
900
         * @param boolean $optionRememberMe
901 11
         *
902
         * @return BaseInfo
903 11
         */
904
        public function setOptionRememberMe($optionRememberMe)
905
        {
906
            $this->option_remember_me = $optionRememberMe;
907
908
            return $this;
909
        }
910
911
        /**
912
         * Set optionRequireKana
913
         *
914
         * @param boolean $optionRequireKana
915
         *
916
         * @return BaseInfo
917
         */
918
        public function setOptionRequireKana($optionRequireKana)
919
        {
920
            $this->option_require_kana = $optionRequireKana;
921
922
            return $this;
923
        }
924
925
        /**
926
         * Get optionRememberMe.
927
         *
928
         * @return boolean
929
         */
930
        public function isOptionRememberMe()
931
        {
932
            return $this->option_remember_me;
933
        }
934
935
        /**
936
         * Get optionRequireKana
937
         *
938
         * @return boolean
939
         */
940
        public function isOptionRequireKana()
941
        {
942
            return $this->option_require_kana;
943
        }
944
945
        /**
946
         * Set authenticationKey.
947
         *
948
         * @param string|null $authenticationKey
949
         *
950
         * @return BaseInfo
951
         */
952
        public function setAuthenticationKey($authenticationKey = null)
953
        {
954
            $this->authentication_key = $authenticationKey;
955
956
            return $this;
957
        }
958
959
        /**
960
         * Get authenticationKey.
961
         *
962
         * @return string|null
963
         */
964
        public function getAuthenticationKey()
965
        {
966
            return $this->authentication_key;
967
        }
968
969
        /**
970
         * Set country.
971
         *
972
         * @param \Eccube\Entity\Master\Country|null $country
973 8
         *
974
         * @return BaseInfo
975 8
         */
976
        public function setCountry(\Eccube\Entity\Master\Country $country = null)
977
        {
978
            $this->Country = $country;
979
980
            return $this;
981
        }
982
983
        /**
984
         * Get country.
985 7
         *
986
         * @return \Eccube\Entity\Master\Country|null
987 7
         */
988
        public function getCountry()
989 7
        {
990
            return $this->Country;
991
        }
992
993
        /**
994
         * Set pref.
995
         *
996
         * @param \Eccube\Entity\Master\Pref|null $pref
997 273
         *
998
         * @return BaseInfo
999 273
         */
1000
        public function setPref(\Eccube\Entity\Master\Pref $pref = null)
1001
        {
1002
            $this->Pref = $pref;
1003
1004
            return $this;
1005
        }
1006
1007
        /**
1008
         * Get pref.
1009 10
         *
1010
         * @return \Eccube\Entity\Master\Pref|null
1011 10
         */
1012
        public function getPref()
1013 10
        {
1014
            return $this->Pref;
1015
        }
1016
1017
        /**
1018
         * Set optionPoint
1019
         *
1020
         * @param boolean $optionPoint
1021 25
         *
1022
         * @return BaseInfo
1023 25
         */
1024
        public function setOptionPoint($optionPoint)
1025
        {
1026
            $this->option_point = $optionPoint;
1027
1028
            return $this;
1029
        }
1030
1031
        /**
1032
         * Get optionPoint
1033 10
         *
1034
         * @return boolean
1035 10
         */
1036
        public function isOptionPoint()
1037 10
        {
1038
            return $this->option_point;
1039
        }
1040
1041
        /**
1042
         * Set pointConversionRate
1043
         *
1044
         * @param string $pointConversionRate
1045 223
         *
1046
         * @return BaseInfo
1047 223
         */
1048
        public function setPointConversionRate($pointConversionRate)
1049
        {
1050
            $this->point_conversion_rate = $pointConversionRate;
1051
1052
            return $this;
1053
        }
1054
1055
        /**
1056
         * Get pointConversionRate
1057
         *
1058
         * @return string
1059
         */
1060
        public function getPointConversionRate()
1061
        {
1062
            return $this->point_conversion_rate;
1063
        }
1064
1065
        /**
1066
         * Set basicPointRate
1067
         *
1068
         * @param string $basicPointRate
1069
         *
1070
         * @return BaseInfo
1071
         */
1072
        public function setBasicPointRate($basicPointRate)
1073
        {
1074
            $this->basic_point_rate = $basicPointRate;
1075
1076
            return $this;
1077
        }
1078
1079
        /**
1080
         * Get basicPointRate
1081
         *
1082
         * @return string
1083
         */
1084
        public function getBasicPointRate()
1085
        {
1086
            return $this->basic_point_rate;
1087
        }
1088
1089
        /**
1090
         * @return null|string
1091
         * @deprecated 使用していないため、削除予定
1092
         */
1093
        public function getPhpPath()
1094
        {
1095
            return $this->php_path;
0 ignored issues
show
Deprecated Code introduced by
The property Eccube\Entity\BaseInfo::$php_path has been deprecated with message: 使用していないため、削除予定

This property has been deprecated. The supplier of the class has supplied an explanatory message.

The explanatory message should give you some clue as to whether and when the property will be removed from the class and what other property to use instead.

Loading history...
1096
        }
1097
1098
        /**
1099
         * @param null|string $php_path
1100
         * @deprecated 使用していないため、削除予定
1101
         *
1102
         * @return $this
1103
         */
1104
        public function setPhpPath($php_path)
1105
        {
1106
            $this->php_path = $php_path;
0 ignored issues
show
Deprecated Code introduced by
The property Eccube\Entity\BaseInfo::$php_path has been deprecated with message: 使用していないため、削除予定

This property has been deprecated. The supplier of the class has supplied an explanatory message.

The explanatory message should give you some clue as to whether and when the property will be removed from the class and what other property to use instead.

Loading history...
1107
1108
            return $this;
1109
        }
1110
    }
1111
}
1112