You are here

public function OrderTypeInterface::setSendReceipt in Commerce Core 8.2

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

Parameters

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

Return value

$this

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

File

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

Class

OrderTypeInterface
Defines the interface for order types.

Namespace

Drupal\commerce_order\Entity

Code

public function setSendReceipt($send_receipt);