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.

OrderShopInterface.php 7.7KB

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