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

OrderShopInterface.php 7.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  1. <?php
  2. namespace Lc\CaracoleBundle\Model\Order;
  3. use Doctrine\Common\Collections\Collection;
  4. use Lc\CaracoleBundle\Model\Address\AddressInterface;
  5. use Lc\CaracoleBundle\Model\Config\TaxRateInterface;
  6. use Lc\CaracoleBundle\Model\File\DocumentInterface;
  7. use Lc\CaracoleBundle\Model\PointSale\PointSaleInterface;
  8. use Lc\CaracoleBundle\Model\Section\SectionInterface;
  9. use Lc\CaracoleBundle\Model\User\VisitorInterface;
  10. use Lc\SovBundle\Model\Ticket\TicketInterface;
  11. use Lc\SovBundle\Model\User\UserInterface;
  12. /**
  13. * @ORM\MappedSuperclass()
  14. */
  15. interface OrderShopInterface
  16. {
  17. public function getValidationDate(): ?\DateTimeInterface;
  18. public function setValidationDate(\DateTimeInterface $validationDate
  19. ): OrderShopModel;
  20. public function getUser(): ?UserInterface;
  21. public function setUser(?UserInterface $user): OrderShopModel;
  22. public function getInvoiceAddress(): ?AddressInterface;
  23. public function setInvoiceAddress(?AddressInterface $invoiceAddress): OrderShopModel;
  24. public function getInvoiceAddressText(): ?string;
  25. public function setInvoiceAddressText(string $invoiceAddressText): OrderShopModel;
  26. public function getComment(): ?string;
  27. public function setComment(?string $comment): OrderShopModel;
  28. public function getMeanPayment(): ?string;
  29. public function setMeanPayment(string $meanPayment): OrderShopModel;
  30. /**
  31. * @return Collection|OrderStatusHistoryInterface[]
  32. */
  33. public function getOrderStatusHistories(): Collection;
  34. public function addOrderStatusHistory(OrderStatusHistoryInterface $orderStatusHistory
  35. ): OrderShopModel;
  36. public function removeOrderStatusHistory(OrderStatusHistoryInterface $orderStatusHistory
  37. ): OrderShopModel;
  38. /**
  39. * @return Collection|OrderPaymentInterface[]
  40. */
  41. public function getOrderPayments($meanPayment = null): Collection;
  42. public function addOrderPayment(OrderPaymentInterface $orderPayment): OrderShopModel;
  43. public function removeOrderPayment(OrderPaymentInterface $orderPayment
  44. ): OrderShopModel;
  45. /**
  46. * @return Collection|OrderProductInterface[]
  47. */
  48. public function getOrderProducts(): Collection;
  49. public function addOrderProduct(OrderProductInterface $orderProduct): OrderShopModel;
  50. public function removeOrderProduct(OrderProductInterface $orderProduct
  51. ): OrderShopModel;
  52. public function getVisitor(): ?VisitorInterface;
  53. public function setVisitor(?VisitorInterface $visitor): OrderShopModel;
  54. public function getDeliveryInfos(): ?string;
  55. public function setDeliveryInfos(?string $deliveryInfos): OrderShopModel;
  56. public function getOrderStatus(): ?OrderStatusInterface;
  57. public function setOrderStatusProtected(?OrderStatusInterface $orderStatus
  58. ): OrderShopModel;
  59. /**
  60. * @return Collection|OrderReductionCartInterface[]
  61. */
  62. public function getOrderReductionCarts(): Collection;
  63. public function addOrderReductionCart(OrderReductionCartInterface $orderReductionCart
  64. ): OrderShopModel;
  65. public function removeOrderReductionCart(OrderReductionCartInterface $orderReductionCart
  66. ): OrderShopModel;
  67. /**
  68. * @return Collection|OrderReductionCreditInterface[]
  69. */
  70. public function getOrderReductionCredits(): Collection;
  71. public function addOrderReductionCredit(OrderReductionCreditInterface $orderReductionCredit
  72. ): OrderShopModel;
  73. public function removeOrderReductionCredit(OrderReductionCreditInterface $orderReductionCredit
  74. ): OrderShopModel;
  75. /**
  76. * @return Collection|DocumentInterface[]
  77. */
  78. public function getDocuments(): Collection;
  79. public function addDocument(DocumentInterface $document): OrderShopModel;
  80. public function removeDocument(DocumentInterface $document): OrderShopModel;
  81. /**
  82. * @return Collection|TicketInterface[]
  83. */
  84. public function getTickets(): Collection;
  85. public function addTicket(TicketInterface $ticket): OrderShopModel;
  86. public function removeTicket(TicketInterface $ticket): OrderShopModel;
  87. public function getSection(): ?SectionInterface;
  88. public function setSection(?SectionInterface $section): OrderShopModel;
  89. public function getCycleId(): ?int;
  90. public function setCycleId(?int $cycleId): OrderShopModel;
  91. public function getCycleNumber(): ?int;
  92. public function setCycleNumber(?int $cycleNumber): OrderShopModel;
  93. public function getOrderShopCreatedAt(): ?\DateTimeInterface;
  94. public function setOrderShopCreatedAt(?\DateTimeInterface $orderShopCreatedAt
  95. ): OrderShopModel;
  96. public function getIdValidOrder(): ?int;
  97. public function setIdValidOrder(?int $idValidOrder): OrderShopModel;
  98. public function getDeliveryAddress(): ?AddressInterface;
  99. public function setDeliveryAddress(?AddressInterface $deliveryAddress
  100. ): OrderShopModel;
  101. public function getDeliveryAddressText(): ?string;
  102. public function setDeliveryAddressText(string $deliveryAddressText): OrderShopModel;
  103. public function getDeliveryPointSale(): ?PointSaleInterface;
  104. public function setDeliveryPointSale(?PointSaleInterface $deliveryPointSale
  105. ): OrderShopModel;
  106. public function getDeliveryType(): ?string;
  107. public function setDeliveryType(?string $deliveryType): OrderShopModel;
  108. public function getDeliveryPrice(): ?float;
  109. public function setDeliveryPrice(?float $deliveryPrice): OrderShopModel;
  110. public function getDeliveryTaxRate(): ?TaxRateInterface;
  111. public function setDeliveryTaxRate(?TaxRateInterface $deliveryTaxRate
  112. ): OrderShopModel;
  113. public function getReference(): ?string;
  114. public function setReference(?string $reference): OrderShopModel;
  115. public function getMainOrderShop(): ?self;
  116. public function setMainOrderShop(?OrderShopModel $mainOrderShop): OrderShopModel;
  117. /**
  118. * @return Collection|OrderShopInterface[]
  119. */
  120. public function getComplementaryOrderShops(): Collection;
  121. public function addComplementaryOrderShop(OrderShopModel $complementaryOrderShop
  122. ): OrderShopModel;
  123. public function removeComplementaryOrderShop(OrderShopModel $complementaryOrderShop
  124. ): OrderShopModel;
  125. public function getDeclineComplementaryOrderShop(): ?bool;
  126. public function setDeclineComplementaryOrderShop(?bool $declineComplementaryOrderShop
  127. ): OrderShopModel;
  128. public function getOrderAllowByAdmin(): ?bool;
  129. public function setOrderAllowByAdmin(?bool $orderAllowByAdmin): OrderShopModel;
  130. public function getHasReach(): ?int;
  131. public function setHasReach(?int $hasReach): OrderShopModel;
  132. public function getStatTotal(): ?float;
  133. public function setStatTotal(?float $statTotal): OrderShopModel;
  134. public function getStatTotalWithTax(): ?float;
  135. public function setStatTotalWithTax(?float $statTotalWithTax): OrderShopModel;
  136. public function getStatTotalOrderProductsWithReductions(): ?float;
  137. public function setStatTotalOrderProductsWithReductions(?float $statTotalOrderProductsWithReductions
  138. ): OrderShopModel;
  139. public function getStatTotalOrderProductsWithTaxAndReductions(): ?float;
  140. public function setStatTotalOrderProductsWithTaxAndReductions(?float $statTotalOrderProductsWithTaxAndReductions
  141. ): OrderShopModel;
  142. public function getStatMarginOrderProductsWithReductions(): ?float;
  143. public function setStatMarginOrderProductsWithReductions(?float $statMarginOrderProductsWithReductions
  144. ): OrderShopModel;
  145. public function getStatDeliveryPriceWithReduction(): ?float;
  146. public function setStatDeliveryPriceWithReduction(?float $statDeliveryPriceWithReduction
  147. ): OrderShopModel;
  148. public function getStatDeliveryPriceWithTaxAndReduction(): ?float;
  149. public function setStatDeliveryPriceWithTaxAndReduction(?float $statDeliveryPriceWithTaxAndReduction
  150. ): OrderShopModel;
  151. }