You are here

public function Payment::setRemoteId in Commerce Core 8.2

Sets the payment remote ID.

Parameters

string $remote_id: The payment remote ID.

Return value

$this

Overrides PaymentInterface::setRemoteId

File

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

Class

Payment
Defines the payment entity class.

Namespace

Drupal\commerce_payment\Entity

Code

public function setRemoteId($remote_id) {
  $this
    ->set('remote_id', $remote_id);
  return $this;
}