public function Order::setTotalPaid in Commerce Core 8.2
Sets the total paid price.
Parameters
\Drupal\commerce_price\Price $total_paid: The total paid price.
Overrides OrderInterface::setTotalPaid
File
- modules/
order/ src/ Entity/ Order.php, line 490
Class
- Order
- Defines the order entity class.
Namespace
Drupal\commerce_order\EntityCode
public function setTotalPaid(Price $total_paid) {
$this
->set('total_paid', $total_paid);
}