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.

48 lines
1.0KB

  1. <?php
  2. namespace Lc\CaracoleBundle\Doctrine\Extension;
  3. use Lc\CaracoleBundle\Model\Config\TaxRateInterface;
  4. use Lc\CaracoleBundle\Model\Config\UnitInterface;
  5. interface PriceInterface
  6. {
  7. /**
  8. * Retourne le prix hérité
  9. *
  10. * @return float
  11. */
  12. public function getPriceInherited(): ?float;
  13. /**
  14. * Retourne le TaxRate hérité
  15. *
  16. * @return TaxRateInterface
  17. */
  18. public function getTaxRateInherited(): ?TaxRateInterface;
  19. /**
  20. * Retourne le Unit hérité
  21. *
  22. * @return UnitInterface
  23. */
  24. public function getUnitInherited(): ?UnitInterface;
  25. public function getBuyingPriceInherited(): ?float;
  26. public function getBuyingPrice(): ?float;
  27. public function setBuyingPrice(?float $buyingPrice);
  28. public function getPrice(): ?float;
  29. public function setPrice(?float $price);
  30. public function getUnit(): ?UnitInterface;
  31. public function setUnit(?UnitInterface $unit);
  32. public function getTaxRate(): ?TaxRateInterface;
  33. public function setTaxRate(?TaxRateInterface $taxRate);
  34. }