Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

ReductionCreditInterface.php 2.6KB

il y a 3 ans
il y a 3 ans
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <?php
  2. namespace Lc\CaracoleBundle\Model\Reduction;
  3. use Doctrine\Common\Collections\Collection;
  4. use Lc\CaracoleBundle\Model\Merchant\MerchantInterface;
  5. use Lc\SovBundle\Model\User\UserInterface;
  6. interface ReductionCreditInterface
  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 getTitle(): ?string;
  15. public function setTitle(string $title): ReductionCreditInterface;
  16. public function getMerchant(): MerchantInterface;
  17. public function setMerchant(MerchantInterface $merchant): ReductionCreditInterface;
  18. public function getType(): ?string;
  19. public function setType(string $type): ReductionCreditInterface;
  20. /**
  21. * @return Collection|UserInterface[]
  22. */
  23. public function getUsers(): Collection;
  24. public function addUser(UserInterface $user): ReductionCreditInterface;
  25. public function removeUser(UserInterface $user): ReductionCreditInterface;
  26. public function getSended(): ?bool;
  27. public function setSended(?bool $sended): ReductionCreditInterface;
  28. public function getOwner(): ?UserInterface;
  29. public function setOwner(?UserInterface $owner): ReductionCreditInterface;
  30. public function getActivationDate(): ?\DateTimeInterface;
  31. public function setActivationDate(?\DateTimeInterface $activationDate
  32. ): ReductionCreditInterface;
  33. public function getOwnerName(): ?string;
  34. public function setOwnerName(?string $ownerName): ReductionCreditInterface;
  35. public function getOwnerMessage(): ?string;
  36. public function setOwnerMessage(?string $ownerMessage): ReductionCreditInterface;
  37. public function getValue(): ?float;
  38. public function setValue(?float $value): ReductionCreditInterface;
  39. public function getUnit(): ?string;
  40. public function setUnit(?string $unit): ReductionCreditInterface;
  41. public function getBehaviorTaxRate(): ?string;
  42. public function setBehaviorTaxRate(?string $behaviorTaxRate
  43. ): ReductionCreditInterface;
  44. public function getStatus(): ?float;
  45. public function setStatus(float $status): ReductionCreditInterface;
  46. public function getCreatedAt(): ?\DateTimeInterface;
  47. public function setCreatedAt(\DateTimeInterface $createdAt
  48. );
  49. public function getUpdatedAt(): ?\DateTimeInterface;
  50. public function setUpdatedAt(\DateTimeInterface $updatedAt
  51. );
  52. }