public function PaymentGatewayInterface::setWeight in Commerce Core 8.2
Sets the payment gateway weight.
Parameters
int $weight: The payment gateway weight.
Return value
$this
1 method overrides PaymentGatewayInterface::setWeight()
- PaymentGateway::setWeight in modules/
payment/ src/ Entity/ PaymentGateway.php - Sets the payment gateway weight.
File
- modules/
payment/ src/ Entity/ PaymentGatewayInterface.php, line 32
Class
- PaymentGatewayInterface
- Defines the interface for payment gateway configuration entities.
Namespace
Drupal\commerce_payment\EntityCode
public function setWeight($weight);