You are here

public function PaymentMethodInterface::setBillingProfile in Commerce Core 8.2

Sets the billing profile.

Parameters

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

Return value

$this

1 method overrides PaymentMethodInterface::setBillingProfile()
PaymentMethod::setBillingProfile in modules/payment/src/Entity/PaymentMethod.php
Sets the billing profile.

File

modules/payment/src/Entity/PaymentMethodInterface.php, line 72

Class

PaymentMethodInterface
Defines the interface for payment methods.

Namespace

Drupal\commerce_payment\Entity

Code

public function setBillingProfile(ProfileInterface $profile);