1: <?php
2:
3: declare(strict_types=1);
4:
5: /*
6: * This file has been auto generated by Jane,
7: *
8: * Do no edit it directly.
9: */
10:
11: namespace NxSys\Library\Clients\Brex\API\Transactions\Model;
12:
13: class Statement extends \ArrayObject
14: {
15: /**
16: * @var array
17: */
18: protected $initialized = [];
19:
20: public function isInitialized($property): bool
21: {
22: return array_key_exists($property, $this->initialized);
23: }
24: /**
25: * @var string
26: */
27: protected $id;
28: /**
29: * @var StatementStartBalance
30: */
31: protected $startBalance;
32: /**
33: * @var StatementEndBalance
34: */
35: protected $endBalance;
36: /**
37: * @var StatementPeriod
38: */
39: protected $period;
40:
41: public function getId(): string
42: {
43: return $this->id;
44: }
45:
46: public function setId(string $id): self
47: {
48: $this->initialized['id'] = true;
49: $this->id = $id;
50:
51: return $this;
52: }
53:
54: public function getStartBalance(): StatementStartBalance
55: {
56: return $this->startBalance;
57: }
58:
59: public function setStartBalance(StatementStartBalance $startBalance): self
60: {
61: $this->initialized['startBalance'] = true;
62: $this->startBalance = $startBalance;
63:
64: return $this;
65: }
66:
67: public function getEndBalance(): StatementEndBalance
68: {
69: return $this->endBalance;
70: }
71:
72: public function setEndBalance(StatementEndBalance $endBalance): self
73: {
74: $this->initialized['endBalance'] = true;
75: $this->endBalance = $endBalance;
76:
77: return $this;
78: }
79:
80: public function getPeriod(): StatementPeriod
81: {
82: return $this->period;
83: }
84:
85: public function setPeriod(StatementPeriod $period): self
86: {
87: $this->initialized['period'] = true;
88: $this->period = $period;
89:
90: return $this;
91: }
92: }
93: