public function PaymentInterface::getType in Commerce Core 8.2
Gets the payment type.
Return value
\Drupal\commerce_payment\Plugin\Commerce\PaymentType\PaymentTypeInterface The payment type.
1 method overrides PaymentInterface::getType()
- Payment::getType in modules/
payment/ src/ Entity/ Payment.php - Gets the payment type.
File
- modules/
payment/ src/ Entity/ PaymentInterface.php, line 19
Class
- PaymentInterface
- Defines the interface for payments.
Namespace
Drupal\commerce_payment\EntityCode
public function getType();