Skip to content

Commit ca904dc

Browse files
authored
Merge pull request #339 from intuit/add-deletedid
Add deleted id to Entity class.
2 parents 707d40e + 84f15e2 commit ca904dc

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

src/WebhooksService/Entity.php

+29
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@ class Entity
3535
*/
3636
private $lastUpdated;
3737

38+
/**
39+
* The internal ID for the deleted entity in QuickBooks Online
40+
*
41+
* @var
42+
*/
43+
private $deletedId;
44+
3845
/**
3946
* Setter for name
4047
*
@@ -122,4 +129,26 @@ public function getLastUpdated()
122129
{
123130
return $this->lastUpdated;
124131
}
132+
/**
133+
* Set deleted id
134+
*
135+
* @param $deletedId
136+
* @return $this
137+
*/
138+
public function setDeletedId($deletedId)
139+
{
140+
$this->deletedId = $deletedId;
141+
return $this;
142+
}
143+
144+
/**
145+
* Return the deleted id
146+
*
147+
* @return mixed
148+
*
149+
*/
150+
public function getDeletedId()
151+
{
152+
return $this->deletedId;
153+
}
125154
}

0 commit comments

Comments
 (0)