No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

CreditHistoryInterface.php 2.7KB

hace 3 años
hace 3 años
hace 3 años
hace 3 años
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <?php
  2. /**
  3. * @author La clic ! <contact@laclic.fr>
  4. */
  5. namespace Lc\CaracoleBundle\Model\Credit;
  6. use Lc\CaracoleBundle\Doctrine\Extension\PayoffTrait;
  7. use Lc\CaracoleBundle\Model\Order\OrderPaymentInterface;
  8. use Lc\CaracoleBundle\Model\Order\OrderRefundInterface;
  9. use Lc\CaracoleBundle\Model\User\UserMerchantInterface;
  10. use Lc\SovBundle\Doctrine\Extension\BlameableTrait;
  11. use Lc\SovBundle\Doctrine\Extension\DevAliasTrait;
  12. use Lc\SovBundle\Doctrine\Extension\TimestampableTrait;
  13. use Lc\SovBundle\Model\User\UserInterface;
  14. /**
  15. * @ORM\MappedSuperclass()
  16. */
  17. interface CreditHistoryInterface
  18. {
  19. public function getCreatedBy(): ?UserInterface;
  20. public function setCreatedBy(?UserInterface $createdBy);
  21. public function getUpdatedBy(): ?UserInterface;
  22. public function setUpdatedBy(?UserInterface $updatedBy);
  23. public function __toString();
  24. public function getAmount(): ?float;
  25. public function setAmount(?float $amount);
  26. public function getAmountInherited(): float;
  27. public function getMeanPaymentInherited(): string;
  28. public function getPaidAtInherited(): ?\DateTimeInterface;
  29. public function getReferenceInherited(): ?string;
  30. public function getCommentInherited(): ?string;
  31. public function getMeanPaymentInheritedLabel(): string;
  32. public function getType(): ?string;
  33. public function setType(string $type): CreditHistoryModel;
  34. public function getUserMerchant(): ?UserMerchantInterface;
  35. public function setUserMerchant(?UserMerchantInterface $userMerchant): CreditHistoryModel;
  36. public function getOrderPayment(): ?OrderPaymentInterface;
  37. public function setOrderPayment(?OrderPaymentInterface $orderPayment): CreditHistoryModel;
  38. public function getOrderRefund(): ?OrderRefundInterface;
  39. public function setOrderRefund(?OrderRefundInterface $orderRefund): CreditHistoryModel;
  40. public function getDevAlias(): ?string;
  41. public function setDevAlias(?string $devAlias);
  42. public function setMeanPayment(?string $meanPayment): CreditHistoryModel;
  43. public function getMeanPayment(): ?string;
  44. public function getReference(): ?string;
  45. public function setReference(?string $reference): CreditHistoryModel;
  46. public function getPaidAt(): ?\DateTimeInterface;
  47. public function setPaidAt(?\DateTimeInterface $paidAt): CreditHistoryModel;
  48. public function getComment(): ?string;
  49. public function setComment(?string $comment): CreditHistoryModel;
  50. public function getCreatedAt(): ?\DateTimeInterface;
  51. public function setCreatedAt(\DateTimeInterface $createdAt);
  52. public function getUpdatedAt(): ?\DateTimeInterface;
  53. public function setUpdatedAt(\DateTimeInterface $updatedAt);
  54. }