* Use of this software is governed by the Business Source License included in the LICENSE file and at https://getparthenon.com/docs/next/license.
9
*
10
* Change Date: TBD ( 3 years after 2.2.0 release )
11
*
12
* On the date above, in accordance with the Business Source License, use of this software will be governed by the open source license specified in the LICENSE file.
13
*/
14
15
namespace Parthenon\Billing\Entity;
16
17
class Product
18
{
19
private $id;
20
21
private string $name;
22
23
private string $externalReference;
24
25
/**
26
* @return mixed
27
*/
28
public function getId()
29
{
30
return $this->id;
31
}
32
33
/**
34
* @param mixed $id
35
*/
36
public function setId($id): void
37
{
38
$this->id = $id;
39
}
40
41
public function getName(): string
42
{
43
return $this->name;
44
}
45
46
public function setName(string $name): void
47
{
48
$this->name = $name;
49
}
50
51
public function getExternalReference(): string
52
{
53
return $this->externalReference;
54
}
55
56
public function setExternalReference(string $externalReference): void