您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

DocumentInterface.php 3.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. <?php
  2. namespace Lc\CaracoleBundle\Model\File;
  3. use Doctrine\Common\Collections\Collection;
  4. use Lc\CaracoleBundle\Model\Address\AddressInterface;
  5. use Lc\CaracoleBundle\Model\Merchant\MerchantInterface;
  6. use Lc\CaracoleBundle\Model\Order\OrderRefundInterface;
  7. use Lc\CaracoleBundle\Model\Order\OrderShopInterface;
  8. use Lc\SovBundle\Model\User\UserInterface;
  9. interface DocumentInterface
  10. {
  11. public function getTitle(): ?string;
  12. public function setTitle(string $title);
  13. public function getDescription(): ?string;
  14. public function setDescription(?string $description);
  15. public function getCreatedBy(): ?UserInterface;
  16. public function setCreatedBy(?UserInterface $createdBy);
  17. public function getUpdatedBy(): ?UserInterface;
  18. public function setUpdatedBy(?UserInterface $updatedBy);
  19. public function getDevAlias(): ?string;
  20. public function setDevAlias(?string $devAlias);
  21. public function getMerchant(): ?MerchantInterface;
  22. public function setMerchant(?MerchantInterface $merchant): DocumentInterface;
  23. public function getLabel();
  24. public function getType(): ?string;
  25. public function setType(string $type): DocumentInterface;
  26. public function getReference(): ?string;
  27. public function setReference(?string $reference): DocumentInterface;
  28. public function getLogo(): ?string;
  29. public function setLogo(string $logo): DocumentInterface;
  30. public function getMerchantAddress(): ?AddressInterface;
  31. public function setMerchantAddress(?AddressInterface $merchantAddress): DocumentInterface;
  32. public function getBuyerAddress(): ?AddressInterface;
  33. public function setBuyerAddress(?AddressInterface $buyerAddress): DocumentInterface;
  34. public function getMerchantAddressText(): ?string;
  35. public function setMerchantAddressText(string $merchantAddressText): DocumentInterface;
  36. public function getBuyerAddressText(): ?string;
  37. public function setBuyerAddressText(?string $buyerAddressText): DocumentInterface;
  38. public function getDeliveryAddressText(): ?string;
  39. public function setDeliveryAddressText(?string $deliveryAddressText): DocumentInterface;
  40. public function getIsSent(): ?bool;
  41. public function setIsSent(?bool $isSent): DocumentInterface;
  42. /**
  43. * @return Collection|OrderShopInterface[]
  44. */
  45. public function getOrderShops(): Collection;
  46. public function addOrderShop(OrderShopInterface $orderShop): DocumentInterface;
  47. public function removeOrderShop(OrderShopInterface $orderShop): DocumentInterface;
  48. public function getOrderRefund(): ?OrderRefundInterface;
  49. public function setOrderRefund(OrderRefundInterface $orderRefund): DocumentInterface;
  50. public function getMetaTitle(): ?string;
  51. public function setMetaTitle(?string $metaTitle);
  52. public function getMetaDescription(): ?string;
  53. public function setMetaDescription(?string $metaDescription);
  54. public function setOldUrls($oldUrls);
  55. public function getOldUrls(): ?array;
  56. public function getSlug(): ?string;
  57. public function setSlug(?string $slug);
  58. public function getPosition(): float;
  59. public function setPosition(float $position);
  60. public function clearPosition();
  61. public function getStatus(): ?float;
  62. public function setStatus(float $status);
  63. public function getCreatedAt(): ?\DateTimeInterface;
  64. public function setCreatedAt(\DateTimeInterface $createdAt);
  65. public function getUpdatedAt(): ?\DateTimeInterface;
  66. public function setUpdatedAt(\DateTimeInterface $updatedAt);
  67. }