_init(ResourceModel::class); } /** * Get the Invoice ID * * @return int */ public function getInvoiceId() { return $this->getId(); } /** * Set the Invoice ID * * @param int $invoiceId * @return $this */ public function setInvoiceId($invoiceId) { return $this->setId($invoiceId); } /** * Get whether or not the invoice was committed to Vertex * * @return bool */ public function isSent() { return (bool)$this->getData(static::FIELD_SENT); } /** * Set whether or not the invoice was committed to Vertex * * @param bool $isSent * @return $this */ public function setIsSent($isSent) { return $this->setData(static::FIELD_SENT, $isSent); } }