@@ -19,15 +19,33 @@ |
||
| 19 | 19 | { |
| 20 | 20 | public const DEFAULT_ADMIN_ROLE = 'ROLE_ADMINISTRATION_ACCESS'; |
| 21 | 21 | |
| 22 | + /** |
|
| 23 | + * @return string |
|
| 24 | + */ |
|
| 22 | 25 | public function getFirstName(): ?string; |
| 23 | 26 | |
| 27 | + /** |
|
| 28 | + * @return void |
|
| 29 | + */ |
|
| 24 | 30 | public function setFirstName(?string $firstName): void; |
| 25 | 31 | |
| 32 | + /** |
|
| 33 | + * @return string |
|
| 34 | + */ |
|
| 26 | 35 | public function getLastName(): ?string; |
| 27 | 36 | |
| 37 | + /** |
|
| 38 | + * @return void |
|
| 39 | + */ |
|
| 28 | 40 | public function setLastName(?string $lastName): void; |
| 29 | 41 | |
| 42 | + /** |
|
| 43 | + * @return string |
|
| 44 | + */ |
|
| 30 | 45 | public function getLocaleCode(): ?string; |
| 31 | 46 | |
| 47 | + /** |
|
| 48 | + * @return void |
|
| 49 | + */ |
|
| 32 | 50 | public function setLocaleCode(?string $code): void; |
| 33 | 51 | } |
@@ -25,39 +25,84 @@ |
||
| 25 | 25 | CurrenciesAwareInterface, |
| 26 | 26 | LocalesAwareInterface |
| 27 | 27 | { |
| 28 | + /** |
|
| 29 | + * @return CurrencyInterface |
|
| 30 | + */ |
|
| 28 | 31 | public function getBaseCurrency(): ?CurrencyInterface; |
| 29 | 32 | |
| 33 | + /** |
|
| 34 | + * @return void |
|
| 35 | + */ |
|
| 30 | 36 | public function setBaseCurrency(?CurrencyInterface $currency): void; |
| 31 | 37 | |
| 38 | + /** |
|
| 39 | + * @return LocaleInterface |
|
| 40 | + */ |
|
| 32 | 41 | public function getDefaultLocale(): ?LocaleInterface; |
| 33 | 42 | |
| 43 | + /** |
|
| 44 | + * @return void |
|
| 45 | + */ |
|
| 34 | 46 | public function setDefaultLocale(?LocaleInterface $locale): void; |
| 35 | 47 | |
| 48 | + /** |
|
| 49 | + * @return ZoneInterface |
|
| 50 | + */ |
|
| 36 | 51 | public function getDefaultTaxZone(): ?ZoneInterface; |
| 37 | 52 | |
| 53 | + /** |
|
| 54 | + * @return void |
|
| 55 | + */ |
|
| 38 | 56 | public function setDefaultTaxZone(?ZoneInterface $defaultTaxZone): void; |
| 39 | 57 | |
| 58 | + /** |
|
| 59 | + * @return string |
|
| 60 | + */ |
|
| 40 | 61 | public function getTaxCalculationStrategy(): ?string; |
| 41 | 62 | |
| 63 | + /** |
|
| 64 | + * @return void |
|
| 65 | + */ |
|
| 42 | 66 | public function setTaxCalculationStrategy(?string $taxCalculationStrategy): void; |
| 43 | 67 | |
| 68 | + /** |
|
| 69 | + * @return string |
|
| 70 | + */ |
|
| 44 | 71 | public function getThemeName(): ?string; |
| 45 | 72 | |
| 73 | + /** |
|
| 74 | + * @return void |
|
| 75 | + */ |
|
| 46 | 76 | public function setThemeName(?string $themeName): void; |
| 47 | 77 | |
| 78 | + /** |
|
| 79 | + * @return string |
|
| 80 | + */ |
|
| 48 | 81 | public function getContactEmail(): ?string; |
| 49 | 82 | |
| 83 | + /** |
|
| 84 | + * @return void |
|
| 85 | + */ |
|
| 50 | 86 | public function setContactEmail(?string $contactEmail): void; |
| 51 | 87 | |
| 52 | 88 | public function isSkippingShippingStepAllowed(): bool; |
| 53 | 89 | |
| 90 | + /** |
|
| 91 | + * @return void |
|
| 92 | + */ |
|
| 54 | 93 | public function setSkippingShippingStepAllowed(bool $skippingShippingStepAllowed): void; |
| 55 | 94 | |
| 56 | 95 | public function isSkippingPaymentStepAllowed(): bool; |
| 57 | 96 | |
| 97 | + /** |
|
| 98 | + * @return void |
|
| 99 | + */ |
|
| 58 | 100 | public function setSkippingPaymentStepAllowed(bool $skippingPaymentStepAllowed): void; |
| 59 | 101 | |
| 60 | 102 | public function isAccountVerificationRequired(): bool; |
| 61 | 103 | |
| 104 | + /** |
|
| 105 | + * @return void |
|
| 106 | + */ |
|
| 62 | 107 | public function setAccountVerificationRequired(bool $accountVerificationRequired): void; |
| 63 | 108 | } |
@@ -17,12 +17,26 @@ discard block |
||
| 17 | 17 | |
| 18 | 18 | interface ChannelPricingInterface extends ResourceInterface |
| 19 | 19 | { |
| 20 | + /** |
|
| 21 | + * @return ProductVariantInterface |
|
| 22 | + */ |
|
| 20 | 23 | public function getProductVariant(): ?ProductVariantInterface; |
| 21 | 24 | |
| 25 | + /** |
|
| 26 | + * @return void |
|
| 27 | + */ |
|
| 22 | 28 | public function setProductVariant(?ProductVariantInterface $productVariant): void; |
| 23 | 29 | |
| 30 | + /** |
|
| 31 | + * @return integer |
|
| 32 | + */ |
|
| 24 | 33 | public function getPrice(): ?int; |
| 25 | 34 | |
| 35 | + /** |
|
| 36 | + * @param integer $price |
|
| 37 | + * |
|
| 38 | + * @return void |
|
| 39 | + */ |
|
| 26 | 40 | public function setPrice(?int $price): void; |
| 27 | 41 | |
| 28 | 42 | /** |
@@ -30,10 +44,19 @@ discard block |
||
| 30 | 44 | */ |
| 31 | 45 | public function getChannelCode(): ?string; |
| 32 | 46 | |
| 47 | + /** |
|
| 48 | + * @return void |
|
| 49 | + */ |
|
| 33 | 50 | public function setChannelCode(?string $channelCode): void; |
| 34 | 51 | |
| 52 | + /** |
|
| 53 | + * @return integer |
|
| 54 | + */ |
|
| 35 | 55 | public function getOriginalPrice(): ?int; |
| 36 | 56 | |
| 57 | + /** |
|
| 58 | + * @return void |
|
| 59 | + */ |
|
| 37 | 60 | public function setOriginalPrice(?int $originalPrice): void; |
| 38 | 61 | |
| 39 | 62 | public function isPriceReduced(): bool; |
@@ -25,12 +25,26 @@ discard block |
||
| 25 | 25 | */ |
| 26 | 26 | public function getOrders(): Collection; |
| 27 | 27 | |
| 28 | + /** |
|
| 29 | + * @return AddressInterface |
|
| 30 | + */ |
|
| 28 | 31 | public function getDefaultAddress(): ?AddressInterface; |
| 29 | 32 | |
| 33 | + /** |
|
| 34 | + * @param AddressInterface $defaultAddress |
|
| 35 | + * |
|
| 36 | + * @return void |
|
| 37 | + */ |
|
| 30 | 38 | public function setDefaultAddress(?AddressInterface $defaultAddress): void; |
| 31 | 39 | |
| 40 | + /** |
|
| 41 | + * @return void |
|
| 42 | + */ |
|
| 32 | 43 | public function addAddress(AddressInterface $address): void; |
| 33 | 44 | |
| 45 | + /** |
|
| 46 | + * @return void |
|
| 47 | + */ |
|
| 34 | 48 | public function removeAddress(AddressInterface $address): void; |
| 35 | 49 | |
| 36 | 50 | public function hasAddress(AddressInterface $address): bool; |
@@ -49,6 +63,7 @@ discard block |
||
| 49 | 63 | |
| 50 | 64 | /** |
| 51 | 65 | * @param ShopUserInterface|UserInterface|null $user |
| 66 | + * @return void |
|
| 52 | 67 | */ |
| 53 | 68 | public function setUser(?UserInterface $user); |
| 54 | 69 | } |
@@ -22,16 +22,33 @@ discard block |
||
| 22 | 22 | */ |
| 23 | 23 | public function getType(): ?string; |
| 24 | 24 | |
| 25 | + /** |
|
| 26 | + * @return void |
|
| 27 | + */ |
|
| 25 | 28 | public function setType(?string $type): void; |
| 26 | 29 | |
| 30 | + /** |
|
| 31 | + * @return \SplFileInfo |
|
| 32 | + */ |
|
| 27 | 33 | public function getFile(): ?\SplFileInfo; |
| 28 | 34 | |
| 35 | + /** |
|
| 36 | + * @param \Symfony\Component\HttpFoundation\File\UploadedFile $file |
|
| 37 | + * |
|
| 38 | + * @return void |
|
| 39 | + */ |
|
| 29 | 40 | public function setFile(?\SplFileInfo $file): void; |
| 30 | 41 | |
| 31 | 42 | public function hasFile(): bool; |
| 32 | 43 | |
| 44 | + /** |
|
| 45 | + * @return string |
|
| 46 | + */ |
|
| 33 | 47 | public function getPath(): ?string; |
| 34 | 48 | |
| 49 | + /** |
|
| 50 | + * @return void |
|
| 51 | + */ |
|
| 35 | 52 | public function setPath(?string $path): void; |
| 36 | 53 | |
| 37 | 54 | /** |
@@ -41,6 +58,7 @@ discard block |
||
| 41 | 58 | |
| 42 | 59 | /** |
| 43 | 60 | * @param object|null $owner |
| 61 | + * @return void |
|
| 44 | 62 | */ |
| 45 | 63 | public function setOwner($owner): void; |
| 46 | 64 | } |
@@ -31,7 +31,13 @@ |
||
| 31 | 31 | |
| 32 | 32 | public function hasImage(ImageInterface $image): bool; |
| 33 | 33 | |
| 34 | + /** |
|
| 35 | + * @return void |
|
| 36 | + */ |
|
| 34 | 37 | public function addImage(ImageInterface $image): void; |
| 35 | 38 | |
| 39 | + /** |
|
| 40 | + * @return void |
|
| 41 | + */ |
|
| 36 | 42 | public function removeImage(ImageInterface $image): void; |
| 37 | 43 | } |
@@ -32,22 +32,51 @@ discard block |
||
| 32 | 32 | CustomerAwareInterface, |
| 33 | 33 | ChannelAwareInterface |
| 34 | 34 | { |
| 35 | + /** |
|
| 36 | + * @return null|UserInterface |
|
| 37 | + */ |
|
| 35 | 38 | public function getUser(): ?UserInterface; |
| 36 | 39 | |
| 40 | + /** |
|
| 41 | + * @return AddressInterface |
|
| 42 | + */ |
|
| 37 | 43 | public function getShippingAddress(): ?AddressInterface; |
| 38 | 44 | |
| 45 | + /** |
|
| 46 | + * @return void |
|
| 47 | + */ |
|
| 39 | 48 | public function setShippingAddress(?AddressInterface $address): void; |
| 40 | 49 | |
| 50 | + /** |
|
| 51 | + * @return AddressInterface |
|
| 52 | + */ |
|
| 41 | 53 | public function getBillingAddress(): ?AddressInterface; |
| 42 | 54 | |
| 55 | + /** |
|
| 56 | + * @param AddressInterface $address |
|
| 57 | + * |
|
| 58 | + * @return void |
|
| 59 | + */ |
|
| 43 | 60 | public function setBillingAddress(?AddressInterface $address): void; |
| 44 | 61 | |
| 62 | + /** |
|
| 63 | + * @return string |
|
| 64 | + */ |
|
| 45 | 65 | public function getCheckoutState(): ?string; |
| 46 | 66 | |
| 67 | + /** |
|
| 68 | + * @return void |
|
| 69 | + */ |
|
| 47 | 70 | public function setCheckoutState(?string $checkoutState): void; |
| 48 | 71 | |
| 72 | + /** |
|
| 73 | + * @return string |
|
| 74 | + */ |
|
| 49 | 75 | public function getPaymentState(): ?string; |
| 50 | 76 | |
| 77 | + /** |
|
| 78 | + * @return void |
|
| 79 | + */ |
|
| 51 | 80 | public function setPaymentState(?string $paymentState): void; |
| 52 | 81 | |
| 53 | 82 | /** |
@@ -69,28 +98,63 @@ discard block |
||
| 69 | 98 | |
| 70 | 99 | public function hasShipments(): bool; |
| 71 | 100 | |
| 101 | + /** |
|
| 102 | + * @return void |
|
| 103 | + */ |
|
| 72 | 104 | public function addShipment(ShipmentInterface $shipment): void; |
| 73 | 105 | |
| 106 | + /** |
|
| 107 | + * @return void |
|
| 108 | + */ |
|
| 74 | 109 | public function removeShipment(ShipmentInterface $shipment): void; |
| 75 | 110 | |
| 111 | + /** |
|
| 112 | + * @return void |
|
| 113 | + */ |
|
| 76 | 114 | public function removeShipments(): void; |
| 77 | 115 | |
| 78 | 116 | public function hasShipment(ShipmentInterface $shipment): bool; |
| 79 | 117 | |
| 118 | + /** |
|
| 119 | + * @return string |
|
| 120 | + */ |
|
| 80 | 121 | public function getCurrencyCode(): ?string; |
| 81 | 122 | |
| 123 | + /** |
|
| 124 | + * @return void |
|
| 125 | + */ |
|
| 82 | 126 | public function setCurrencyCode(?string $currencyCode): void; |
| 83 | 127 | |
| 128 | + /** |
|
| 129 | + * @return string |
|
| 130 | + */ |
|
| 84 | 131 | public function getLocaleCode(): ?string; |
| 85 | 132 | |
| 133 | + /** |
|
| 134 | + * @return void |
|
| 135 | + */ |
|
| 86 | 136 | public function setLocaleCode(?string $localeCode): void; |
| 87 | 137 | |
| 138 | + /** |
|
| 139 | + * @param PromotionCouponInterface $coupon |
|
| 140 | + * |
|
| 141 | + * @return void |
|
| 142 | + */ |
|
| 88 | 143 | public function setPromotionCoupon(?BaseCouponInterface $coupon): void; |
| 89 | 144 | |
| 145 | + /** |
|
| 146 | + * @return string |
|
| 147 | + */ |
|
| 90 | 148 | public function getShippingState(): ?string; |
| 91 | 149 | |
| 150 | + /** |
|
| 151 | + * @return void |
|
| 152 | + */ |
|
| 92 | 153 | public function setShippingState(?string $state): void; |
| 93 | 154 | |
| 155 | + /** |
|
| 156 | + * @return PaymentInterface |
|
| 157 | + */ |
|
| 94 | 158 | public function getLastPayment(?string $state = null): ?PaymentInterface; |
| 95 | 159 | |
| 96 | 160 | public function getTaxTotal(): int; |
@@ -99,12 +163,26 @@ discard block |
||
| 99 | 163 | |
| 100 | 164 | public function getOrderPromotionTotal(): int; |
| 101 | 165 | |
| 166 | + /** |
|
| 167 | + * @return string |
|
| 168 | + */ |
|
| 102 | 169 | public function getTokenValue(): ?string; |
| 103 | 170 | |
| 171 | + /** |
|
| 172 | + * @return void |
|
| 173 | + */ |
|
| 104 | 174 | public function setTokenValue(?string $tokenValue): void; |
| 105 | 175 | |
| 176 | + /** |
|
| 177 | + * @return string |
|
| 178 | + */ |
|
| 106 | 179 | public function getCustomerIp(): ?string; |
| 107 | 180 | |
| 181 | + /** |
|
| 182 | + * @param string|null $customerIp |
|
| 183 | + * |
|
| 184 | + * @return void |
|
| 185 | + */ |
|
| 108 | 186 | public function setCustomerIp(?string $customerIp): void; |
| 109 | 187 | |
| 110 | 188 | /** |
@@ -19,16 +19,32 @@ |
||
| 19 | 19 | { |
| 20 | 20 | public function getProduct(): ?ProductInterface; |
| 21 | 21 | |
| 22 | + /** |
|
| 23 | + * @return ProductVariantInterface |
|
| 24 | + */ |
|
| 22 | 25 | public function getVariant(): ?ProductVariantInterface; |
| 23 | 26 | |
| 27 | + /** |
|
| 28 | + * @return void |
|
| 29 | + */ |
|
| 24 | 30 | public function setVariant(?ProductVariantInterface $variant): void; |
| 25 | 31 | |
| 26 | 32 | public function getProductName(): ?string; |
| 27 | 33 | |
| 34 | + /** |
|
| 35 | + * @param string $productName |
|
| 36 | + * |
|
| 37 | + * @return void |
|
| 38 | + */ |
|
| 28 | 39 | public function setProductName(?string $productName): void; |
| 29 | 40 | |
| 30 | 41 | public function getVariantName(): ?string; |
| 31 | 42 | |
| 43 | + /** |
|
| 44 | + * @param string $variantName |
|
| 45 | + * |
|
| 46 | + * @return void |
|
| 47 | + */ |
|
| 32 | 48 | public function setVariantName(?string $variantName): void; |
| 33 | 49 | |
| 34 | 50 | public function getTaxTotal(): int; |
@@ -19,7 +19,15 @@ |
||
| 19 | 19 | |
| 20 | 20 | interface PaymentMethodInterface extends BasePaymentMethodInterface, ChannelsAwareInterface |
| 21 | 21 | { |
| 22 | + /** |
|
| 23 | + * @param GatewayConfigInterface $gateway |
|
| 24 | + * |
|
| 25 | + * @return void |
|
| 26 | + */ |
|
| 22 | 27 | public function setGatewayConfig(?GatewayConfigInterface $gateway): void; |
| 23 | 28 | |
| 29 | + /** |
|
| 30 | + * @return GatewayConfigInterface |
|
| 31 | + */ |
|
| 24 | 32 | public function getGatewayConfig(): ?GatewayConfigInterface; |
| 25 | 33 | } |