Permalink
Browse files

add $id to entity

  • Loading branch information...
1 parent d46ae34 commit 9d4d51f925913a1e7c800502de408060e36efe9d @iampersistent iampersistent committed Jul 29, 2012
Showing with 8 additions and 2 deletions.
  1. +8 −2 lib/Vespolina/Entity/Order/Cart.php
@@ -23,14 +23,20 @@ class Cart extends BaseOrder implements CartInterface
const STATE_CLOSED = 'closed'; //Closed after processing
const STATE_EXPIRED = 'expired'; //Unprocessed and expired
+ protected $createdAt;
protected $expiresAt;
protected $followUp;
+ protected $id;
protected $name;
protected $paymentInstruction;
protected $pricingSet;
- protected $createdAt;
protected $updatedAt;
-
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
/**
* @inheritdoc
*/

0 comments on commit 9d4d51f

Please sign in to comment.