How can I access the Gateways services?

I have been trying to access craft\commerce\services\Gateways; from a plugin but I can’t figure out how I need to access it. I’ve used the following: $gateways = Commerce::getInstance()->commerce->getAllGateways(); $gateways = craft\commerce\services\Gateways::getAllGateways(); The first one says Getting unknown property: craft\commerce\Plugin::commerce and the second one tells me Non-static method craft\commerce\services\Gateways::getAllGateways() should not be called statically Can anyone…

Details

ssh with mysql instruction

I have the following instruction and it works. ssh -i /e/Data/openssh.ppk [email protected] ssh cos-server “pwd ” But when I execute the instruction below: ssh -i /e/Data/openssh.ppk [email protected] ssh cos-server “mysql -u bduser –host=tdb –password=pass -e \”SELECT 1 AS Quantity;\”” It asks for my passphrase. I entered it but the command appears to fail and the…

Details