| 1: | <?php |
| 2: | |
| 3: | declare(strict_types=1); |
| 4: | |
| 5: | |
| 6: | |
| 7: | |
| 8: | |
| 9: | |
| 10: | |
| 11: | namespace NxSys\Library\Clients\Brex\API\Team\Model; |
| 12: | |
| 13: | class CompanyResponse 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 $id; |
| 28: | |
| 29: | |
| 30: | |
| 31: | protected $legalName; |
| 32: | |
| 33: | |
| 34: | |
| 35: | |
| 36: | |
| 37: | protected $mailingAddress; |
| 38: | |
| 39: | |
| 40: | |
| 41: | protected $accountType; |
| 42: | |
| 43: | public function getId(): string |
| 44: | { |
| 45: | return $this->id; |
| 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: | public function getLegalName(): string |
| 57: | { |
| 58: | return $this->legalName; |
| 59: | } |
| 60: | |
| 61: | public function setLegalName(string $legalName): self |
| 62: | { |
| 63: | $this->initialized['legalName'] = true; |
| 64: | $this->legalName = $legalName; |
| 65: | |
| 66: | return $this; |
| 67: | } |
| 68: | |
| 69: | |
| 70: | |
| 71: | |
| 72: | public function getMailingAddress(): Address |
| 73: | { |
| 74: | return $this->mailingAddress; |
| 75: | } |
| 76: | |
| 77: | |
| 78: | |
| 79: | |
| 80: | public function setMailingAddress(Address $mailingAddress): self |
| 81: | { |
| 82: | $this->initialized['mailingAddress'] = true; |
| 83: | $this->mailingAddress = $mailingAddress; |
| 84: | |
| 85: | return $this; |
| 86: | } |
| 87: | |
| 88: | public function getAccountType(): string |
| 89: | { |
| 90: | return $this->accountType; |
| 91: | } |
| 92: | |
| 93: | public function setAccountType(string $accountType): self |
| 94: | { |
| 95: | $this->initialized['accountType'] = true; |
| 96: | $this->accountType = $accountType; |
| 97: | |
| 98: | return $this; |
| 99: | } |
| 100: | } |
| 101: | |