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