You are here

public function OrderInterface::getAddress in Ubercart 8.4

Returns an address attached to the order.

Parameters

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

Return value

\Drupal\uc_store\Address The address object.

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

File

uc_order/src/OrderInterface.php, line 169

Class

OrderInterface
Provides an interface defining an Ubercart order entity.

Namespace

Drupal\uc_order

Code

public function getAddress($type);