public function InvoiceType::setPaymentTerms in Commerce Invoice 8.2
Sets the payment terms of the invoice type.
Parameters
string $payment_terms: The payment terms.
Return value
$this
Overrides InvoiceTypeInterface::setPaymentTerms
File
- src/
Entity/ InvoiceType.php, line 206
Class
- InvoiceType
- Defines the invoice type entity class.
Namespace
Drupal\commerce_invoice\EntityCode
public function setPaymentTerms($payment_terms) {
$this->paymentTerms = $payment_terms;
return $this;
}