You are here

public function PaymentGatewayInterface::getDefaultPaymentMethodType in Commerce Core 8.2

Gets the default payment method type.

Return value

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

1 method overrides PaymentGatewayInterface::getDefaultPaymentMethodType()
PaymentGatewayBase::getDefaultPaymentMethodType in modules/payment/src/Plugin/Commerce/PaymentGateway/PaymentGatewayBase.php
Gets the default payment method type.

File

modules/payment/src/Plugin/Commerce/PaymentGateway/PaymentGatewayInterface.php, line 91

Class

PaymentGatewayInterface
Defines the base interface for payment gateways.

Namespace

Drupal\commerce_payment\Plugin\Commerce\PaymentGateway

Code

public function getDefaultPaymentMethodType();