| Total Complexity | 4 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 15 | trait ShopBillingDataVatNumberAwareTrait |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @ORM\Column(name="vat_number", type="string", nullable=true) |
||
| 19 | * |
||
| 20 | * @Groups({"admin:shop_billing_data:read"}) |
||
| 21 | */ |
||
| 22 | protected ?string $vatNumber = null; |
||
| 23 | |||
| 24 | public function getVatNumber(): ?string |
||
| 25 | { |
||
| 26 | return $this->vatNumber; |
||
| 27 | } |
||
| 28 | |||
| 29 | public function setVatNumber(?string $vatNumber): void |
||
| 32 | } |
||
| 33 | |||
| 34 | public function hasVatNumber(): bool |
||
| 37 | } |
||
| 38 | } |
||
| 39 |