diff --git a/src/Model/Entity/Customers/Customer.php b/src/Model/Entity/Customers/Customer.php index bad3cf3..67a333c 100644 --- a/src/Model/Entity/Customers/Customer.php +++ b/src/Model/Entity/Customers/Customer.php @@ -369,6 +369,14 @@ class Customer implements CustomerInterface */ public $subscribed; + /** + * @var \RetailCrm\Api\Model\Entity\Customers\CustomerSubscription[] + * + * @JMS\Type("array") + * @JMS\SerializedName("customerSubscriptions") + */ + public $customerSubscriptions; + /** * @var \RetailCrm\Api\Model\Entity\Customers\MGCustomer[] * diff --git a/src/Model/Entity/Customers/CustomerSubscription.php b/src/Model/Entity/Customers/CustomerSubscription.php new file mode 100644 index 0000000..c8ce5d0 --- /dev/null +++ b/src/Model/Entity/Customers/CustomerSubscription.php @@ -0,0 +1,46 @@ +") + * @JMS\SerializedName("changedAt") + */ + public $changedAt; +} diff --git a/src/Model/Entity/Customers/SubscriptionCategory.php b/src/Model/Entity/Customers/SubscriptionCategory.php new file mode 100644 index 0000000..be4fe1e --- /dev/null +++ b/src/Model/Entity/Customers/SubscriptionCategory.php @@ -0,0 +1,77 @@ +") + * @Form\SerializedName("subscriptions") + */ + public $subscriptions; } diff --git a/src/Model/Filter/Customers/CustomerSubscriptionFilter.php b/src/Model/Filter/Customers/CustomerSubscriptionFilter.php new file mode 100644 index 0000000..22b8fa2 --- /dev/null +++ b/src/Model/Filter/Customers/CustomerSubscriptionFilter.php @@ -0,0 +1,45 @@ +