public function InvoiceType::shouldSendConfirmation in Commerce Invoice 8.2
Gets whether to email the customer a confirmation when an invoice is generated.
Return value
bool TRUE if the confirmation email should be sent, FALSE otherwise.
Overrides InvoiceTypeInterface::shouldSendConfirmation
File
- src/
Entity/ InvoiceType.php, line 244
Class
- InvoiceType
- Defines the invoice type entity class.
Namespace
Drupal\commerce_invoice\EntityCode
public function shouldSendConfirmation() {
return $this->sendConfirmation;
}