| 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 ACHDetailsRequest 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 $type; |
| 28: | |
| 29: | |
| 30: | |
| 31: | |
| 32: | |
| 33: | protected $routingNumber; |
| 34: | |
| 35: | |
| 36: | |
| 37: | protected $accountNumber; |
| 38: | |
| 39: | |
| 40: | |
| 41: | protected $accountType; |
| 42: | |
| 43: | |
| 44: | |
| 45: | protected $accountClass; |
| 46: | |
| 47: | public function getType(): string |
| 48: | { |
| 49: | return $this->type; |
| 50: | } |
| 51: | |
| 52: | public function setType(string $type): self |
| 53: | { |
| 54: | $this->initialized['type'] = true; |
| 55: | $this->type = $type; |
| 56: | |
| 57: | return $this; |
| 58: | } |
| 59: | |
| 60: | |
| 61: | |
| 62: | |
| 63: | public function getRoutingNumber(): string |
| 64: | { |
| 65: | return $this->routingNumber; |
| 66: | } |
| 67: | |
| 68: | |
| 69: | |
| 70: | |
| 71: | public function setRoutingNumber(string $routingNumber): self |
| 72: | { |
| 73: | $this->initialized['routingNumber'] = true; |
| 74: | $this->routingNumber = $routingNumber; |
| 75: | |
| 76: | return $this; |
| 77: | } |
| 78: | |
| 79: | public function getAccountNumber(): string |
| 80: | { |
| 81: | return $this->accountNumber; |
| 82: | } |
| 83: | |
| 84: | public function setAccountNumber(string $accountNumber): self |
| 85: | { |
| 86: | $this->initialized['accountNumber'] = true; |
| 87: | $this->accountNumber = $accountNumber; |
| 88: | |
| 89: | return $this; |
| 90: | } |
| 91: | |
| 92: | public function getAccountType(): string |
| 93: | { |
| 94: | return $this->accountType; |
| 95: | } |
| 96: | |
| 97: | public function setAccountType(string $accountType): self |
| 98: | { |
| 99: | $this->initialized['accountType'] = true; |
| 100: | $this->accountType = $accountType; |
| 101: | |
| 102: | return $this; |
| 103: | } |
| 104: | |
| 105: | public function getAccountClass(): string |
| 106: | { |
| 107: | return $this->accountClass; |
| 108: | } |
| 109: | |
| 110: | public function setAccountClass(string $accountClass): self |
| 111: | { |
| 112: | $this->initialized['accountClass'] = true; |
| 113: | $this->accountClass = $accountClass; |
| 114: | |
| 115: | return $this; |
| 116: | } |
| 117: | } |
| 118: | |