You are here

public function OrderInterface::setPaymentMethodId in Ubercart 8.4

Sets the order payment method.

Parameters

string $payment_method: The payment method ID.

Return value

$this

1 method overrides OrderInterface::setPaymentMethodId()
Order::setPaymentMethodId in uc_order/src/Entity/Order.php
Sets the order payment method.

File

uc_order/src/OrderInterface.php, line 158

Class

OrderInterface
Provides an interface defining an Ubercart order entity.

Namespace

Drupal\uc_order

Code

public function setPaymentMethodId($payment_method);