ProductTranslation   F
last analyzed

Complexity

Total Complexity 81

Size/Duplication

Total Lines 1086
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 7
Bugs 0 Features 0
Metric Value
eloc 167
c 7
b 0
f 0
dl 0
loc 1086
ccs 0
cts 543
cp 0
rs 2
wmc 81

81 Methods

Rating   Name   Duplication   Size   Complexity  
A getTechDocLink2() 0 3 1
A getPeriodFrontPage() 0 3 1
A getCustomField03() 0 3 1
A setRememberToBuyTextSubheading() 0 5 1
A setHidden() 0 5 1
A getUnitNumber() 0 3 1
A getCustomField04() 0 3 1
A setShowAsNew() 0 5 1
A setUrlName() 0 5 1
A setCustomField07() 0 5 1
A setPeriodNew() 0 5 1
A getCustomField10() 0 3 1
A setCustomField08() 0 5 1
A getCustomField06() 0 3 1
A getRememberToBuyTextSubheading() 0 3 1
A getCustomField09() 0 3 1
A getPageTitle() 0 3 1
A setCustomField04() 0 5 1
A getExpectedDeliveryTimeNotInStock() 0 3 1
A getRememberToBuyTextHeading() 0 3 1
A getImageAltText() 0 3 1
A getShortDescription() 0 3 1
A getCustomField02() 0 3 1
A hydrate() 0 3 1
A getPeriodHidden() 0 3 1
A getShowOnFrontPage() 0 3 1
A getExpectedDeliveryTime() 0 3 1
A getTechDocLink() 0 3 1
A setShowOnFrontPage() 0 5 1
A getMetaDescription() 0 3 1
A getShowAsNew() 0 3 1
A setImageAltText() 0 5 1
A setRetailSalesPrice() 0 5 1
A setCustomField01() 0 5 1
A getPeriodNew() 0 3 1
A getName() 0 3 1
A getCustomField08() 0 3 1
A getRetailSalesPrice() 0 3 1
A setTechDocLink() 0 5 1
A getisTopListHidden() 0 3 1
A setLongDescription() 0 5 1
A setTechDocLink2() 0 5 1
A setCustomField02() 0 5 1
A setLongDescription2() 0 5 1
A setIsTopListHidden() 0 5 1
A getHidden() 0 3 1
A getUrlName() 0 3 1
A setUnitNumber() 0 5 1
A setGiftCertificatePdfBackgroundImage() 0 5 1
A setSortOrder() 0 5 1
A getCustomField01() 0 3 1
A setName() 0 5 1
A getCustomField05() 0 3 1
A setPeriodHidden() 0 5 1
A getUnit() 0 3 1
A getTechDocLink3() 0 3 1
A getLongDescription2() 0 3 1
A getGiftCertificatePdfBackgroundImage() 0 3 1
A getKeyWords() 0 3 1
A setShortDescription() 0 5 1
A setCustomField05() 0 5 1
A setCustomField10() 0 5 1
A getLongDescription() 0 3 1
A setTechDocLink3() 0 5 1
A setSiteId() 0 5 1
A getCustomField07() 0 3 1
A getSortOrder() 0 3 1
A setPageTitle() 0 5 1
A getHiddenForMobile() 0 3 1
A getSiteId() 0 3 1
A setExpectedDeliveryTime() 0 5 1
A setRememberToBuyTextHeading() 0 5 1
A setCustomField09() 0 5 1
A setUnit() 0 5 1
A setCustomField03() 0 5 1
A setMetaDescription() 0 5 1
A setKeyWords() 0 5 1
A setExpectedDeliveryTimeNotInStock() 0 5 1
A setHiddenForMobile() 0 5 1
A setPeriodFrontPage() 0 5 1
A setCustomField06() 0 5 1

How to fix   Complexity   

Complex Class

Complex classes like ProductTranslation 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.

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 ProductTranslation, and based on these observations, apply Extract Interface, too.

1
<?php
2
3
namespace Loevgaard\DandomainFoundation\Entity;
4
5
use Doctrine\ORM\Mapping as ORM;
6
use Knp\DoctrineBehaviors\Model\Translatable\Translation;
7
use Loevgaard\DandomainFoundation\Entity\Generated\ProductTranslationInterface;
0 ignored issues
show
Bug introduced by
The type Loevgaard\DandomainFound...uctTranslationInterface was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
8
use Loevgaard\DandomainFoundation\Entity\Generated\ProductTranslationTrait;
0 ignored issues
show
Bug introduced by
The type Loevgaard\DandomainFound...ProductTranslationTrait was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
9
10
/**
11
 * @ORM\Entity()
12
 * @ORM\Table(name="ldf_product_translations")
13
 */
