1: <?php
2:
3: declare(strict_types=1);
4:
5: /*
6: * This file has been auto generated by Jane,
7: *
8: * Do no edit it directly.
9: */
10:
11: namespace NxSys\Library\Clients\Brex\API\Payments\Model;
12:
13: class VendorResponse extends \ArrayObject
14: {
15: /**
16: * @var array
17: */
18: protected $initialized = [];
19:
20: public function isInitialized($property): bool
21: {
22: return array_key_exists($property, $this->initialized);
23: }
24: /**
25: * Vendor ID: Can be passed to /transfers endpoint to specify counterparty.
26: *
27: * @var string
28: */
29: protected $id;
30: /**
31: * @var string|null
32: */
33: protected $companyName;
34: /**
35: * @var string|null
36: */
37: protected $email;
38: /**
39: * @var string|null
40: */
41: protected $phone;
42: /**
43: * @var PaymentAccountResponse[]|null
44: */
45: protected $paymentAccounts;
46:
47: /**
48: * Vendor ID: Can be passed to /transfers endpoint to specify counterparty.
49: */
50: public function getId(): string
51: {
52: return $this->id;
53: }
54:
55: /**
56: * Vendor ID: Can be passed to /transfers endpoint to specify counterparty.
57: */
58: public function setId(string $id): self
59: {
60: $this->initialized['id'] = true;
61: $this->id = $id;
62:
63: return $this;
64: }
65:
66: public function getCompanyName(): ?string
67: {
68: return $this->companyName;
69: }
70:
71: public function setCompanyName(?string $companyName): self
72: {
73: $this->initialized['companyName'] = true;
74: $this->companyName = $companyName;
75:
76: return $this;
77: }
78:
79: public function getEmail(): ?string
80: {
81: return $this->email;
82: }
83:
84: public function setEmail(?string $email): self
85: {
86: $this->initialized['email'] = true;
87: $this->email = $email;
88:
89: return $this;
90: }
91:
92: public function getPhone(): ?string
93: {
94: return $this->phone;
95: }
96:
97: public function setPhone(?string $phone): self
98: {
99: $this->initialized['phone'] = true;
100: $this->phone = $phone;
101:
102: return $this;
103: }
104:
105: /**
106: * @return PaymentAccountResponse[]|null
107: */
108: public function getPaymentAccounts(): ?array
109: {
110: return $this->paymentAccounts;
111: }
112:
113: /**
114: * @param PaymentAccountResponse[]|null $paymentAccounts
115: */
116: public function setPaymentAccounts(?array $paymentAccounts): self
117: {
118: $this->initialized['paymentAccounts'] = true;
119: $this->paymentAccounts = $paymentAccounts;
120:
121: return $this;
122: }
123: }
124: