Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

60 lines
1.8KB

  1. <?php
  2. namespace Lc\CaracoleBundle\Model\Order;
  3. use Lc\CaracoleBundle\Model\Config\TaxRateInterface;
  4. use Lc\CaracoleBundle\Model\Config\UnitInterface;
  5. use Lc\CaracoleBundle\Model\Product\ProductInterface;
  6. interface OrderProductInterface
  7. {
  8. public function getOrderShop(): ?OrderShopInterface;
  9. public function setOrderShop(?OrderShopInterface $orderShop): OrderProductInterface;
  10. public function getProduct(): ?ProductInterface;
  11. public function setProduct(?ProductInterface $product): OrderProductInterface;
  12. public function getQuantityOrder(): ?float;
  13. public function setQuantityOrder(float $quantityOrder): OrderProductInterface;
  14. public function getQuantityProduct(): ?float;
  15. public function setQuantityProduct(float $quantityProduct): OrderProductInterface;
  16. public function getTitle(): ?string;
  17. public function setTitle(string $title): OrderProductInterface;
  18. public function getOrderProductReductionCatalog(): ?OrderProductReductionCatalogInterface;
  19. public function setOrderProductReductionCatalog(?OrderProductReductionCatalogInterface $orderProductReductionCatalog
  20. ): OrderProductInterface;
  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): OrderProductInterface;
  27. public function getPrice(): ?float;
  28. public function setPrice(?float $price): OrderProductInterface;
  29. public function getUnit(): ?UnitInterface;
  30. public function setUnit(?UnitInterface $unit): OrderProductInterface;
  31. public function getTaxRate(): ?TaxRateInterface;
  32. public function setTaxRate(?TaxRateInterface $taxRate): OrderProductInterface;
  33. }