Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

Commit

Permalink
fix(Subscription): fix typo in subscription delivery model
Browse files Browse the repository at this point in the history
  • Loading branch information
Jens Schulze committed Nov 21, 2016
1 parent 4c8358d commit 5e1761b
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 15 deletions.
6 changes: 3 additions & 3 deletions src/Model/Subscription/Delivery.php
Expand Up @@ -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
{
Expand All @@ -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'],
];
}

Expand Down
5 changes: 2 additions & 3 deletions src/Model/Subscription/MessageDelivery.php
Expand Up @@ -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()
Expand Down
5 changes: 2 additions & 3 deletions src/Model/Subscription/ResourceCreatedDelivery.php
Expand Up @@ -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)
*/
Expand Down
5 changes: 2 additions & 3 deletions src/Model/Subscription/ResourceDeletedDelivery.php
Expand Up @@ -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)
*/
Expand Down
5 changes: 2 additions & 3 deletions src/Model/Subscription/ResourceUpdatedDelivery.php
Expand Up @@ -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()
Expand Down

0 comments on commit 5e1761b

Please sign in to comment.