You are here

public function InvoiceInterface::setBillingProfile in Commerce Invoice 8.2

Sets the billing profile.

Parameters

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

Return value

$this

1 method overrides InvoiceInterface::setBillingProfile()
Invoice::setBillingProfile in src/Entity/Invoice.php
Sets the billing profile.

File

src/Entity/InvoiceInterface.php, line 109

Class

InvoiceInterface
Defines the interface for invoices.

Namespace

Drupal\commerce_invoice\Entity

Code

public function setBillingProfile(ProfileInterface $profile);