| 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 StatementPeriod 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: | * Start date of the statement period. |
| 26: | * |
| 27: | * @var \DateTime |
| 28: | */ |
| 29: | protected $startDate; |
| 30: | /** |
| 31: | * End date of the statement period. |
| 32: | * |
| 33: | * @var \DateTime |
| 34: | */ |
| 35: | protected $endDate; |
| 36: | |
| 37: | /** |
| 38: | * Start date of the statement period. |
| 39: | */ |
| 40: | public function getStartDate(): \DateTime |
| 41: | { |
| 42: | return $this->startDate; |
| 43: | } |
| 44: | |
| 45: | /** |
| 46: | * Start date of the statement period. |
| 47: | */ |
| 48: | public function setStartDate(\DateTime $startDate): self |
| 49: | { |
| 50: | $this->initialized['startDate'] = true; |
| 51: | $this->startDate = $startDate; |
| 52: | |
| 53: | return $this; |
| 54: | } |
| 55: | |
| 56: | /** |
| 57: | * End date of the statement period. |
| 58: | */ |
| 59: | public function getEndDate(): \DateTime |
| 60: | { |
| 61: | return $this->endDate; |
| 62: | } |
| 63: | |
| 64: | /** |
| 65: | * End date of the statement period. |
| 66: | */ |
| 67: | public function setEndDate(\DateTime $endDate): self |
| 68: | { |
| 69: | $this->initialized['endDate'] = true; |
| 70: | $this->endDate = $endDate; |
| 71: | |
| 72: | return $this; |
| 73: | } |
| 74: | } |
| 75: |