You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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(): ?int;
  13. public function setQuantityOrder(int $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. }