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

87 lines
3.4KB

  1. <?php
  2. namespace Lc\CaracoleBundle\Model\PointSale;
  3. use App\Entity\File\File;
  4. use Doctrine\Common\Collections\Collection;
  5. use Lc\CaracoleBundle\Model\Address\AddressInterface;
  6. use Lc\CaracoleBundle\Model\Merchant\MerchantInterface;
  7. use Lc\CaracoleBundle\Model\User\UserPointSaleInterface;
  8. use Lc\SovBundle\Model\User\UserInterface;
  9. interface PointSaleInterface
  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 getOrderAmountMin(): ?float;
  22. public function setOrderAmountMin(float $orderAmountMin): PointSaleInterface;
  23. /**
  24. * @return Collection|MerchantInterface[]
  25. */
  26. public function getMerchants(): Collection;
  27. public function addMerchant(MerchantInterface $merchant): PointSaleInterface;
  28. public function removeMerchant(MerchantInterface $merchant): PointSaleInterface;
  29. public function getCode(): ?string;
  30. public function setCode(?string $code): PointSaleInterface;
  31. public function getDeliveryPrice(): ?float;
  32. public function setDeliveryPrice(float $deliveryPrice): PointSaleInterface;
  33. public function getIsPublic(): ?bool;
  34. public function setIsPublic(bool $isPublic): PointSaleInterface;
  35. public function getAddress(): ?AddressInterface;
  36. public function setAddress(AddressInterface $address): PointSaleInterface;
  37. /**
  38. * @return Collection|UserPointSaleInterface[]
  39. */
  40. public function getUserPointSales(): Collection;
  41. public function addUserPointSale(UserPointSaleInterface $userPointSale
  42. ): PointSaleInterface;
  43. public function removeUserPointSale(UserPointSaleInterface $userPointSale
  44. ): PointSaleInterface;
  45. public function getImage(): ?File;
  46. public function setImage(?File $image): PointSaleInterface;
  47. public function getMetaTitle(): ?string;
  48. public function setMetaTitle(?string $metaTitle);
  49. public function getMetaDescription(): ?string;
  50. public function setMetaDescription(?string $metaDescription);
  51. public function setOldUrls($oldUrls);
  52. public function getOldUrls(): ?array;
  53. public function getSlug(): ?string;
  54. public function setSlug(?string $slug);
  55. /**
  56. * @return float
  57. */
  58. public function getPosition(): float;
  59. /**
  60. * @param float $position
  61. * @return $this
  62. */
  63. public function setPosition(float $position);
  64. public function clearPosition();
  65. public function getStatus(): ?float;
  66. public function setStatus(float $status);
  67. public function getCreatedAt(): ?\DateTimeInterface;
  68. public function setCreatedAt(\DateTimeInterface $createdAt);
  69. public function getUpdatedAt(): ?\DateTimeInterface;
  70. public function setUpdatedAt(\DateTimeInterface $updatedAt);
  71. /**
  72. * @return Collection|PointSaleSectionInterface[]
  73. */
  74. public function getPointSaleSections(): Collection;
  75. public function addPointSaleSection(PointSaleSectionInterface $pointSaleSection): PointSaleInterface;
  76. public function removePointSaleSection(PointSaleSectionInterface $pointSaleSection): PointSaleInterface;
  77. }