public function PaymentReceipt::getMethodId in Ubercart 8.4
Returns the payment method ID that was used for this payment.
Return value
string The payment method ID.
Overrides PaymentReceiptInterface::getMethodId
File
- payment/
uc_payment/ src/ Entity/ PaymentReceipt.php, line 102
Class
- PaymentReceipt
- Defines the payment receipt entity class.
Namespace
Drupal\uc_payment\EntityCode
public function getMethodId() {
return $this
->get('method')->value;
}