Skip to content

Commit fe8871b

Browse files
committed
added description for each InvoiceItem
1 parent 7f723fd commit fe8871b

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/Classes/InvoiceItem.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ class InvoiceItem
1616
*/
1717
public $title;
1818

19+
/**
20+
* @var string|bool
21+
*/
22+
public $description = false;
23+
1924
/**
2025
* @var string
2126
*/
@@ -77,6 +82,17 @@ public function title(string $title)
7782
return $this;
7883
}
7984

85+
/**
86+
* @param string $description
87+
* @return $this
88+
*/
89+
public function description(string $description)
90+
{
91+
$this->description = $description;
92+
93+
return $this;
94+
}
95+
8096
/**
8197
* @param string $units
8298
* @return $this

0 commit comments

Comments
 (0)