public function PaymentGatewayInterface::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.
1 method overrides PaymentGatewayInterface::getPaymentType()
- PaymentGatewayBase::getPaymentType in modules/
payment/ src/ Plugin/ Commerce/ PaymentGateway/ PaymentGatewayBase.php - Gets the payment type used by the payment gateway.
File
- modules/
payment/ src/ Plugin/ Commerce/ PaymentGateway/ PaymentGatewayInterface.php, line 75
Class
- PaymentGatewayInterface
- Defines the base interface for payment gateways.
Namespace
Drupal\commerce_payment\Plugin\Commerce\PaymentGatewayCode
public function getPaymentType();