28 public function run(
int $id)
30 $checkParamsResult = $this->checkParams($id);
31 if (!$checkParamsResult->isSuccess())
33 $this->
addErrors($checkParamsResult->getErrors());
37 $deactivateResult = $this->deactivatePaySystem($id);
38 if (!$deactivateResult->isSuccess())
40 $this->
addErrors($deactivateResult->getErrors());