You are here

public function PromotionInterface::setOrderTypeIds in Commerce Core 8.2

Sets the promotion order type IDs.

Parameters

int[] $order_type_ids: The promotion order type IDs.

Return value

$this

1 method overrides PromotionInterface::setOrderTypeIds()
Promotion::setOrderTypeIds in modules/promotion/src/Entity/Promotion.php
Sets the promotion order type IDs.

File

modules/promotion/src/Entity/PromotionInterface.php, line 114

Class

PromotionInterface
Defines the interface for promotions.

Namespace

Drupal\commerce_promotion\Entity

Code

public function setOrderTypeIds(array $order_type_ids);