|  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 BeneficiaryBank 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 $name; | 
| 28:  |      | 
| 29:  |  | 
| 30:  |  | 
| 31:  |     protected $address; | 
| 32:  |  | 
| 33:  |     public function getName(): ?string | 
| 34:  |     { | 
| 35:  |         return $this->name; | 
| 36:  |     } | 
| 37:  |  | 
| 38:  |     public function setName(?string $name): self | 
| 39:  |     { | 
| 40:  |         $this->initialized['name'] = true; | 
| 41:  |         $this->name = $name; | 
| 42:  |  | 
| 43:  |         return $this; | 
| 44:  |     } | 
| 45:  |  | 
| 46:  |     public function getAddress(): BeneficiaryBankAddress | 
| 47:  |     { | 
| 48:  |         return $this->address; | 
| 49:  |     } | 
| 50:  |  | 
| 51:  |     public function setAddress(BeneficiaryBankAddress $address): self | 
| 52:  |     { | 
| 53:  |         $this->initialized['address'] = true; | 
| 54:  |         $this->address = $address; | 
| 55:  |  | 
| 56:  |         return $this; | 
| 57:  |     } | 
| 58:  | } | 
| 59:  |  |