You are here

public function InvoiceType::setDueDays in Commerce Invoice 8.2

Sets the invoice type due days.

Parameters

int $days: The due days.

Return value

$this

Overrides InvoiceTypeInterface::setDueDays

File

src/Entity/InvoiceType.php, line 191

Class

InvoiceType
Defines the invoice type entity class.

Namespace

Drupal\commerce_invoice\Entity

Code

public function setDueDays($days) {
  $this->dueDays = $days;
  return $this;
}