public function PaymentGateway::setPluginId in Commerce Core 8.2
Sets the payment gateway plugin ID.
Parameters
string $plugin_id: The payment gateway plugin ID.
Return value
$this
Overrides PaymentGatewayInterface::setPluginId
1 call to PaymentGateway::setPluginId()
- PaymentGateway::set in modules/
payment/ src/ Entity/ PaymentGateway.php - Sets the value of a property.
File
- modules/
payment/ src/ Entity/ PaymentGateway.php, line 158
Class
- PaymentGateway
- Defines the payment gateway entity class.
Namespace
Drupal\commerce_payment\EntityCode
public function setPluginId($plugin_id) {
$this->plugin = $plugin_id;
$this->configuration = [];
$this->pluginCollection = NULL;
return $this;
}