public function InvoiceTypeInterface::setNumberPatternId in Commerce Invoice 8.2
Sets the number pattern ID of the invoice type.
Parameters
string $number_pattern: The number pattern.
Return value
$this
1 method overrides InvoiceTypeInterface::setNumberPatternId()
- InvoiceType::setNumberPatternId in src/
Entity/ InvoiceType.php - Sets the number pattern ID of the invoice type.
File
- src/
Entity/ InvoiceTypeInterface.php, line 36
Class
- InvoiceTypeInterface
- Defines the interface for invoice types.
Namespace
Drupal\commerce_invoice\EntityCode
public function setNumberPatternId($number_pattern);