| 1: | <?php |
| 2: | |
| 3: | declare(strict_types=1); |
| 4: | |
| 5: | |
| 6: | |
| 7: | |
| 8: | |
| 9: | |
| 10: | |
| 11: | namespace NxSys\Library\Clients\Brex\API\Payments\Model; |
| 12: | |
| 13: | class PageVendorResponse 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: | protected $nextCursor; |
| 28: | |
| 29: | |
| 30: | |
| 31: | protected $items; |
| 32: | |
| 33: | public function getNextCursor(): ?string |
| 34: | { |
| 35: | return $this->nextCursor; |
| 36: | } |
| 37: | |
| 38: | public function setNextCursor(?string $nextCursor): self |
| 39: | { |
| 40: | $this->initialized['nextCursor'] = true; |
| 41: | $this->nextCursor = $nextCursor; |
| 42: | |
| 43: | return $this; |
| 44: | } |
| 45: | |
| 46: | |
| 47: | |
| 48: | |
| 49: | public function getItems(): array |
| 50: | { |
| 51: | return $this->items; |
| 52: | } |
| 53: | |
| 54: | |
| 55: | |
| 56: | |
| 57: | public function setItems(array $items): self |
| 58: | { |
| 59: | $this->initialized['items'] = true; |
| 60: | $this->items = $items; |
| 61: | |
| 62: | return $this; |
| 63: | } |
| 64: | } |
| 65: | |