|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242 |
- <?php
-
- namespace Lc\CaracoleBundle\Model\Order;
-
-
- use Doctrine\Common\Collections\Collection;
- use Lc\CaracoleBundle\Model\Address\AddressInterface;
- use Lc\CaracoleBundle\Model\Config\TaxRateInterface;
- use Lc\CaracoleBundle\Model\File\DocumentInterface;
- use Lc\CaracoleBundle\Model\PointSale\PointSaleInterface;
- use Lc\CaracoleBundle\Model\Section\SectionInterface;
- use Lc\CaracoleBundle\Model\User\VisitorInterface;
- use Lc\SovBundle\Model\Ticket\TicketInterface;
- use Lc\SovBundle\Model\User\UserInterface;
-
- /**
- * @ORM\MappedSuperclass()
- */
- interface OrderShopInterface
- {
- public function getValidationDate(): ?\DateTimeInterface;
-
- public function setValidationDate(\DateTimeInterface $validationDate
- ): OrderShopModel;
-
- public function getUser(): ?UserInterface;
-
- public function setUser(?UserInterface $user): OrderShopModel;
-
- public function getInvoiceAddress(): ?AddressInterface;
-
- public function setInvoiceAddress(?AddressInterface $invoiceAddress): OrderShopModel;
-
- public function getInvoiceAddressText(): ?string;
-
- public function setInvoiceAddressText(string $invoiceAddressText): OrderShopModel;
-
- public function getComment(): ?string;
-
- public function setComment(?string $comment): OrderShopModel;
-
- public function getMeanPayment(): ?string;
-
- public function setMeanPayment(string $meanPayment): OrderShopModel;
-
- /**
- * @return Collection|OrderStatusHistoryInterface[]
- */
- public function getOrderStatusHistories(): Collection;
-
- public function addOrderStatusHistory(OrderStatusHistoryInterface $orderStatusHistory
- ): OrderShopModel;
-
- public function removeOrderStatusHistory(OrderStatusHistoryInterface $orderStatusHistory
- ): OrderShopModel;
-
- /**
- * @return Collection|OrderPaymentInterface[]
- */
- public function getOrderPayments($meanPayment = null): Collection;
-
- public function addOrderPayment(OrderPaymentInterface $orderPayment): OrderShopModel;
-
- public function removeOrderPayment(OrderPaymentInterface $orderPayment
- ): OrderShopModel;
-
- /**
- * @return Collection|OrderProductInterface[]
- */
- public function getOrderProducts(): Collection;
-
- public function addOrderProduct(OrderProductInterface $orderProduct): OrderShopModel;
-
- public function removeOrderProduct(OrderProductInterface $orderProduct
- ): OrderShopModel;
-
- public function getVisitor(): ?VisitorInterface;
-
- public function setVisitor(?VisitorInterface $visitor): OrderShopModel;
-
- public function getDeliveryInfos(): ?string;
-
- public function setDeliveryInfos(?string $deliveryInfos): OrderShopModel;
-
- public function getOrderStatus(): ?OrderStatusInterface;
-
- public function setOrderStatusProtected(?OrderStatusInterface $orderStatus
- ): OrderShopModel;
-
- /**
- * @return Collection|OrderReductionCartInterface[]
- */
- public function getOrderReductionCarts(): Collection;
-
- public function addOrderReductionCart(OrderReductionCartInterface $orderReductionCart
- ): OrderShopModel;
-
- public function removeOrderReductionCart(OrderReductionCartInterface $orderReductionCart
- ): OrderShopModel;
-
- /**
- * @return Collection|OrderReductionCreditInterface[]
- */
- public function getOrderReductionCredits(): Collection;
-
- public function addOrderReductionCredit(OrderReductionCreditInterface $orderReductionCredit
- ): OrderShopModel;
-
- public function removeOrderReductionCredit(OrderReductionCreditInterface $orderReductionCredit
- ): OrderShopModel;
-
- /**
- * @return Collection|DocumentInterface[]
- */
- public function getDocuments(): Collection;
-
- public function addDocument(DocumentInterface $document): OrderShopModel;
-
- public function removeDocument(DocumentInterface $document): OrderShopModel;
-
- /**
- * @return Collection|TicketInterface[]
- */
- public function getTickets(): Collection;
-
- public function addTicket(TicketInterface $ticket): OrderShopModel;
-
- public function removeTicket(TicketInterface $ticket): OrderShopModel;
-
- public function getSection(): ?SectionInterface;
-
- public function setSection(?SectionInterface $section): OrderShopModel;
-
- public function getCycleId(): ?int;
-
- public function setCycleId(?int $cycleId): OrderShopModel;
-
- public function getCycleNumber(): ?int;
-
- public function setCycleNumber(?int $cycleNumber): OrderShopModel;
-
- public function getOrderShopCreatedAt(): ?\DateTimeInterface;
-
- public function setOrderShopCreatedAt(?\DateTimeInterface $orderShopCreatedAt
- ): OrderShopModel;
-
- public function getIdValidOrder(): ?int;
-
- public function setIdValidOrder(?int $idValidOrder): OrderShopModel;
-
- public function getDeliveryAddress(): ?AddressInterface;
-
- public function setDeliveryAddress(?AddressInterface $deliveryAddress
- ): OrderShopModel;
-
- public function getDeliveryAddressText(): ?string;
-
- public function setDeliveryAddressText(string $deliveryAddressText): OrderShopModel;
-
- public function getDeliveryPointSale(): ?PointSaleInterface;
-
- public function setDeliveryPointSale(?PointSaleInterface $deliveryPointSale
- ): OrderShopModel;
-
- public function getDeliveryType(): ?string;
-
- public function setDeliveryType(?string $deliveryType): OrderShopModel;
-
- public function getDeliveryPrice(): ?float;
-
- public function setDeliveryPrice(?float $deliveryPrice): OrderShopModel;
-
- public function getDeliveryTaxRate(): ?TaxRateInterface;
-
- public function setDeliveryTaxRate(?TaxRateInterface $deliveryTaxRate
- ): OrderShopModel;
-
- public function getReference(): ?string;
-
- public function setReference(?string $reference): OrderShopModel;
-
- public function getMainOrderShop(): ?self;
-
- public function setMainOrderShop(?OrderShopModel $mainOrderShop): OrderShopModel;
-
- /**
- * @return Collection|OrderShopInterface[]
- */
- public function getComplementaryOrderShops(): Collection;
-
- public function addComplementaryOrderShop(OrderShopModel $complementaryOrderShop
- ): OrderShopModel;
-
- public function removeComplementaryOrderShop(OrderShopModel $complementaryOrderShop
- ): OrderShopModel;
-
- public function getDeclineComplementaryOrderShop(): ?bool;
-
- public function setDeclineComplementaryOrderShop(?bool $declineComplementaryOrderShop
- ): OrderShopModel;
-
- public function getOrderAllowByAdmin(): ?bool;
-
- public function setOrderAllowByAdmin(?bool $orderAllowByAdmin): OrderShopModel;
-
- public function getHasReach(): ?int;
-
- public function setHasReach(?int $hasReach): OrderShopModel;
-
- public function getStatTotal(): ?float;
-
- public function setStatTotal(?float $statTotal): OrderShopModel;
-
- public function getStatTotalWithTax(): ?float;
-
- public function setStatTotalWithTax(?float $statTotalWithTax): OrderShopModel;
-
- public function getStatTotalOrderProductsWithReductions(): ?float;
-
- public function setStatTotalOrderProductsWithReductions(?float $statTotalOrderProductsWithReductions
- ): OrderShopModel;
-
- public function getStatTotalOrderProductsWithTaxAndReductions(): ?float;
-
- public function setStatTotalOrderProductsWithTaxAndReductions(?float $statTotalOrderProductsWithTaxAndReductions
- ): OrderShopModel;
-
- public function getStatMarginOrderProductsWithReductions(): ?float;
-
- public function setStatMarginOrderProductsWithReductions(?float $statMarginOrderProductsWithReductions
- ): OrderShopModel;
-
- public function getStatDeliveryPriceWithReduction(): ?float;
-
- public function setStatDeliveryPriceWithReduction(?float $statDeliveryPriceWithReduction
- ): OrderShopModel;
-
- public function getStatDeliveryPriceWithTaxAndReduction(): ?float;
-
- public function setStatDeliveryPriceWithTaxAndReduction(?float $statDeliveryPriceWithTaxAndReduction
- ): OrderShopModel;
- }
|