public function OrderTypeInterface::setNumberPatternId in Commerce Core 8.2
Sets the order type's number pattern ID.
Parameters
string $number_pattern_id: The number pattern ID.
Return value
$this
1 method overrides OrderTypeInterface::setNumberPatternId()
- OrderType::setNumberPatternId in modules/
order/ src/ Entity/ OrderType.php - Sets the order type's number pattern ID.
File
- modules/
order/ src/ Entity/ OrderTypeInterface.php, line 60
Class
- OrderTypeInterface
- Defines the interface for order types.
Namespace
Drupal\commerce_order\EntityCode
public function setNumberPatternId($number_pattern_id);