You are here

public function PaymentMethod::getRemoteId in Commerce Core 8.2

Gets the payment method remote ID.

Return value

string The payment method remote ID.

Overrides PaymentMethodInterface::getRemoteId

File

modules/payment/src/Entity/PaymentMethod.php, line 116

Class

PaymentMethod
Defines the payment method entity class.

Namespace

Drupal\commerce_payment\Entity

Code

public function getRemoteId() {
  return $this
    ->get('remote_id')->value;
}