You are here

public function OrderInterface::setAddress in Ubercart 8.4

Sets an address attached to the order.

Parameters

string $type: The address type, usually 'billing' or 'delivery'.

\Drupal\uc_store\Address $address: The address object.

Return value

$this

1 method overrides OrderInterface::setAddress()
Order::setAddress in uc_order/src/Entity/Order.php
Sets an address attached to the order.

File

uc_order/src/OrderInterface.php, line 181

Class

OrderInterface
Provides an interface defining an Ubercart order entity.

Namespace

Drupal\uc_order

Code

public function setAddress($type, Address $address);