id = $id; } /** * Get ID. * * @return int * * @since 1.0.0 */ public function getId() { return $this->id; } /** * Get order. * * @return int * * @since 1.0.0 */ public function getOrder() : int { return $this->order; } /** * Set order. * * @param int $order Order ID * * @return void * * @since 1.0.0 */ public function setOrder(int $order) : void { $this->order = $order; } /** * Get delivered. * * @return \DateTime * * @since 1.0.0 */ public function getDelivered() { return $this->delivered; } /** * Set delivered. * * @param \DateTime $delivered Date of delivery * * @return void * * @since 1.0.0 */ public function setDelivered($delivered) : void { $this->delivered = $delivered; } /** * Get To. * * @return \phpOMS\Stdlib\Base\Address * * @since 1.0.0 */ public function getTo() { return $this->to; } /** * Set To. * * @param \phpOMS\Stdlib\Base\Address $to Receiver * * @return void * * @since 1.0.0 */ public function setTo($to) : void { $this->to = $to; } /** * Get status. * * @return int * * @since 1.0.0 */ public function getStatus() : int { return $this->status; } /** * Set status. * * @param int $status Status * * @return void * * @since 1.0.0 */ public function setStatus(int $status) : void { $this->status = $status; } /** * Get warehouse. * * @return mixed * * @since 1.0.0 */ public function getWarehouse() { return $this->warehouse; } /** * Get acceptor. * * @return int * * @since 1.0.0 */ public function getSender() { return $this->sender; } /** * Set sender. * * @param int $sender Person who accepted the consignment * * @return void * * @since 1.0.0 */ public function setSender($sender) : void { $this->sender = $sender; } }