public function InvoiceInterface::setTotalPaid in Commerce Invoice 8.2
Sets the total paid price.
Parameters
\Drupal\commerce_price\Price $total_paid: The total paid price.
1 method overrides InvoiceInterface::setTotalPaid()
- Invoice::setTotalPaid in src/
Entity/ Invoice.php - Sets the total paid price.
File
- src/
Entity/ InvoiceInterface.php, line 265
Class
- InvoiceInterface
- Defines the interface for invoices.
Namespace
Drupal\commerce_invoice\EntityCode
public function setTotalPaid(Price $total_paid);