Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

ProductFamilyInterface.php 9.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315
  1. <?php
  2. namespace Lc\CaracoleBundle\Model\Product;
  3. use Doctrine\Common\Collections\Collection;
  4. use Lc\CaracoleBundle\Model\Config\TaxRateInterface;
  5. use Lc\CaracoleBundle\Model\Config\UnitInterface;
  6. use Lc\CaracoleBundle\Model\Reduction\ReductionCatalogInterface;
  7. use Lc\SovBundle\Model\File\FileInterface;
  8. use Lc\SovBundle\Model\User\UserInterface;
  9. interface ProductFamilyInterface
  10. {
  11. public function getTitle(): ?string;
  12. public function setTitle(string $title);
  13. public function getDescription(): ?string;
  14. public function setDescription(?string $description);
  15. public function getCreatedBy(): ?UserInterface;
  16. public function setCreatedBy(?UserInterface $createdBy);
  17. public function getUpdatedBy(): ?UserInterface;
  18. public function setUpdatedBy(?UserInterface $updatedBy);
  19. public function getDevAlias(): ?string;
  20. public function setDevAlias(?string $devAlias);
  21. public function getPriceInherited(): ?float;
  22. public function getUnitInherited(): ?UnitInterface;
  23. public function getTaxRateInherited(): ?TaxRateInterface;
  24. public function getBuyingPriceInherited(): ?float;
  25. public function getBuyingPrice(): ?float;
  26. public function setBuyingPrice(?float $buyingPrice): ProductFamilyInterface;
  27. public function getPrice(): ?float;
  28. public function setPrice(?float $price): ProductFamilyInterface;
  29. public function getUnit(): ?UnitInterface;
  30. public function setUnit(?UnitInterface $unit): ProductFamilyInterface;
  31. public function getTaxRate(): ?TaxRateInterface;
  32. public function setTaxRate(?TaxRateInterface $taxRate): ProductFamilyInterface;
  33. public function getActiveProducts(): ?bool;
  34. public function setActiveProducts(bool $activeProducts): ProductFamilyInterface;
  35. public function getProductsQuantityAsTitle(): ?bool;
  36. public function setProductsQuantityAsTitle(bool $productsQuantityAsTitle
  37. ): ProductFamilyInterface;
  38. public function getProductsType(): ?string;
  39. public function setProductsType(?string $productsType): ProductFamilyInterface;
  40. public function getQuantityLabel(): ?string;
  41. public function setQuantityLabel(?string $quantityLabel): ProductFamilyInterface;
  42. /**
  43. * @return Collection|ProductInterface[]
  44. */
  45. public function getProducts(): Collection;
  46. public function addProduct(ProductInterface $product): ProductFamilyInterface;
  47. public function removeProduct(ProductInterface $product): ProductFamilyInterface;
  48. public function getReductionCatalog(): ?ReductionCatalogInterface;
  49. public function setReductionCatalog(?ReductionCatalogInterface $reductionCatalog
  50. ): ProductFamilyInterface;
  51. /**
  52. * @return Collection|ProductCategoryInterface[]
  53. */
  54. public function getProductCategories(): Collection;
  55. public function initProductCategories();
  56. public function addProductCategory(ProductCategoryInterface $productCategory
  57. ): ProductFamilyInterface;
  58. public function removeProductCategory(ProductCategoryInterface $productCategory
  59. ): ProductFamilyInterface;
  60. public function getSubtitle(): ?string;
  61. public function setSubtitle(?string $subtitle): ProductFamilyInterface;
  62. public function getWarningMessage(): ?string;
  63. public function setWarningMessage(?string $warningMessage): ProductFamilyInterface;
  64. public function getWarningMessageType(): ?string;
  65. public function setWarningMessageType(?string $warningMessageType
  66. ): ProductFamilyInterface;
  67. public function getNote(): ?string;
  68. public function setNote(?string $note): ProductFamilyInterface;
  69. public function getBehaviorOutOfStock(): ?string;
  70. public function setBehaviorOutOfStock(?string $behaviorOutOfStock
  71. ): ProductFamilyInterface;
  72. public function getBehaviorCountStock(): ?string;
  73. public function setBehaviorCountStock(string $behaviorCountStock
  74. ): ProductFamilyInterface;
  75. public function getExportTitle(): ?string;
  76. public function setExportTitle(?string $exportTitle): ProductFamilyInterface;
  77. public function getExportNote(): ?string;
  78. public function setExportNote(?string $exportNote): ProductFamilyInterface;
  79. public function getBehaviorStockCycle(): ?string;
  80. public function setBehaviorStockCycle(string $behaviorStockCycle
  81. ): ProductFamilyInterface;
  82. public function getBehaviorDisplaySale(): ?string;
  83. public function setBehaviorDisplaySale(string $behaviorDisplaySale
  84. ): ProductFamilyInterface;
  85. public function getPropertyNoveltyExpirationDate(): ?\DateTimeInterface;
  86. public function setPropertyNoveltyExpirationDate(?\DateTimeInterface $propertyNoveltyExpirationDate
  87. ): ProductFamilyInterface;
  88. public function getPropertyOrganicLabel(): ?string;
  89. public function setPropertyOrganicLabel(?string $propertyOrganicLabel
  90. ): ProductFamilyInterface;
  91. public function getPropertyAllergens(): ?string;
  92. public function setPropertyAllergens(?string $propertyAllergens
  93. ): ProductFamilyInterface;
  94. public function getPropertyComposition(): ?string;
  95. public function setPropertyComposition(?string $propertyComposition
  96. ): ProductFamilyInterface;
  97. public function getPropertyFragrances(): ?string;
  98. public function setPropertyFragrances(?string $propertyFragrances
  99. ): ProductFamilyInterface;
  100. public function getBehaviorExpirationDate(): ?string;
  101. public function setBehaviorExpirationDate(?string $behaviorExpirationDate
  102. ): ProductFamilyInterface;
  103. public function getTypeExpirationDate(): ?string;
  104. public function setTypeExpirationDate(?string $typeExpirationDate
  105. ): ProductFamilyInterface;
  106. public function getPropertyWeight(): ?string;
  107. public function setPropertyWeight(?string $propertyWeight): ProductFamilyInterface;
  108. public function getPropertyQuantity(): ?string;
  109. public function setPropertyQuantity(?string $propertyQuantity): ProductFamilyInterface;
  110. public function getPropertyVariety(): ?string;
  111. public function setPropertyVariety(?string $propertyVariety): ProductFamilyInterface;
  112. public function getPropertyFeature(): ?string;
  113. public function setPropertyFeature(?string $propertyFeature): ProductFamilyInterface;
  114. public function getPropertyAlcoholLevel(): ?string;
  115. public function setPropertyAlcoholLevel(?string $propertyAlcoholLevel
  116. ): ProductFamilyInterface;
  117. public function getPropertyPackaging(): ?string;
  118. public function setPropertyPackaging(?string $propertyPackaging
  119. ): ProductFamilyInterface;
  120. public function getPropertyCharacteristics(): ?string;
  121. public function setPropertyCharacteristics(?string $propertyCharacteristics
  122. ): ProductFamilyInterface;
  123. public function getBehaviorAddToCart(): ?string;
  124. public function setBehaviorAddToCart(?string $behaviorAddToCart
  125. ): ProductFamilyInterface;
  126. public function getBehaviorPrice(): ?string;
  127. public function setBehaviorPrice(?string $behaviorPrice): ProductFamilyInterface;
  128. public function getSaleStatus(): ?bool;
  129. public function setSaleStatus(bool $saleStatus): ProductFamilyInterface;
  130. public function getImage(): ?FileInterface;
  131. public function setImage(?FileInterface $image): ProductFamilyInterface;
  132. /**
  133. * @return Collection|ProductFamilySectionPropertyInterface[]
  134. */
  135. public function getProductFamilySectionProperties(): Collection;
  136. public function addProductFamilySectionProperty(ProductFamilySectionPropertyInterface $productFamilySectionProperty
  137. ): ProductFamilyInterface;
  138. public function removeProductFamilySectionProperty(
  139. ProductFamilySectionPropertyInterface $productFamilySectionProperty
  140. ): ProductFamilyInterface;
  141. /**
  142. * @return Collection|QualityLabelInterface[]
  143. */
  144. public function getQualityLabels(): Collection;
  145. public function addQualityLabel(QualityLabelInterface $qualityLabel
  146. ): ProductFamilyInterface;
  147. public function removeQualityLabel(QualityLabelInterface $qualityLabel
  148. ): ProductFamilyInterface;
  149. public function getBuyingPriceByRefUnit(): ?float;
  150. public function setBuyingPriceByRefUnit(?float $buyingPriceByRefUnit
  151. ): ProductFamilyInterface;
  152. public function getPriceByRefUnit(): ?float;
  153. public function setPriceByRefUnit(?float $priceByRefUnit): ProductFamilyInterface;
  154. public function getQuantity(): ?float;
  155. public function setQuantity(?float $quantity): ProductFamilyInterface;
  156. public function getAvailableQuantity(): ?float;
  157. public function setAvailableQuantity(?float $availableQuantity
  158. ): ProductFamilyInterface;
  159. public function getAvailableQuantityDefault(): ?float;
  160. public function setAvailableQuantityDefault(?float $availableQuantityDefault
  161. ): ProductFamilyInterface;
  162. public function getPropertyExpirationDate(): ?string;
  163. public function setPropertyExpirationDate(?string $propertyExpirationDate
  164. ): ProductFamilyInterface;
  165. public function getMetaTitle(): ?string;
  166. public function setMetaTitle(?string $metaTitle);
  167. public function getMetaDescription(): ?string;
  168. public function setMetaDescription(?string $metaDescription);
  169. public function setOldUrls($oldUrls);
  170. public function getOldUrls(): ?array;
  171. public function getSlug(): ?string;
  172. public function setSlug(?string $slug);
  173. public function getPosition(): float;
  174. public function setPosition(float $position);
  175. public function clearPosition();
  176. public function getStatus(): ?float;
  177. public function setStatus(float $status);
  178. public function getCreatedAt(): ?\DateTimeInterface;
  179. public function setCreatedAt(\DateTimeInterface $createdAt);
  180. public function getUpdatedAt(): ?\DateTimeInterface;
  181. public function setUpdatedAt(\DateTimeInterface $updatedAt);
  182. }