comment; } /** * Sets the comment for the invoice. * * @param string $comment * @return $this */ public function setComment($comment) { $this->comment = $comment; return $this; } /** * Gets the is-visible-on-storefront flag value for the invoice. * * @return int Is-visible-on-storefront flag value. */ public function getIsVisibleOnFront() { return $this->isVisibleOnFront; } /** * Sets the is-visible-on-storefront flag value for the invoice. * * @param int $isVisibleOnFront * @return $this */ public function setIsVisibleOnFront($isVisibleOnFront) { $this->isVisibleOnFront = $isVisibleOnFront; return $this; } /** * Retrieve existing extension attributes object or create a new one. * * @return \Magento\Sales\Api\Data\InvoiceCommentCreationExtensionInterface|null */ public function getExtensionAttributes() { return $this->extensionAttributes; } /** * Set an extension attributes object. * * @param \Magento\Sales\Api\Data\InvoiceCommentCreationExtensionInterface $extensionAttributes * @return $this */ public function setExtensionAttributes( \Magento\Sales\Api\Data\InvoiceCommentCreationExtensionInterface $extensionAttributes ) { $this->extensionAttributes = $extensionAttributes; return $this; } }