newsletter = $newsletter; $this->queue = $queue; $this->click = $click; $this->orderId = $orderId; $this->orderCurrency = $orderCurrency; $this->orderPriceTotal = $orderPriceTotal; $this->status = $status; } public function getNewsletter(): ?NewsletterEntity { $this->safelyLoadToOneAssociation('newsletter'); return $this->newsletter; } public function getQueue(): ?SendingQueueEntity { $this->safelyLoadToOneAssociation('queue'); return $this->queue; } public function getSubscriber(): ?SubscriberEntity { $this->safelyLoadToOneAssociation('subscriber'); return $this->subscriber; } public function getClick(): ?StatisticsClickEntity { $this->safelyLoadToOneAssociation('click'); return $this->click; } public function getOrderId(): int { return $this->orderId; } public function setSubscriber(?SubscriberEntity $subscriber) { $this->subscriber = $subscriber; } public function getOrderCurrency(): string { return $this->orderCurrency; } public function getOrderPriceTotal(): float { return $this->orderPriceTotal; } public function setOrderCurrency(string $orderCurrency): void { $this->orderCurrency = $orderCurrency; } public function setOrderPriceTotal(float $orderPriceTotal): void { $this->orderPriceTotal = $orderPriceTotal; } public function getStatus(): string { return $this->status; } public function setStatus(string $status): void { $this->status = $status; } }