You are here

public function Payment::getRemoteId in Commerce Core 8.2

Gets the payment remote ID.

Return value

string The payment remote ID.

Overrides PaymentInterface::getRemoteId

File

modules/payment/src/Entity/Payment.php, line 138

Class

Payment
Defines the payment entity class.

Namespace

Drupal\commerce_payment\Entity

Code

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