You are here

public function PaymentMethodInterface::getBillingProfile in Commerce Core 8.2

Gets the billing profile.

Present only if the payment gateway collects billing information.

Return value

\Drupal\profile\Entity\ProfileInterface|null The billing profile entity, or NULL if none found.

See also

\Drupal\commerce_payment\Plugin\Commerce\PaymentGateway\PaymentGatewayInterface::collectsBillingInformation()

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

File

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

Class

PaymentMethodInterface
Defines the interface for payment methods.

Namespace

Drupal\commerce_payment\Entity

Code

public function getBillingProfile();