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