Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added missing interfaces

  • Loading branch information...
commit 27ec95daae68b19d13d05f9abe85cc3f9d1cea87 1 parent ef2cca8
@inspiran inspiran authored iampersistent committed
View
5 lib/Vespolina/Entity/Order/CartEvents.php
@@ -64,4 +64,9 @@
* UPDATE_ITEM_STATE is triggered when the state of an item in the cart has changed
*/
const UPDATE_ITEM_STATE = 'vespolina_cart.item_update_state';
+
+ const UPDATE_ORDER_STATE = 'vespolina_cart.order_update_state';
+ const INIT_ORDER = 'vespolina_cart.init_order';
+ const UPDATE_ORDER = 'vespolina_cart.update_order';
+
}
View
3  lib/Vespolina/Entity/Partner/Partner.php
@@ -9,6 +9,7 @@
namespace Vespolina\Entity\Partner;
use Doctrine\Common\Collections\ArrayCollection;
+use Vespolina\Entity\Partner\ContactInterface;
use Vespolina\Entity\Partner\PaymentProfileInterface;
/**
@@ -293,7 +294,7 @@ public function getPrimaryContact()
/**
* @inheritdoc
*/
- public function setPrimaryContact(Contact $primaryContact)
+ public function setPrimaryContact(ContactInterface $primaryContact)
{
$this->primaryContact = $primaryContact;
View
5 lib/Vespolina/Entity/Partner/PartnerInterface.php
@@ -8,6 +8,7 @@
namespace Vespolina\Entity\Partner;
+use Vespolina\Entity\Partner\ContactInterface;
/**
* Partner interface, define basic fields
*
@@ -162,10 +163,10 @@ function getAddresses();
/**
* Sets the partners primary contact
*
- * @param \Vespolina\Entity\Partner\Contact $contact
+ * @param \Vespolina\Entity\Partner\ContactInterface $contact
* @return \Vespolina\Entity\Partner\PartnerInterface
*/
- function setPrimaryContact(Contact $contact);
+ function setPrimaryContact(ContactInterface $contact);
/**
* Primary Contact for this accounts
View
2  lib/Vespolina/Entity/Partner/PersonalDetails.php
@@ -7,6 +7,8 @@
*/
namespace Vespolina\Entity\Partner;
+use Vespolina\Entity\Partner\PersonalDetailsInterface;
+
class PersonalDetails implements PersonalDetailsInterface
{
protected $id;
Please sign in to comment.
Something went wrong with that request. Please try again.