public function PaymentMethod::setRemoteId in Commerce Core 8.2
Sets the payment method remote ID.
Parameters
string $remote_id: The payment method remote ID.
Return value
$this
Overrides PaymentMethodInterface::setRemoteId
File
- modules/
payment/ src/ Entity/ PaymentMethod.php, line 123
Class
- PaymentMethod
- Defines the payment method entity class.
Namespace
Drupal\commerce_payment\EntityCode
public function setRemoteId($remote_id) {
$this
->set('remote_id', $remote_id);
return $this;
}