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\EntityCode
public function setDueDays($days) {
$this->dueDays = $days;
return $this;
}