Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 26 additions & 1 deletion Entity/Expense.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@ class Expense extends AbstractEntity
*/
protected $currency;

/**
* @var string
* @Groups({"post", "update", "get"})
* @Type("string")
*/
protected $receiptReference;

/**
* @var float
* @Groups({"post", "update", "get"})
Expand Down Expand Up @@ -325,6 +332,24 @@ public function setCurrency($currency)
return $this;
}

/**
* @return string
*/
public function getReceiptReference()
{
return $this->receiptReference;
}

/**
* @param string $receiptReference
* @return Expense
*/
public function setReceiptReference($receiptReference)
{
$this->receiptReference = $receiptReference;
return $this;
}

/**
* @return float
*/
Expand Down Expand Up @@ -733,4 +758,4 @@ public function getApiResourceName()
{
return self::API_RESOURCE_NAME;
}
}
}