You are here

public function PaymentMethodInterface::isDefault in Commerce Core 8.2

Gets whether this is the user's default payment method.

Return value

bool TRUE if this is the user's default payment method, FALSE otherwise.

1 method overrides PaymentMethodInterface::isDefault()
PaymentMethod::isDefault in modules/payment/src/Entity/PaymentMethod.php
Gets whether this is the user's default payment method.

File

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

Class

PaymentMethodInterface
Defines the interface for payment methods.

Namespace

Drupal\commerce_payment\Entity

Code

public function isDefault();