Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

246 lines
8.5KB

  1. <?php
  2. namespace Lc\CaracoleBundle\Model\Product;
  3. use Doctrine\Common\Collections\Collection;
  4. use Lc\CaracoleBundle\Model\Reduction\ReductionCatalogInterface;
  5. use Lc\CaracoleBundle\Model\Section\SectionInterface;
  6. use Lc\SovBundle\Model\File\FileInterface;
  7. /**
  8. * @ORM\MappedSuperclass()
  9. */
  10. interface ProductFamilyInterface
  11. {
  12. public function getBehaviorCountStockChoices(): array;
  13. public function getBehaviorDisplaySaleChoices(): array;
  14. public function getBehaviorStockCycleChoices(): array;
  15. public function getWaringMessageTypeChoices(): array;
  16. public function getBehaviorAddToCartChoices(): array;
  17. public function getBehaviorPriceChoices(): array;
  18. public function getPropertyOrganicLabelChoices(): array;
  19. public function getTypeExpirationDateChoices(): array;
  20. public function getBehaviorExpirationDateChoices(): array;
  21. public function getSection(): SectionInterface;
  22. public function setSection(SectionInterface $section): \Lc\CaracoleBundle\Model\Product\ProductFamilyModel;
  23. public function getAvailableQuantityInherited();
  24. public function getTaxRateInherited();
  25. public function getActiveProducts(): ?bool;
  26. public function setActiveProducts(bool $activeProducts): \Lc\CaracoleBundle\Model\Product\ProductFamilyModel;
  27. public function getProductsQuantityAsTitle(): ?bool;
  28. public function setProductsQuantityAsTitle(bool $productsQuantityAsTitle
  29. ): \Lc\CaracoleBundle\Model\Product\ProductFamilyModel;
  30. public function getProductsType(): ?string;
  31. public function setProductsType(?string $productsType): \Lc\CaracoleBundle\Model\Product\ProductFamilyModel;
  32. public function getQuantityLabel(): ?string;
  33. public function setQuantityLabel(?string $quantityLabel): \Lc\CaracoleBundle\Model\Product\ProductFamilyModel;
  34. /**
  35. * @return Collection|ProductInterface[]
  36. */
  37. public function getProducts(): Collection;
  38. public function getProductsOnline(): Collection;
  39. public function addProduct(ProductInterface $product): \Lc\CaracoleBundle\Model\Product\ProductFamilyModel;
  40. public function removeProduct(ProductInterface $product): \Lc\CaracoleBundle\Model\Product\ProductFamilyModel;
  41. public function getReductionCatalog(): ?ReductionCatalogInterface;
  42. public function getReductionCatalogInherited(): ?ReductionCatalogInterface;
  43. public function setReductionCatalog(?ReductionCatalogInterface $reductionCatalog
  44. ): \Lc\CaracoleBundle\Model\Product\ProductFamilyModel;
  45. /**
  46. * @return Collection|ProductCategoryInterface[]
  47. */
  48. public function getProductCategories(): Collection;
  49. public function initProductCategories();
  50. public function addProductCategory(ProductCategoryInterface $productCategory
  51. ): \Lc\CaracoleBundle\Model\Product\ProductFamilyModel;
  52. public function removeProductCategory(ProductCategoryInterface $productCategory
  53. ): \Lc\CaracoleBundle\Model\Product\ProductFamilyModel;
  54. public function getProductCategoryParent();
  55. public function getProductCategoryChild();
  56. public function getSubtitle(): ?string;
  57. public function setSubtitle(?string $subtitle): \Lc\CaracoleBundle\Model\Product\ProductFamilyModel;
  58. public function getWarningMessage(): ?string;
  59. public function setWarningMessage(?string $warningMessage): \Lc\CaracoleBundle\Model\Product\ProductFamilyModel;
  60. public function getWarningMessageType(): ?string;
  61. public function setWarningMessageType(?string $warningMessageType
  62. ): \Lc\CaracoleBundle\Model\Product\ProductFamilyModel;
  63. public function getNote(): ?string;
  64. public function setNote(?string $note): \Lc\CaracoleBundle\Model\Product\ProductFamilyModel;
  65. public function getBehaviorOutOfStock(): ?string;
  66. public function setBehaviorOutOfStock(?string $behaviorOutOfStock
  67. ): \Lc\CaracoleBundle\Model\Product\ProductFamilyModel;
  68. public function getBehaviorCountStock(): ?string;
  69. public function setBehaviorCountStock(string $behaviorCountStock
  70. ): \Lc\CaracoleBundle\Model\Product\ProductFamilyModel;
  71. public function getExportTitle(): ?string;
  72. public function setExportTitle(?string $exportTitle): \Lc\CaracoleBundle\Model\Product\ProductFamilyModel;
  73. public function getExportNote(): ?string;
  74. public function setExportNote(?string $exportNote): \Lc\CaracoleBundle\Model\Product\ProductFamilyModel;
  75. public function getBehaviorStockWeek(): ?string;
  76. public function setBehaviorStockWeek(string $behaviorStockWeek
  77. ): \Lc\CaracoleBundle\Model\Product\ProductFamilyModel;
  78. public function getAvailabilityRenewedThisWeek(): ?bool;
  79. public function setAvailabilityRenewedThisWeek(?bool $availabilityRenewedThisWeek
  80. ): \Lc\CaracoleBundle\Model\Product\ProductFamilyModel;
  81. public function getBehaviorDisplaySale(): ?string;
  82. public function setBehaviorDisplaySale(string $behaviorDisplaySale
  83. ): \Lc\CaracoleBundle\Model\Product\ProductFamilyModel;
  84. public function isPropertyNoveltyOnline(): ?bool;
  85. public function getPropertyNoveltyExpirationDate(): ?\DateTimeInterface;
  86. public function setPropertyNoveltyExpirationDate(?\DateTimeInterface $propertyNoveltyExpirationDate
  87. ): \Lc\CaracoleBundle\Model\Product\ProductFamilyModel;
  88. public function getPropertyOrganicLabel(): ?string;
  89. public function setPropertyOrganicLabel(?string $propertyOrganicLabel
  90. ): \Lc\CaracoleBundle\Model\Product\ProductFamilyModel;
  91. public function getPropertyAllergens(): ?string;
  92. public function setPropertyAllergens(?string $propertyAllergens
  93. ): \Lc\CaracoleBundle\Model\Product\ProductFamilyModel;
  94. public function getPropertyComposition(): ?string;
  95. public function setPropertyComposition(?string $propertyComposition
  96. ): \Lc\CaracoleBundle\Model\Product\ProductFamilyModel;
  97. public function getPropertyFragrances(): ?string;
  98. public function setPropertyFragrances(?string $propertyFragrances
  99. ): \Lc\CaracoleBundle\Model\Product\ProductFamilyModel;
  100. public function countProperties(): bool;
  101. public function getBehaviorExpirationDate(): ?string;
  102. public function setBehaviorExpirationDate(?string $behaviorExpirationDate
  103. ): \Lc\CaracoleBundle\Model\Product\ProductFamilyModel;
  104. public function getTypeExpirationDate(): ?string;
  105. public function setTypeExpirationDate(?string $typeExpirationDate
  106. ): \Lc\CaracoleBundle\Model\Product\ProductFamilyModel;
  107. public function getPropertyWeight(): ?string;
  108. public function setPropertyWeight(?string $propertyWeight): \Lc\CaracoleBundle\Model\Product\ProductFamilyModel;
  109. public function getPropertyQuantity(): ?string;
  110. public function setPropertyQuantity(?string $propertyQuantity): \Lc\CaracoleBundle\Model\Product\ProductFamilyModel;
  111. public function getPropertyVariety(): ?string;
  112. public function setPropertyVariety(?string $propertyVariety): \Lc\CaracoleBundle\Model\Product\ProductFamilyModel;
  113. public function getPropertyFeature(): ?string;
  114. public function setPropertyFeature(?string $propertyFeature): \Lc\CaracoleBundle\Model\Product\ProductFamilyModel;
  115. public function getPropertyAlcoholLevel(): ?string;
  116. public function setPropertyAlcoholLevel(?string $propertyAlcoholLevel
  117. ): \Lc\CaracoleBundle\Model\Product\ProductFamilyModel;
  118. public function getPropertyPackaging(): ?string;
  119. public function setPropertyPackaging(?string $propertyPackaging
  120. ): \Lc\CaracoleBundle\Model\Product\ProductFamilyModel;
  121. public function getPropertyCharacteristics(): ?string;
  122. public function setPropertyCharacteristics(?string $propertyCharacteristics
  123. ): \Lc\CaracoleBundle\Model\Product\ProductFamilyModel;
  124. public function getBehaviorAddToCart(): ?string;
  125. public function setBehaviorAddToCart(?string $behaviorAddToCart
  126. ): \Lc\CaracoleBundle\Model\Product\ProductFamilyModel;
  127. public function getBehaviorPrice(): ?string;
  128. public function getBehaviorPriceInherited();
  129. public function setBehaviorPrice(?string $behaviorPrice): \Lc\CaracoleBundle\Model\Product\ProductFamilyModel;
  130. public function hasProductsWithVariousWeight();
  131. public function getProductsGroupByTitle();
  132. public function getOriginProduct();
  133. public function getOriginProductOnline();
  134. public function hasOneProductOnline();
  135. public function getSaleStatus(): ?bool;
  136. public function setSaleStatus(bool $saleStatus): \Lc\CaracoleBundle\Model\Product\ProductFamilyModel;
  137. public function getFieldBuyingPrice();
  138. public function getFieldPrice();
  139. public function getImage(): ?FileInterface;
  140. public function setImage(?FileInterface $image): \Lc\CaracoleBundle\Model\Product\ProductFamilyModel;
  141. }