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