You are here

public function InvoiceInterface::isPaid in Commerce Invoice 8.2

Gets whether the invoice has been fully paid.

Invoices are considered fully paid once their balance becomes zero or negative.

Return value

bool TRUE if the invoice has been fully paid, FALSE otherwise.

1 method overrides InvoiceInterface::isPaid()
Invoice::isPaid in src/Entity/Invoice.php
Gets whether the invoice has been fully paid.

File

src/Entity/InvoiceInterface.php, line 287

Class

InvoiceInterface
Defines the interface for invoices.

Namespace

Drupal\commerce_invoice\Entity

Code

public function isPaid();