You are here

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\Entity

Code

public function setEmail($mail) {
  $this
    ->set('mail', $mail);
  return $this;
}