public function PaymentMethodInterface::isExpired in Commerce Core 8.2
Gets whether the payment method has expired.
Return value
bool TRUE if the payment method has expired, FALSE otherwise.
1 method overrides PaymentMethodInterface::isExpired()
- PaymentMethod::isExpired in modules/
payment/ src/ Entity/ PaymentMethod.php - Gets whether the payment method has expired.
File
- modules/
payment/ src/ Entity/ PaymentMethodInterface.php, line 116
Class
- PaymentMethodInterface
- Defines the interface for payment methods.
Namespace
Drupal\commerce_payment\EntityCode
public function isExpired();