You are here

public function InvoiceTypeInterface::setSendConfirmation in Commerce Invoice 8.2

Sets whether to email the customer a confirmation when an invoice is generated.

Parameters

bool $send_confirmation: TRUE if the confirmation email should be sent, FALSE otherwise.

Return value

$this

1 method overrides InvoiceTypeInterface::setSendConfirmation()
InvoiceType::setSendConfirmation in src/Entity/InvoiceType.php
Sets whether to email the customer a confirmation when an invoice is generated.

File

src/Entity/InvoiceTypeInterface.php, line 154

Class

InvoiceTypeInterface
Defines the interface for invoice types.

Namespace

Drupal\commerce_invoice\Entity

Code

public function setSendConfirmation($send_confirmation);