1: | <?php |
2: | |
3: | declare(strict_types=1); |
4: | |
5: | |
6: | |
7: | |
8: | |
9: | |
10: | |
11: | namespace NxSys\Library\Clients\Brex\API\Expenses\Model; |
12: | |
13: | class Receipt extends \ArrayObject |
14: | { |
15: | |
16: | |
17: | |
18: | protected $initialized = []; |
19: | |
20: | public function isInitialized($property): bool |
21: | { |
22: | return array_key_exists($property, $this->initialized); |
23: | } |
24: | |
25: | |
26: | |
27: | |
28: | |
29: | protected $id; |
30: | |
31: | |
32: | |
33: | |
34: | |
35: | protected $downloadUris; |
36: | |
37: | |
38: | |
39: | |
40: | public function getId(): string |
41: | { |
42: | return $this->id; |
43: | } |
44: | |
45: | |
46: | |
47: | |
48: | public function setId(string $id): self |
49: | { |
50: | $this->initialized['id'] = true; |
51: | $this->id = $id; |
52: | |
53: | return $this; |
54: | } |
55: | |
56: | |
57: | |
58: | |
59: | |
60: | |
61: | public function getDownloadUris(): ?array |
62: | { |
63: | return $this->downloadUris; |
64: | } |
65: | |
66: | |
67: | |
68: | |
69: | |
70: | |
71: | public function setDownloadUris(?array $downloadUris): self |
72: | { |
73: | $this->initialized['downloadUris'] = true; |
74: | $this->downloadUris = $downloadUris; |
75: | |
76: | return $this; |
77: | } |
78: | } |
79: | |