You are here

interface InvoiceConfirmationMailInterface in Commerce Invoice 8.2

Hierarchy

Expanded class hierarchy of InvoiceConfirmationMailInterface

All classes that implement InvoiceConfirmationMailInterface

1 file declares its use of InvoiceConfirmationMailInterface
InvoiceConfirmationSubscriber.php in src/EventSubscriber/InvoiceConfirmationSubscriber.php

File

src/Mail/InvoiceConfirmationMailInterface.php, line 7

Namespace

Drupal\commerce_invoice\Mail
View source
interface InvoiceConfirmationMailInterface {

  /**
   * Sends the invoice confirmation email.
   *
   * @param \Drupal\commerce_invoice\Entity\InvoiceInterface $invoice
   *   The invoice.
   * @param string $to
   *   The address the email will be sent to. Must comply with RFC 2822.
   *   Defaults to the invoice email.
   * @param string $bcc
   *   The BCC address or addresses (separated by a comma).
   *
   * @return bool
   *   TRUE if the email was sent successfully, FALSE otherwise.
   */
  public function send(InvoiceInterface $invoice, $to = NULL, $bcc = NULL);

}

Members

Namesort descending Modifiers Type Description Overrides
InvoiceConfirmationMailInterface::send public function Sends the invoice confirmation email. 1