public function Invoice::getEmail in Commerce Invoice 8.2
Gets the invoice email.
Return value
string The invoice email.
Overrides InvoiceInterface::getEmail
File
- src/
Entity/ Invoice.php, line 185
Class
- Invoice
- Defines the invoice entity class.
Namespace
Drupal\commerce_invoice\EntityCode
public function getEmail() {
return $this
->get('mail')->value;
}