diff --git a/src/Model/Subscription/Delivery.php b/src/Model/Subscription/Delivery.php index 5a2d70ad46..91c293c9e9 100644 --- a/src/Model/Subscription/Delivery.php +++ b/src/Model/Subscription/Delivery.php @@ -15,8 +15,8 @@ * @method Delivery setProjectKey(string $projectKey = null) * @method string getNotificationType() * @method Delivery setNotificationType(string $notificationType = null) - * @method Reference getReference() - * @method Delivery setReference(Reference $reference = null) + * @method Reference getResource() + * @method Delivery setResource(Reference $resource = null) */ class Delivery extends JsonObject { @@ -31,7 +31,7 @@ public function fieldDefinitions() return [ 'projectKey' => [static::TYPE => 'string'], static::NOTIFICATION_TYPE => [static::TYPE => 'string'], - 'reference' => [static::TYPE => '\Commercetools\Core\Model\Common\Reference'], + 'resource' => [static::TYPE => '\Commercetools\Core\Model\Common\Reference'], ]; } diff --git a/src/Model/Subscription/MessageDelivery.php b/src/Model/Subscription/MessageDelivery.php index fc155a4dc9..7daa39f392 100644 --- a/src/Model/Subscription/MessageDelivery.php +++ b/src/Model/Subscription/MessageDelivery.php @@ -10,13 +10,12 @@ /** * @package Commercetools\Core\Model\Subscription - * * @method string getProjectKey() * @method MessageDelivery setProjectKey(string $projectKey = null) * @method string getNotificationType() * @method MessageDelivery setNotificationType(string $notificationType = null) - * @method Reference getReference() - * @method MessageDelivery setReference(Reference $reference = null) + * @method Reference getResource() + * @method MessageDelivery setResource(Reference $resource = null) * @method string getId() * @method MessageDelivery setId(string $id = null) * @method int getVersion() diff --git a/src/Model/Subscription/ResourceCreatedDelivery.php b/src/Model/Subscription/ResourceCreatedDelivery.php index 29590f1ec5..92991a3cec 100644 --- a/src/Model/Subscription/ResourceCreatedDelivery.php +++ b/src/Model/Subscription/ResourceCreatedDelivery.php @@ -9,13 +9,12 @@ /** * @package Commercetools\Core\Model\Subscription - * * @method string getProjectKey() * @method ResourceCreatedDelivery setProjectKey(string $projectKey = null) * @method string getNotificationType() * @method ResourceCreatedDelivery setNotificationType(string $notificationType = null) - * @method Reference getReference() - * @method ResourceCreatedDelivery setReference(Reference $reference = null) + * @method Reference getResource() + * @method ResourceCreatedDelivery setResource(Reference $resource = null) * @method int getVersion() * @method ResourceCreatedDelivery setVersion(int $version = null) */ diff --git a/src/Model/Subscription/ResourceDeletedDelivery.php b/src/Model/Subscription/ResourceDeletedDelivery.php index d187fb077e..415d7b7258 100644 --- a/src/Model/Subscription/ResourceDeletedDelivery.php +++ b/src/Model/Subscription/ResourceDeletedDelivery.php @@ -9,13 +9,12 @@ /** * @package Commercetools\Core\Model\Subscription - * * @method string getProjectKey() * @method ResourceDeletedDelivery setProjectKey(string $projectKey = null) * @method string getNotificationType() * @method ResourceDeletedDelivery setNotificationType(string $notificationType = null) - * @method Reference getReference() - * @method ResourceDeletedDelivery setReference(Reference $reference = null) + * @method Reference getResource() + * @method ResourceDeletedDelivery setResource(Reference $resource = null) * @method int getVersion() * @method ResourceDeletedDelivery setVersion(int $version = null) */ diff --git a/src/Model/Subscription/ResourceUpdatedDelivery.php b/src/Model/Subscription/ResourceUpdatedDelivery.php index edb09a967c..360b3a794a 100644 --- a/src/Model/Subscription/ResourceUpdatedDelivery.php +++ b/src/Model/Subscription/ResourceUpdatedDelivery.php @@ -9,13 +9,12 @@ /** * @package Commercetools\Core\Model\Subscription - * * @method string getProjectKey() * @method ResourceUpdatedDelivery setProjectKey(string $projectKey = null) * @method string getNotificationType() * @method ResourceUpdatedDelivery setNotificationType(string $notificationType = null) - * @method Reference getReference() - * @method ResourceUpdatedDelivery setReference(Reference $reference = null) + * @method Reference getResource() + * @method ResourceUpdatedDelivery setResource(Reference $resource = null) * @method int getVersion() * @method ResourceUpdatedDelivery setVersion(int $version = null) * @method int getOldVersion()