You are here

public function PaymentGatewayBase::getPaymentType in Commerce Core 8.2

Gets the payment type used by the payment gateway.

Return value

\Drupal\commerce_payment\Plugin\Commerce\PaymentType\PaymentTypeInterface The payment type.

Overrides PaymentGatewayInterface::getPaymentType

File

modules/payment/src/Plugin/Commerce/PaymentGateway/PaymentGatewayBase.php, line 240

Class

PaymentGatewayBase
Provides the base class for payment gateways.

Namespace

Drupal\commerce_payment\Plugin\Commerce\PaymentGateway

Code

public function getPaymentType() {
  return $this->paymentType;
}