You are here

public function InvoiceType::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

Overrides InvoiceTypeInterface::setNumberPatternId

File

src/Entity/InvoiceType.php, line 144

Class

InvoiceType
Defines the invoice type entity class.

Namespace

Drupal\commerce_invoice\Entity

Code

public function setNumberPatternId($number_pattern) {
  $this->numberPattern = $number_pattern;
  return $this;
}