You are here

public function OrderInterface::setIpAddress in Commerce Core 8.2

Sets the order IP address.

Parameters

string $ip_address: The IP address.

Return value

$this

1 method overrides OrderInterface::setIpAddress()
Order::setIpAddress in modules/order/src/Entity/Order.php
Sets the order IP address.

File

modules/order/src/Entity/OrderInterface.php, line 131

Class

OrderInterface
Defines the interface for orders.

Namespace

Drupal\commerce_order\Entity

Code

public function setIpAddress($ip_address);