選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

92 行
2.6KB

  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. }