You are here

public function OrderTypeInterface::shouldSendReceipt in Commerce Core 8.2

Gets whether to email the customer a receipt when an order is placed.

Return value

bool TRUE if the receipt email should be sent, FALSE otherwise.

1 method overrides OrderTypeInterface::shouldSendReceipt()
OrderType::shouldSendReceipt in modules/order/src/Entity/OrderType.php
Gets whether to email the customer a receipt when an order is placed.

File

modules/order/src/Entity/OrderTypeInterface.php, line 106

Class

OrderTypeInterface
Defines the interface for order types.

Namespace

Drupal\commerce_order\Entity

Code

public function shouldSendReceipt();