Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

113 linhas
3.2KB

  1. <?php
  2. namespace Lc\CaracoleBundle\Model\Product;
  3. use Lc\CaracoleBundle\Model\Config\TaxRateInterface;
  4. use Lc\CaracoleBundle\Model\Config\UnitInterface;
  5. use Lc\SovBundle\Model\User\UserInterface;
  6. interface ProductInterface
  7. {
  8. public function getCreatedBy(): ?UserInterface;
  9. public function setCreatedBy(?UserInterface $createdBy);
  10. public function getUpdatedBy(): ?UserInterface;
  11. public function setUpdatedBy(?UserInterface $updatedBy);
  12. public function getDevAlias(): ?string;
  13. public function setDevAlias(?string $devAlias);
  14. public function getPriceInherited(): ?float;
  15. public function getUnitInherited(): ?UnitInterface;
  16. public function getTaxRateInherited(): ?TaxRateInterface;
  17. public function getBuyingPriceInherited(): ?float;
  18. public function getBuyingPrice(): ?float;
  19. public function setBuyingPrice(?float $buyingPrice): ProductInterface;
  20. public function getPrice(): ?float;
  21. public function setPrice(?float $price): ProductInterface;
  22. public function getUnit(): ?UnitInterface;
  23. public function setUnit(?UnitInterface $unit): ProductInterface;
  24. public function getTaxRate(): ?TaxRateInterface;
  25. public function setTaxRate(?TaxRateInterface $taxRate): ProductInterface;
  26. public function getProductFamily(): ?ProductFamilyInterface;
  27. public function setProductFamily(?ProductFamilyInterface $productFamily
  28. ): ProductInterface;
  29. public function getTitle(): ?string;
  30. public function setTitle(?string $title): ProductInterface;
  31. public function getOriginProduct(): ?bool;
  32. public function setOriginProduct(?bool $originProduct): ProductInterface;
  33. public function getExportTitle(): ?string;
  34. public function setExportTitle(?string $exportTitle): ProductInterface;
  35. public function getExportNote(): ?string;
  36. public function setExportNote(?string $exportNote): ProductInterface;
  37. public function getBuyingPriceByRefUnit(): ?float;
  38. public function setBuyingPriceByRefUnit(?float $buyingPriceByRefUnit
  39. ): ProductInterface;
  40. public function getPriceByRefUnit(): ?float;
  41. public function setPriceByRefUnit(?float $priceByRefUnit): ProductInterface;
  42. public function getQuantity(): ?float;
  43. public function setQuantity(?float $quantity): ProductInterface;
  44. public function getAvailableQuantity(): ?float;
  45. public function setAvailableQuantity(?float $availableQuantity): ProductInterface;
  46. public function getAvailableQuantityDefault(): ?float;
  47. public function setAvailableQuantityDefault(?float $availableQuantityDefault
  48. ): ProductInterface;
  49. public function getPropertyExpirationDate(): ?string;
  50. public function setPropertyExpirationDate(?string $propertyExpirationDate
  51. ): ProductInterface;
  52. public function getPosition(): float;
  53. public function setPosition(float $position);
  54. public function clearPosition();
  55. public function getStatus(): ?float;
  56. public function setStatus(float $status);
  57. public function getCreatedAt(): ?\DateTimeInterface;
  58. public function setCreatedAt(\DateTimeInterface $createdAt);
  59. public function getUpdatedAt(): ?\DateTimeInterface;
  60. public function setUpdatedAt(\DateTimeInterface $updatedAt);
  61. }