id = $id; } /** * Get ID. * * @return int * * @since 1.0.0 */ public function getId() { return $this->id; } /** * Get date of when the consignment arrived. * * @return \DateTime Date of arrival * * @since 1.0.0 */ public function getDate() { return $this->date; } /** * Set date of when the consignment arrived. * * @param \DateTime $date Date of arrival * * @return void * * @since 1.0.0 */ public function setDate($date) : void { $this->date = $date; } /** * Get order. * * @return string * * @since 1.0.0 */ public function getOrder() : string { return $this->order; } /** * Set order. * * @param string $order Order Id * * @return void * * @since 1.0.0 */ public function setOrder(string $order) : void { $this->order = $order; } /** * Get From. * * @return \phpOMS\Stdlib\Base\Address * * @since 1.0.0 */ public function getFrom() { return $this->from; } /** * Set From. * * @param \phpOMS\Stdlib\Base\Address $from Consignor * * @return void * * @since 1.0.0 */ public function setFrom($from) : void { $this->from = $from; } /** * 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 Warehouse * * @since 1.0.0 */ public function getWarehouse() { return $this->warehouse; } /** * Get acceptor. * * @return int * * @since 1.0.0 */ public function getAcceptor() { return $this->acceptor; } /** * Set acceptor. * * @param int $acceptor Person who accepted the consignment * * @return void * * @since 1.0.0 */ public function setAcceptor($acceptor) : void { $this->acceptor = $acceptor; } }