You are here

public function SubscriptionInterface::getPaymentMethod in Commerce Recurring Framework 8

Gets the payment method.

Return value

\Drupal\commerce_payment\Entity\PaymentMethodInterface|null The payment method, or NULL.

1 method overrides SubscriptionInterface::getPaymentMethod()
Subscription::getPaymentMethod in src/Entity/Subscription.php
Gets the payment method.

File

src/Entity/SubscriptionInterface.php, line 102

Class

SubscriptionInterface
Defines the interface for subscriptions.

Namespace

Drupal\commerce_recurring\Entity

Code

public function getPaymentMethod();