public function PaymentInterface::getPaymentMethodId in Commerce Core 8.2
Gets the payment method ID.
Return value
int|null The payment method ID, or null if unknown.
1 method overrides PaymentInterface::getPaymentMethodId()
- Payment::getPaymentMethodId in modules/
payment/ src/ Entity/ Payment.php - Gets the payment method ID.
File
- modules/
payment/ src/ Entity/ PaymentInterface.php, line 46
Class
- PaymentInterface
- Defines the interface for payments.
Namespace
Drupal\commerce_payment\EntityCode
public function getPaymentMethodId();