Failed Conditions
Pull Request — experimental/sf (#31)
by Kentaro
06:59
created

BaseInfo   F

Complexity

Total Complexity 65

Size/Duplication

Total Lines 1021
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 1021
rs 2.716
c 0
b 0
f 0
wmc 65
lcom 0
cbo 1

65 Methods

Rating   Name   Duplication   Size   Complexity  
A getId() 0 4 1
A setCompanyName() 0 6 1
A getCompanyName() 0 4 1
A setCompanyKana() 0 6 1
A getCompanyKana() 0 4 1
A setPostalCode() 0 6 1
A getPostalCode() 0 4 1
A setAddr01() 0 6 1
A getAddr01() 0 4 1
A setAddr02() 0 6 1
A getAddr02() 0 4 1
A setPhoneNumber() 0 6 1
A getPhoneNumber() 0 4 1
A setBusinessHour() 0 6 1
A getBusinessHour() 0 4 1
A setEmail01() 0 6 1
A getEmail01() 0 4 1
A setEmail02() 0 6 1
A getEmail02() 0 4 1
A setEmail03() 0 6 1
A getEmail03() 0 4 1
A setEmail04() 0 6 1
A getEmail04() 0 4 1
A setShopName() 0 6 1
A getShopName() 0 4 1
A setShopKana() 0 6 1
A getShopKana() 0 4 1
A setShopNameEng() 0 6 1
A getShopNameEng() 0 4 1
A setUpdateDate() 0 6 1
A getUpdateDate() 0 4 1
A setGoodTraded() 0 6 1
A getGoodTraded() 0 4 1
A setMessage() 0 6 1
A getMessage() 0 4 1
A setDeliveryFreeAmount() 0 6 1
A getDeliveryFreeAmount() 0 4 1
A setDeliveryFreeQuantity() 0 6 1
A getDeliveryFreeQuantity() 0 4 1
A setOptionMypageOrderStatusDisplay() 0 6 1
A isOptionMypageOrderStatusDisplay() 0 4 1
A setOptionNostockHidden() 0 6 1
A isOptionNostockHidden() 0 4 1
A setOptionFavoriteProduct() 0 6 1
A isOptionFavoriteProduct() 0 4 1
A setOptionProductDeliveryFee() 0 6 1
A isOptionProductDeliveryFee() 0 4 1
A setOptionProductTaxRule() 0 6 1
A isOptionProductTaxRule() 0 4 1
A setOptionCustomerActivate() 0 6 1
A isOptionCustomerActivate() 0 4 1
A setOptionRememberMe() 0 6 1
A isOptionRememberMe() 0 4 1
A setAuthenticationKey() 0 6 1
A getAuthenticationKey() 0 4 1
A setCountry() 0 6 1
A getCountry() 0 4 1
A setPref() 0 6 1
A getPref() 0 4 1
A setOptionPoint() 0 6 1
A isOptionPoint() 0 4 1
A setPointConversionRate() 0 6 1
A getPointConversionRate() 0 4 1
A setBasicPointRate() 0 6 1
A getBasicPointRate() 0 4 1

How to fix   Complexity   

Complex Class

Complex classes like BaseInfo often do a lot of different things. To break such a class down, we need to identify a cohesive component within that class. A common approach to find such a component is to look for fields/methods that share the same prefixes, or suffixes. You can also have a look at the cohesion graph to spot any un-connected, or weakly-connected components.

Once you have determined the fields that belong together, you can apply the Extract Class refactoring. If the component makes sense as a sub-class, Extract Subclass is also a candidate, and is often faster.

While breaking up the class, it is a good idea to analyze how other classes use BaseInfo, and based on these observations, apply Extract Interface, too.

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