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.

68 lines
2.1KB

  1. <?php
  2. namespace Lc\CaracoleBundle\Model\Credit;
  3. use Lc\CaracoleBundle\Model\Order\OrderPaymentInterface;
  4. use Lc\CaracoleBundle\Model\Order\OrderRefundInterface;
  5. use Lc\CaracoleBundle\Model\User\UserMerchantInterface;
  6. use Lc\SovBundle\Model\User\UserInterface;
  7. interface CreditHistoryInterface
  8. {
  9. public function getCreatedBy(): ?UserInterface;
  10. public function setCreatedBy(?UserInterface $createdBy);
  11. public function getUpdatedBy(): ?UserInterface;
  12. public function setUpdatedBy(?UserInterface $updatedBy);
  13. public function getAmount(): ?float;
  14. public function setAmount(?float $amount): CreditHistoryInterface;
  15. public function getType(): ?string;
  16. public function setType(string $type): CreditHistoryInterface;
  17. public function getUserMerchant(): ?UserMerchantInterface;
  18. public function setUserMerchant(?UserMerchantInterface $userMerchant): CreditHistoryInterface;
  19. public function getOrderPayment(): ?OrderPaymentInterface;
  20. public function setOrderPayment(?OrderPaymentInterface $orderPayment): CreditHistoryInterface;
  21. public function getOrderRefund(): ?OrderRefundInterface;
  22. public function setOrderRefund(?OrderRefundInterface $orderRefund): CreditHistoryInterface;
  23. public function getDevAlias(): ?string;
  24. public function setDevAlias(?string $devAlias);
  25. public function setMeanPayment(?string $meanPayment): CreditHistoryInterface;
  26. public function getMeanPayment(): ?string;
  27. public function getReference(): ?string;
  28. public function setReference(?string $reference): CreditHistoryInterface;
  29. public function getPaidAt(): ?\DateTimeInterface;
  30. public function setPaidAt(?\DateTimeInterface $paidAt): CreditHistoryInterface;
  31. public function getComment(): ?string;
  32. public function setComment(?string $comment): CreditHistoryInterface;
  33. public function getCreatedAt(): ?\DateTimeInterface;
  34. public function setCreatedAt(\DateTimeInterface $createdAt);
  35. public function getUpdatedAt(): ?\DateTimeInterface;
  36. public function setUpdatedAt(\DateTimeInterface $updatedAt);
  37. }