You are here

public function OrderInterface::setBillingProfile in Commerce Core 8.2

Sets the billing profile.

Parameters

\Drupal\profile\Entity\ProfileInterface $profile: The billing profile.

Return value

$this

1 method overrides OrderInterface::setBillingProfile()
Order::setBillingProfile in modules/order/src/Entity/Order.php
Sets the billing profile.

File

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

Class

OrderInterface
Defines the interface for orders.

Namespace

Drupal\commerce_order\Entity

Code

public function setBillingProfile(ProfileInterface $profile);