src/Services/EventCallbackUrlService.php
public function create(EventCallbackUrl $eventCallbackUrl)
    {
        $response = $this->mailjet->post(Resources::$Eventcallbackurl, ['body' => $eventCallbackUrl->format()]);
        if (!$response->success()) {
            $this->throwError("EventCallbackUrlService:create() failed", $response);
        }

        return $response->getData();
    }
public function create(EventCallbackUrl $eventCallbackUrl)
    {
        $response = $this->mailjet->post(Resources::$Eventcallbackurl, ['body' => $eventCallbackUrl->format()]);
        if (!$response->success()) {
            $this->throwError("EventCallbackUrlService:create() failed", $response);
        }

        return $response->getData();
    }
public function create ( EventCallbackUrl $ eventCallbackUrl ) { $ response = $ this -> mailjet -> post ( Resources :: $ Eventcallbackurl , [ 'body' => $ eventCallbackUrl -> format ( ) ] ) ; if ( ! $ response -> success ( ) ) { $ this -> throwError ( "EventCallbackUrlService:create() failed" , $ response ) ; } return $ response -> getData ( ) ; }
Create one EventCallbackUrl
@param EventCallbackUrl $eventCallbackUrl
@return array
Create one EventCallbackUrl