public function PaymentOption::getPaymentMethodId in Commerce Core 8.2
Gets the payment method ID.
Only available when selecting existing payment methods.
Return value
string|null The payment method ID, or NULL if not known.
File
- modules/
payment/ src/ PaymentOption.php, line 109
Class
- PaymentOption
- Represents a payment option.
Namespace
Drupal\commerce_paymentCode
public function getPaymentMethodId() {
return $this->paymentMethodId;
}