@@ -18,45 +18,108 @@ |
||
18 | 18 | |
19 | 19 | interface AddressInterface extends TimestampableInterface, ResourceInterface |
20 | 20 | { |
21 | + /** |
|
22 | + * @return string|null |
|
23 | + */ |
|
21 | 24 | public function getFirstName(): ?string; |
22 | 25 | |
26 | + /** |
|
27 | + * @return void |
|
28 | + */ |
|
23 | 29 | public function setFirstName(?string $firstName): void; |
24 | 30 | |
31 | + /** |
|
32 | + * @return string|null |
|
33 | + */ |
|
25 | 34 | public function getLastName(): ?string; |
26 | 35 | |
36 | + /** |
|
37 | + * @return void |
|
38 | + */ |
|
27 | 39 | public function setLastName(?string $lastName): void; |
28 | 40 | |
41 | + /** |
|
42 | + * @return string |
|
43 | + */ |
|
29 | 44 | public function getFullName(): ?string; |
30 | 45 | |
46 | + /** |
|
47 | + * @return string|null |
|
48 | + */ |
|
31 | 49 | public function getPhoneNumber(): ?string; |
32 | 50 | |
51 | + /** |
|
52 | + * @return void |
|
53 | + */ |
|
33 | 54 | public function setPhoneNumber(?string $phoneNumber): void; |
34 | 55 | |
56 | + /** |
|
57 | + * @return string|null |
|
58 | + */ |
|
35 | 59 | public function getCompany(): ?string; |
36 | 60 | |
61 | + /** |
|
62 | + * @return void |
|
63 | + */ |
|
37 | 64 | public function setCompany(?string $company): void; |
38 | 65 | |
66 | + /** |
|
67 | + * @return string|null |
|
68 | + */ |
|
39 | 69 | public function getCountryCode(): ?string; |
40 | 70 | |
71 | + /** |
|
72 | + * @return void |
|
73 | + */ |
|
41 | 74 | public function setCountryCode(?string $countryCode): void; |
42 | 75 | |
76 | + /** |
|
77 | + * @return string|null |
|
78 | + */ |
|
43 | 79 | public function getProvinceCode(): ?string; |
44 | 80 | |
81 | + /** |
|
82 | + * @return void |
|
83 | + */ |
|
45 | 84 | public function setProvinceCode(?string $provinceCode): void; |
46 | 85 | |
86 | + /** |
|
87 | + * @return string|null |
|
88 | + */ |
|
47 | 89 | public function getProvinceName(): ?string; |
48 | 90 | |
91 | + /** |
|
92 | + * @return void |
|
93 | + */ |
|
49 | 94 | public function setProvinceName(?string $provinceName): void; |
50 | 95 | |
96 | + /** |
|
97 | + * @return string|null |
|
98 | + */ |
|
51 | 99 | public function getStreet(): ?string; |
52 | 100 | |
101 | + /** |
|
102 | + * @return void |
|
103 | + */ |
|
53 | 104 | public function setStreet(?string $street): void; |
54 | 105 | |
106 | + /** |
|
107 | + * @return string|null |
|
108 | + */ |
|
55 | 109 | public function getCity(): ?string; |
56 | 110 | |
111 | + /** |
|
112 | + * @return void |
|
113 | + */ |
|
57 | 114 | public function setCity(?string $city): void; |
58 | 115 | |
116 | + /** |
|
117 | + * @return string|null |
|
118 | + */ |
|
59 | 119 | public function getPostcode(): ?string; |
60 | 120 | |
121 | + /** |
|
122 | + * @return void |
|
123 | + */ |
|
61 | 124 | public function setPostcode(?string $postcode): void; |
62 | 125 | } |
@@ -18,15 +18,33 @@ |
||
18 | 18 | |
19 | 19 | interface ProvinceInterface extends ResourceInterface, CodeAwareInterface |
20 | 20 | { |
21 | + /** |
|
22 | + * @return string|null |
|
23 | + */ |
|
21 | 24 | public function getName(): ?string; |
22 | 25 | |
26 | + /** |
|
27 | + * @return void |
|
28 | + */ |
|
23 | 29 | public function setName(?string $name): void; |
24 | 30 | |
31 | + /** |
|
32 | + * @return string|null |
|
33 | + */ |
|
25 | 34 | public function getAbbreviation(): ?string; |
26 | 35 | |
36 | + /** |
|
37 | + * @return void |
|
38 | + */ |
|
27 | 39 | public function setAbbreviation(?string $abbreviation): void; |
28 | 40 | |
41 | + /** |
|
42 | + * @return CountryInterface|null |
|
43 | + */ |
|
29 | 44 | public function getCountry(): ?CountryInterface; |
30 | 45 | |
46 | + /** |
|
47 | + * @return void |
|
48 | + */ |
|
31 | 49 | public function setCountry(?CountryInterface $country): void; |
32 | 50 | } |
@@ -28,16 +28,34 @@ discard block |
||
28 | 28 | */ |
29 | 29 | public static function getTypes(): array; |
30 | 30 | |
31 | + /** |
|
32 | + * @return string|null |
|
33 | + */ |
|
31 | 34 | public function getName(): ?string; |
32 | 35 | |
36 | + /** |
|
37 | + * @return void |
|
38 | + */ |
|
33 | 39 | public function setName(?string $name): void; |
34 | 40 | |
41 | + /** |
|
42 | + * @return string|null |
|
43 | + */ |
|
35 | 44 | public function getType(): ?string; |
36 | 45 | |
46 | + /** |
|
47 | + * @return void |
|
48 | + */ |
|
37 | 49 | public function setType(?string $type): void; |
38 | 50 | |
51 | + /** |
|
52 | + * @return string|null |
|
53 | + */ |
|
39 | 54 | public function getScope(): ?string; |
40 | 55 | |
56 | + /** |
|
57 | + * @return void |
|
58 | + */ |
|
41 | 59 | public function setScope(?string $scope): void; |
42 | 60 | |
43 | 61 | /** |
@@ -47,8 +65,14 @@ discard block |
||
47 | 65 | |
48 | 66 | public function hasMembers(): bool; |
49 | 67 | |
68 | + /** |
|
69 | + * @return void |
|
70 | + */ |
|
50 | 71 | public function addMember(ZoneMemberInterface $member): void; |
51 | 72 | |
73 | + /** |
|
74 | + * @return void |
|
75 | + */ |
|
52 | 76 | public function removeMember(ZoneMemberInterface $member): void; |
53 | 77 | |
54 | 78 | public function hasMember(ZoneMemberInterface $member): bool; |
@@ -18,7 +18,15 @@ |
||
18 | 18 | |
19 | 19 | interface ZoneMemberInterface extends ResourceInterface, CodeAwareInterface |
20 | 20 | { |
21 | + /** |
|
22 | + * @return ZoneInterface|null |
|
23 | + */ |
|
21 | 24 | public function getBelongsTo(): ?ZoneInterface; |
22 | 25 | |
26 | + /** |
|
27 | + * @param Zone|null $belongsTo |
|
28 | + * |
|
29 | + * @return void |
|
30 | + */ |
|
23 | 31 | public function setBelongsTo(?ZoneInterface $belongsTo): void; |
24 | 32 | } |
@@ -22,6 +22,9 @@ |
||
22 | 22 | |
23 | 23 | public function getType(): string; |
24 | 24 | |
25 | + /** |
|
26 | + * @return void |
|
27 | + */ |
|
25 | 28 | public function validate( |
26 | 29 | AttributeValueInterface $attributeValue, |
27 | 30 | ExecutionContextInterface $context, |
@@ -109,6 +109,7 @@ discard block |
||
109 | 109 | |
110 | 110 | /** |
111 | 111 | * {@inheritdoc} |
112 | + * @param string $type |
|
112 | 113 | */ |
113 | 114 | public function setType(?string $type): void |
114 | 115 | { |
@@ -141,6 +142,7 @@ discard block |
||
141 | 142 | |
142 | 143 | /** |
143 | 144 | * {@inheritdoc} |
145 | + * @param string $storageType |
|
144 | 146 | */ |
145 | 147 | public function setStorageType(?string $storageType): void |
146 | 148 | { |
@@ -27,22 +27,50 @@ |
||
27 | 27 | { |
28 | 28 | public function getName(): ?string; |
29 | 29 | |
30 | + /** |
|
31 | + * @return void |
|
32 | + */ |
|
30 | 33 | public function setName(?string $name): void; |
31 | 34 | |
35 | + /** |
|
36 | + * @return string |
|
37 | + */ |
|
32 | 38 | public function getType(): ?string; |
33 | 39 | |
40 | + /** |
|
41 | + * @param string $type |
|
42 | + * |
|
43 | + * @return void |
|
44 | + */ |
|
34 | 45 | public function setType(?string $type): void; |
35 | 46 | |
36 | 47 | public function getConfiguration(): array; |
37 | 48 | |
49 | + /** |
|
50 | + * @return void |
|
51 | + */ |
|
38 | 52 | public function setConfiguration(array $configuration): void; |
39 | 53 | |
54 | + /** |
|
55 | + * @return string |
|
56 | + */ |
|
40 | 57 | public function getStorageType(): ?string; |
41 | 58 | |
59 | + /** |
|
60 | + * @return void |
|
61 | + */ |
|
42 | 62 | public function setStorageType(string $storageType): void; |
43 | 63 | |
64 | + /** |
|
65 | + * @return integer |
|
66 | + */ |
|
44 | 67 | public function getPosition(): ?int; |
45 | 68 | |
69 | + /** |
|
70 | + * @param integer $position |
|
71 | + * |
|
72 | + * @return void |
|
73 | + */ |
|
46 | 74 | public function setPosition(?int $position): void; |
47 | 75 | |
48 | 76 | /** |
@@ -18,7 +18,13 @@ |
||
18 | 18 | |
19 | 19 | interface AttributeTranslationInterface extends ResourceInterface, TranslationInterface |
20 | 20 | { |
21 | + /** |
|
22 | + * @return string |
|
23 | + */ |
|
21 | 24 | public function getName(): ?string; |
22 | 25 | |
26 | + /** |
|
27 | + * @return void |
|
28 | + */ |
|
23 | 29 | public function setName(?string $name): void; |
24 | 30 | } |
@@ -15,7 +15,13 @@ |
||
15 | 15 | |
16 | 16 | interface ChannelAwareInterface |
17 | 17 | { |
18 | + /** |
|
19 | + * @return \Sylius\Component\Core\Model\ChannelInterface|null |
|
20 | + */ |
|
18 | 21 | public function getChannel(): ?ChannelInterface; |
19 | 22 | |
23 | + /** |
|
24 | + * @return void |
|
25 | + */ |
|
20 | 26 | public function setChannel(?ChannelInterface $channel): void; |
21 | 27 | } |