14
class ProductTranslation extends AbstractEntity implements ProductTranslationInterface
15
{
16
    use ProductTranslationTrait;
17
    use Translation;
18
19
    protected $hydrateConversions = [
20
        'siteID' => 'siteId',
21
        'urlname' => 'urlName',
22
    ];
23
24
    // @todo fix doctrine mapping for these relations
25
    /**
26
     * @var Period
27
     */
28
    protected $periodFrontPage;
29
30
    /**
31
     * @var Period
32
     */
33
    protected $periodHidden;
34
35
    /**
36
     * @var Period
37
     */
38
    protected $periodNew;
39
40
    /**
41
     * @var Unit
42
     */
43
    protected $unit;
44
45
    /**
46
     * @var string|null
47
     *
48
     * @ORM\Column(nullable=true, type="string", length=191)
49
     */
50
    protected $customField01;
51
52
    /**
53
     * @var string|null
54
     *
55
     * @ORM\Column(nullable=true, type="string", length=191)
56
     */
57
    protected $customField02;
58
59
    /**
60
     * @var string|null
61
     *
62
     * @ORM\Column(nullable=true, type="string", length=191)
63
     */
64
    protected $customField03;
65
66
    /**
67
     * @var string|null
68
     *
69
     * @ORM\Column(nullable=true, type="string", length=191)
70
     */
71
    protected $customField04;
72
73
    /**
74
     * @var string|null
75
     *
76
     * @ORM\Column(nullable=true, type="string", length=191)
77
     */
78
    protected $customField05;
79
80
    /**
81
     * @var string|null
82
     *
83
     * @ORM\Column(nullable=true, type="string", length=191)
84
     */
85
    protected $customField06;
86
87
    /**
88
     * @var string|null
89
     *
90
     * @ORM\Column(nullable=true, type="string", length=191)
91
     */
92
    protected $customField07;
93
94
    /**
95
     * @var string|null
96
     *
97
     * @ORM\Column(nullable=true, type="string", length=191)
98
     */
99
    protected $customField08;
100
101
    /**
102
     * @var string|null
103
     *
104
     * @ORM\Column(nullable=true, type="string", length=191)
105
     */
106
    protected $customField09;
107
108
    /**
109
     * @var string|null
110
     *
111
     * @ORM\Column(nullable=true, type="string", length=191)
112
     */
113
    protected $customField10;
114
115
    /**
116
     * @var string|null
117
     *
118
     * @ORM\Column(nullable=true, type="string", length=191)
119
     */
120
    protected $expectedDeliveryTime;
121
122
    /**
123
     * @var string|null
124
     *
125
     * @ORM\Column(nullable=true, type="string", length=191)
126
     */
127
    protected $expectedDeliveryTimeNotInStock;
128
129
    /**
130
     * @var string|null
131
     *
132
     * @ORM\Column(nullable=true, type="string", length=191)
133
     */
134
    protected $giftCertificatePdfBackgroundImage;
135
136
    /**
137
     * @var bool|null
138
     *
139
     * @ORM\Column(nullable=true, type="boolean")
140
     */
141
    protected $hidden;
142
143
    /**
144
     * @var bool|null
145
     *
146
     * @ORM\Column(nullable=true, type="boolean")
147
     */
148
    protected $hiddenForMobile;
149
150
    /**
151
     * @var string|null
152
     *
153
     * @ORM\Column(nullable=true, type="string", length=191)
154
     */
155
    protected $imageAltText;
156
157
    /**
158
     * @var bool|null
159
     *
160
     * @ORM\Column(nullable=true, type="boolean")
161
     */
162
    protected $isTopListHidden;
163
164
    /**
165
     * @var string|null
166
     *
167
     * @ORM\Column(nullable=true, type="text")
168
     */
169
    protected $keyWords;
170
171
    /**
172
     * @var string|null
173
     *
174
     * @ORM\Column(nullable=true, type="text")
175
     */
176
    protected $longDescription;
177
178
    /**
179
     * @var string|null
180
     *
181
     * @ORM\Column(nullable=true, type="text")
182
     */
183
    protected $longDescription2;
184
185
    /**
186
     * @var string|null
187
     *
188
     * @ORM\Column(nullable=true, type="text")
189
     */
190
    protected $metaDescription;
191
192
    /**
193
     * @var string|null
194
     *
195
     * @ORM\Column(nullable=true, type="text")
196
     */
197
    protected $name;
198
199
    /**
200
     * @var string|null
201
     *
202
     * @ORM\Column(nullable=true, type="text")
203
     */
204
    protected $pageTitle;
205
206
    /**
207
     * @var string|null
208
     *
209
     * @ORM\Column(nullable=true, type="text")
210
     */
211
    protected $rememberToBuyTextHeading;
212
213
    /**
214
     * @var string|null
215
     *
216
     * @ORM\Column(nullable=true, type="text")
217
     */
218
    protected $rememberToBuyTextSubheading;
219
220
    /**
221
     * @var float|null
222
     *
223
     * @ORM\Column(nullable=true, type="decimal", precision=12, scale=2)
224
     */
225
    protected $retailSalesPrice;
226
227
    /**
228
     * @var string|null
229
     *
230
     * @ORM\Column(nullable=true, type="text")
231
     */
232
    protected $shortDescription;
233
234
    /**
235
     * @var bool|null
236
     *
237
     * @ORM\Column(nullable=true, type="boolean")
238
     */
239
    protected $showAsNew;
240
241
    /**
242
     * @var bool|null
243
     *
244
     * @ORM\Column(nullable=true, type="boolean")
245
     */
246
    protected $showOnFrontPage;
247
248
    /**
249
     * @var int|null
250
     *
251
     * @ORM\Column(nullable=true, type="integer")
252
     */
253
    protected $siteId;
254
255
    /**
256
     * @var int|null
257
     *
258
     * @ORM\Column(nullable=true, type="integer")
259
     */
260
    protected $sortOrder;
261
262
    /**
263
     * @var string|null
264
     *
265
     * @ORM\Column(nullable=true, type="string", length=191)
266
     */
267
    protected $techDocLink;
268
269
    /**
270
     * @var string|null
271
     *
272
     * @ORM\Column(nullable=true, type="string", length=191)
273
     */
274
    protected $techDocLink2;
275
276
    /**
277
     * @var string|null
278
     *
279
     * @ORM\Column(nullable=true, type="string", length=191)
280
     */
281
    protected $techDocLink3;
282
283
    /**
284
     * @var string|null
285
     *
286
     * @ORM\Column(nullable=true, type="string", length=191)
287
     */
288
    protected $unitNumber;
289
290
    /**
291
     * @var string|null
292
     *
293
     * @ORM\Column(nullable=true, type="string", length=191)
294
     */
295
    protected $urlName;
296
297
    public function hydrate(array $data, bool $useConversions = false, $scalarsOnly = true)
298
    {
299
        parent::hydrate($data, $useConversions, $scalarsOnly);
300
    }
301
302
    /**
303
     * @return Period
304
     */
305
    public function getPeriodFrontPage(): Period
306
    {
307
        return $this->periodFrontPage;
308
    }
309
310
    /**
311
     * @param Period $periodFrontPage
312
     *
313
     * @return ProductTranslationInterface
314
     */
315
    public function setPeriodFrontPage(Period $periodFrontPage)
316
    {
317
        $this->periodFrontPage = $periodFrontPage;
318
319
        return $this;
320
    }
321
322
    /**
323
     * @return Period
324
     */
325
    public function getPeriodHidden(): Period
326
    {
327
        return $this->periodHidden;
328
    }
329
330
    /**
331
     * @param Period $periodHidden
332
     *
333
     * @return ProductTranslationInterface
334
     */
335
    public function setPeriodHidden(Period $periodHidden)
336
    {
337
        $this->periodHidden = $periodHidden;
338
339
        return $this;
340
    }
341
342
    /**
343
     * @return Period
344
     */
345
    public function getPeriodNew(): Period
346
    {
347
        return $this->periodNew;
348
    }
349
350
    /**
351
     * @param Period $periodNew
352
     *
353
     * @return ProductTranslationInterface
354
     */
355
    public function setPeriodNew(Period $periodNew)
356
    {
357
        $this->periodNew = $periodNew;
358
359
        return $this;
360
    }
361
362
    /**
363
     * @return Unit
364
     */
365
    public function getUnit(): Unit
366
    {
367
        return $this->unit;
368
    }
369
370
    /**
371
     * @param Unit $unit
372
     *
373
     * @return ProductTranslationInterface
374
     */
375
    public function setUnit(Unit $unit)
376
    {
377
        $this->unit = $unit;
378
379
        return $this;
380
    }
381
382
    /**
383
     * @return null|string
384
     */
385
    public function getCustomField01(): ?string
386
    {
387
        return $this->customField01;
388
    }
389
390
    /**
391
     * @param null|string $customField01
392
     *
393
     * @return ProductTranslationInterface
394
     */
395
    public function setCustomField01(?string $customField01)
396
    {
397
        $this->customField01 = $customField01;
398
399
        return $this;
400
    }
401
402
    /**
403
     * @return null|string
404
     */
405
    public function getCustomField02(): ?string
406
    {
407
        return $this->customField02;
408
    }
409
410
    /**
411
     * @param null|string $customField02
412
     *
413
     * @return ProductTranslationInterface
414
     */
415
    public function setCustomField02(?string $customField02)
416
    {
417
        $this->customField02 = $customField02;
418
419
        return $this;
420
    }
421
422
    /**
423
     * @return null|string
424
     */
425
    public function getCustomField03(): ?string
426
    {
427
        return $this->customField03;
428
    }
429
430
    /**
431
     * @param null|string $customField03
432
     *
433
     * @return ProductTranslationInterface
434
     */
435
    public function setCustomField03(?string $customField03)
436
    {
437
        $this->customField03 = $customField03;
438
439
        return $this;
440
    }
441
442
    /**
443
     * @return null|string
444
     */
445
    public function getCustomField04(): ?string
446
    {
447
        return $this->customField04;
448
    }
449
450
    /**
451
     * @param null|string $customField04
452
     *
453
     * @return ProductTranslationInterface
454
     */
455
    public function setCustomField04(?string $customField04)
456
    {
457
        $this->customField04 = $customField04;
458
459
        return $this;
460
    }
461
462
    /**
463
     * @return null|string
464
     */
465
    public function getCustomField05(): ?string
466
    {
467
        return $this->customField05;
468
    }
469
470
    /**
471
     * @param null|string $customField05
472
     *
473
     * @return ProductTranslationInterface
474
     */
475
    public function setCustomField05(?string $customField05)
476
    {
477
        $this->customField05 = $customField05;
478
479
        return $this;
480
    }
481
482
    /**
483
     * @return null|string
484
     */
485
    public function getCustomField06(): ?string
486
    {
487
        return $this->customField06;
488
    }
489
490
    /**
491
     * @param null|string $customField06
492
     *
493
     * @return ProductTranslationInterface
494
     */
495
    public function setCustomField06(?string $customField06)
496
    {
497
        $this->customField06 = $customField06;
498
499
        return $this;
500
    }
501
502
    /**
503
     * @return null|string
504
     */
505
    public function getCustomField07(): ?string
506
    {
507
        return $this->customField07;
508
    }
509
510
    /**
511
     * @param null|string $customField07
512
     *
513
     * @return ProductTranslationInterface
514
     */
515
    public function setCustomField07(?string $customField07)
516
    {
517
        $this->customField07 = $customField07;
518
519
        return $this;
520
    }
521
522
    /**
523
     * @return null|string
524
     */
525
    public function getCustomField08(): ?string
526
    {
527
        return $this->customField08;
528
    }
529
530
    /**
531
     * @param null|string $customField08
532
     *
533
     * @return ProductTranslationInterface
534
     */
535
    public function setCustomField08(?string $customField08)
536
    {
537
        $this->customField08 = $customField08;
538
539
        return $this;
540
    }
541
542
    /**
543
     * @return null|string
544
     */
545
    public function getCustomField09(): ?string
546
    {
547
        return $this->customField09;
548
    }
549
550
    /**
551
     * @param null|string $customField09
552
     *
553
     * @return ProductTranslationInterface
554
     */
555
    public function setCustomField09(?string $customField09)
556
    {
557
        $this->customField09 = $customField09;
558
559
        return $this;
560
    }
561
562
    /**
563
     * @return null|string
564
     */
565
    public function getCustomField10(): ?string
566
    {
567
        return $this->customField10;
568
    }
569
570
    /**
571
     * @param null|string $customField10
572
     *
573
     * @return ProductTranslationInterface
574
     */
575
    public function setCustomField10(?string $customField10)
576
    {
577
        $this->customField10 = $customField10;
578
579
        return $this;
580
    }
581
582
    /**
583
     * @return string|null
584
     */
585
    public function getExpectedDeliveryTime(): ?string
586
    {
587
        return $this->expectedDeliveryTime;
588
    }
589
590
    /**
591
     * @param string|null $expectedDeliveryTime
592
     *
593
     * @return ProductTranslationInterface
594
     */
595
    public function setExpectedDeliveryTime(?string $expectedDeliveryTime)
596
    {
597
        $this->expectedDeliveryTime = $expectedDeliveryTime;
598
599
        return $this;
600
    }
601
602
    /**
603
     * @return string|null
604
     */
605
    public function getExpectedDeliveryTimeNotInStock(): ?string
606
    {
607
        return $this->expectedDeliveryTimeNotInStock;
608
    }
609
610
    /**
611
     * @param string|null $expectedDeliveryTimeNotInStock
612
     *
613
     * @return ProductTranslationInterface
614
     */
615
    public function setExpectedDeliveryTimeNotInStock(?string $expectedDeliveryTimeNotInStock)
616
    {
617
        $this->expectedDeliveryTimeNotInStock = $expectedDeliveryTimeNotInStock;
618
619
        return $this;
620
    }
621
622
    /**
623
     * @return null|string
624
     */
625
    public function getGiftCertificatePdfBackgroundImage(): ?string
626
    {
627
        return $this->giftCertificatePdfBackgroundImage;
628
    }
629
630
    /**
631
     * @param null|string $giftCertificatePdfBackgroundImage
632
     *
633
     * @return ProductTranslationInterface
634
     */
635
    public function setGiftCertificatePdfBackgroundImage(?string $giftCertificatePdfBackgroundImage)
636
    {
637
        $this->giftCertificatePdfBackgroundImage = $giftCertificatePdfBackgroundImage;
638
639
        return $this;
640
    }
641
642
    /**
643
     * @return bool|null
644
     */
645
    public function getHidden(): ?bool
646
    {
647
        return $this->hidden;
648
    }
649
650
    /**
651
     * @param bool|null $hidden
652
     *
653
     * @return ProductTranslationInterface
654
     */
655
    public function setHidden(?bool $hidden)
656
    {
657
        $this->hidden = $hidden;
658
659
        return $this;
660
    }
661
662
    /**
663
     * @return bool|null
664
     */
665
    public function getHiddenForMobile(): ?bool
666
    {
667
        return $this->hiddenForMobile;
668
    }
669
670
    /**
671
     * @param bool|null $hiddenForMobile
672
     *
673
     * @return ProductTranslationInterface
674
     */
675
    public function setHiddenForMobile(?bool $hiddenForMobile)
676
    {
677
        $this->hiddenForMobile = $hiddenForMobile;
678
679
        return $this;
680
    }
681
682
    /**
683
     * @return null|string
684
     */
685
    public function getImageAltText(): ?string
686
    {
687
        return $this->imageAltText;
688
    }
689
690
    /**
691
     * @param null|string $imageAltText
692
     *
693
     * @return ProductTranslationInterface
694
     */
695
    public function setImageAltText(?string $imageAltText)
696
    {
697
        $this->imageAltText = $imageAltText;
698
699
        return $this;
700
    }
701
702
    /**
703
     * @return bool|null
704
     */
705
    public function getisTopListHidden(): ?bool
706
    {
707
        return $this->isTopListHidden;
708
    }
709
710
    /**
711
     * @param bool|null $isTopListHidden
712
     *
713
     * @return ProductTranslationInterface
714
     */
715
    public function setIsTopListHidden(?bool $isTopListHidden)
716
    {
717
        $this->isTopListHidden = $isTopListHidden;
718
719
        return $this;
720
    }
721
722
    /**
723
     * @return null|string
724
     */
725
    public function getKeyWords(): ?string
726
    {
727
        return $this->keyWords;
728
    }
729
730
    /**
731
     * @param null|string $keyWords
732
     *
733
     * @return ProductTranslationInterface
734
     */
735
    public function setKeyWords(?string $keyWords)
736
    {
737
        $this->keyWords = $keyWords;
738
739
        return $this;
740
    }
741
742
    /**
743
     * @return null|string
744
     */
745
    public function getLongDescription(): ?string
746
    {
747
        return $this->longDescription;
748
    }
749
750
    /**
751
     * @param null|string $longDescription
752
     *
753
     * @return ProductTranslationInterface
754
     */
755
    public function setLongDescription(?string $longDescription)
756
    {
757
        $this->longDescription = $longDescription;
758
759
        return $this;
760
    }
761
762
    /**
763
     * @return null|string
764
     */
765
    public function getLongDescription2(): ?string
766
    {
767
        return $this->longDescription2;
768
    }
769
770
    /**
771
     * @param null|string $longDescription2
772
     *
773
     * @return ProductTranslationInterface
774
     */
775
    public function setLongDescription2(?string $longDescription2)
776
    {
777
        $this->longDescription2 = $longDescription2;
778
779
        return $this;
780
    }
781
782
    /**
783
     * @return null|string
784
     */
785
    public function getMetaDescription(): ?string
786
    {
787
        return $this->metaDescription;
788
    }
789
790
    /**
791
     * @param null|string $metaDescription
792
     *
793
     * @return ProductTranslationInterface
794
     */
795
    public function setMetaDescription(?string $metaDescription)
796
    {
797
        $this->metaDescription = $metaDescription;
798
799
        return $this;
800
    }
801
802
    /**
803
     * @return null|string
804
     */
805
    public function getName(): ?string
806
    {
807
        return $this->name;
808
    }
809
810
    /**
811
     * @param null|string $name
812
     *
813
     * @return ProductTranslationInterface
814
     */
815
    public function setName(?string $name)
816
    {
817
        $this->name = $name;
818
819
        return $this;
820
    }
821
822
    /**
823
     * @return null|string
824
     */
825
    public function getPageTitle(): ?string
826
    {
827
        return $this->pageTitle;
828
    }
829
830
    /**
831
     * @param null|string $pageTitle
832
     *
833
     * @return ProductTranslationInterface
834
     */
835
    public function setPageTitle(?string $pageTitle)
836
    {
837
        $this->pageTitle = $pageTitle;
838
839
        return $this;
840
    }
841
842
    /**
843
     * @return null|string
844
     */
845
    public function getRememberToBuyTextHeading(): ?string
846
    {
847
        return $this->rememberToBuyTextHeading;
848
    }
849
850
    /**
851
     * @param null|string $rememberToBuyTextHeading
852
     *
853
     * @return ProductTranslationInterface
854
     */
855
    public function setRememberToBuyTextHeading(?string $rememberToBuyTextHeading)
856
    {
857
        $this->rememberToBuyTextHeading = $rememberToBuyTextHeading;
858
859
        return $this;
860
    }
861
862
    /**
863
     * @return null|string
864
     */
865
    public function getRememberToBuyTextSubheading(): ?string
866
    {
867
        return $this->rememberToBuyTextSubheading;
868
    }
869
870
    /**
871
     * @param null|string $rememberToBuyTextSubheading
872
     *
873
     * @return ProductTranslationInterface
874
     */
875
    public function setRememberToBuyTextSubheading(?string $rememberToBuyTextSubheading)
876
    {
877
        $this->rememberToBuyTextSubheading = $rememberToBuyTextSubheading;
878
879
        return $this;
880
    }
881
882
    /**
883
     * @return float|null
884
     */
885
    public function getRetailSalesPrice(): ?float
886
    {
887
        return $this->retailSalesPrice;
888
    }
889
890
    /**
891
     * @param float|null $retailSalesPrice
892
     *
893
     * @return ProductTranslationInterface
894
     */
895
    public function setRetailSalesPrice(?float $retailSalesPrice)
896
    {
897
        $this->retailSalesPrice = $retailSalesPrice;
898
899
        return $this;
900
    }
901
902
    /**
903
     * @return null|string
904
     */
905
    public function getShortDescription(): ?string
906
    {
907
        return $this->shortDescription;
908
    }
909
910
    /**
911
     * @param null|string $shortDescription
912
     *
913
     * @return ProductTranslationInterface
914
     */
915
    public function setShortDescription(?string $shortDescription)
916
    {
917
        $this->shortDescription = $shortDescription;
918
919
        return $this;
920
    }
921
922
    /**
923
     * @return bool|null
924
     */
925
    public function getShowAsNew(): ?bool
926
    {
927
        return $this->showAsNew;
928
    }
929
930
    /**
931
     * @param bool|null $showAsNew
932
     *
933
     * @return ProductTranslationInterface
934
     */
935
    public function setShowAsNew(?bool $showAsNew)
936
    {
937
        $this->showAsNew = $showAsNew;
938
939
        return $this;
940
    }
941
942
    /**
943
     * @return bool|null
944
     */
945
    public function getShowOnFrontPage(): ?bool
946
    {
947
        return $this->showOnFrontPage;
948
    }
949
950
    /**
951
     * @param bool|null $showOnFrontPage
952
     *
953
     * @return ProductTranslationInterface
954
     */
955
    public function setShowOnFrontPage(?bool $showOnFrontPage)
956
    {
957
        $this->showOnFrontPage = $showOnFrontPage;
958
959
        return $this;
960
    }
961
962
    /**
963
     * @return int|null
964
     */
965
    public function getSiteId(): ?int
966
    {
967
        return $this->siteId;
968
    }
969
970
    /**
971
     * @param int|null $siteId
972
     *
973
     * @return ProductTranslationInterface
974
     */
975
    public function setSiteId(?int $siteId)
976
    {
977
        $this->siteId = $siteId;
978
979
        return $this;
980
    }
981
982
    /**
983
     * @return int|null
984
     */
985
    public function getSortOrder(): ?int
986
    {
987
        return $this->sortOrder;
988
    }
989
990
    /**
991
     * @param int|null $sortOrder
992
     *
993
     * @return ProductTranslationInterface
994
     */
995
    public function setSortOrder(?int $sortOrder)
996
    {
997
        $this->sortOrder = $sortOrder;
998
999
        return $this;
1000
    }
1001
1002
    /**
1003
     * @return null|string
1004
     */
1005
    public function getTechDocLink(): ?string
1006
    {
1007
        return $this->techDocLink;
1008
    }
1009
1010
    /**
1011
     * @param null|string $techDocLink
1012
     *
1013
     * @return ProductTranslationInterface
1014
     */
1015
    public function setTechDocLink(?string $techDocLink)
1016
    {
1017
        $this->techDocLink = $techDocLink;
1018
1019
        return $this;
1020
    }
1021
1022
    /**
1023
     * @return null|string
1024
     */
1025
    public function getTechDocLink2(): ?string
1026
    {
1027
        return $this->techDocLink2;
1028
    }
1029
1030
    /**
1031
     * @param null|string $techDocLink2
1032
     *
1033
     * @return ProductTranslationInterface
1034
     */
1035
    public function setTechDocLink2(?string $techDocLink2)
1036
    {
1037
        $this->techDocLink2 = $techDocLink2;
1038
1039
        return $this;
1040
    }
1041
1042
    /**
1043
     * @return null|string
1044
     */
1045
    public function getTechDocLink3(): ?string
1046
    {
1047
        return $this->techDocLink3;
1048
    }
1049
1050
    /**
1051
     * @param null|string $techDocLink3
1052
     *
1053
     * @return ProductTranslationInterface
1054
     */
1055
    public function setTechDocLink3(?string $techDocLink3)
1056
    {
1057
        $this->techDocLink3 = $techDocLink3;
1058
1059
        return $this;
1060
    }
1061
1062
    /**
1063
     * @return null|string
1064
     */
1065
    public function getUnitNumber(): ?string
1066
    {
1067
        return $this->unitNumber;
1068
    }
1069
1070
    /**
1071
     * @param null|string $unitNumber
1072
     *
1073
     * @return ProductTranslationInterface
1074
     */
1075
    public function setUnitNumber(?string $unitNumber)
1076
    {
1077
        $this->unitNumber = $unitNumber;
1078
1079
        return $this;
1080
    }
1081
1082
    /**
1083
     * @return null|string
1084
     */
1085
    public function getUrlName(): ?string
1086
    {
1087
        return $this->urlName;
1088
    }
1089
1090
    /**
1091
     * @param null|string $urlName
1092
     *
1093
     * @return ProductTranslationInterface
1094
     */
1095
    public function setUrlName(?string $urlName)
1096
    {
1097
        $this->urlName = $urlName;
1098
1099
        return $this;
1100
    }
1101
}
1102