public function InvoiceInterface::setPaymentMethod in Commerce Invoice 8.2
Sets the payment method.
Parameters
string $payment_method: The payment method.
Return value
$this
1 method overrides InvoiceInterface::setPaymentMethod()
- Invoice::setPaymentMethod in src/
Entity/ Invoice.php - Sets the payment method.
File
- src/
Entity/ InvoiceInterface.php, line 222
Class
- InvoiceInterface
- Defines the interface for invoices.
Namespace
Drupal\commerce_invoice\EntityCode
public function setPaymentMethod($payment_method);