You are here

public function PaymentMethodInterface::getType in Commerce Core 8.2

Gets the payment method type.

Return value

\Drupal\commerce_payment\Plugin\Commerce\PaymentMethodType\PaymentMethodTypeInterface The payment method type.

1 method overrides PaymentMethodInterface::getType()
PaymentMethod::getType in modules/payment/src/Entity/PaymentMethod.php
Gets the payment method type.

File

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

Class

PaymentMethodInterface
Defines the interface for payment methods.

Namespace

Drupal\commerce_payment\Entity

Code

public function getType();