- <?php
-
- namespace Lc\ShopBundle\Model;
-
- use Doctrine\ORM\Mapping as ORM;
-
- trait ReductionCartPropertyTrait
- {
-
-
-
- protected $freeShipping;
-
-
-
- protected $appliedTo;
-
-
-
- protected $type;
-
-
- public function getFreeShipping(): ?bool
- {
- return $this->freeShipping;
- }
-
- public function setFreeShipping(?bool $freeShipping): self
- {
- $this->freeShipping = $freeShipping;
-
- return $this;
- }
-
- public function getAppliedTo(): ?string
- {
- return $this->appliedTo;
- }
-
- public function setAppliedTo(string $appliedTo): self
- {
- $this->appliedTo = $appliedTo;
-
- return $this;
- }
-
- public function getType(): ?string
- {
- return $this->type;
- }
-
- public function setType(string $type): self
- {
- $this->type = $type;
-
- return $this;
- }
-
-
- }
|