_init(ResourceModel::class); } /** * Retrieve ID of Order with sent status * * @return int|null */ public function getOrderId() { return $this->getId(); } /** * Set ID of Order with sent status * * @param int $orderId * @return OrderInvoiceStatus */ public function setOrderId($orderId) { return $this->setId($orderId); } /** * Retrieve status of Order being sent to Vertex * * @return bool|null */ public function isSent() { return $this->getData(static::FIELD_SENT); } /** * Set status of Order being sent to Vertex * * @param bool $isSent * @return OrderInvoiceStatus */ public function setIsSent($isSent) { return $this->setData(static::FIELD_SENT, (bool)$isSent); } }