code: public function setAction($action)
      {
          if (! Type::isValidWebhookType($action)) {
              throw new \Exception(sprintf('The action "%s" isn\'t supported!', $action));
          }
  
          $this->action = $action;
  
          return $this;
      }
docs: @param string $action
  
  @return Payload
  @throws \Exception