You are here

public function PaymentMethodConfiguration::setId in Payment 8.2

Sets the payment method configuration ID.

Parameters

string $id:

Return value

$this

Overrides PaymentMethodConfigurationInterface::setId

See also

\Drupal\Core\Entity\EntityInterface::id()

File

src/Entity/PaymentMethodConfiguration.php, line 162

Class

PaymentMethodConfiguration
Defines a payment method configuration entity.

Namespace

Drupal\payment\Entity

Code

public function setId($id) {
  $this->id = $id;
  return $this;
}