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 BankDetails 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: | The name of the bank |
26: | |
27: | * |
28: | * @var string |
29: | */ |
30: | protected $name; |
31: | /** |
32: | * @var string |
33: | */ |
34: | protected $type; |
35: | |
36: | /** |
37: | The name of the bank |
38: | */ |
39: | public function getName(): string |
40: | { |
41: | return $this->name; |
42: | } |
43: | |
44: | /** |
45: | The name of the bank |
46: | */ |
47: | public function setName(string $name): self |
48: | { |
49: | $this->initialized['name'] = true; |
50: | $this->name = $name; |
51: | |
52: | return $this; |
53: | } |
54: | |
55: | public function getType(): string |
56: | { |
57: | return $this->type; |
58: | } |
59: | |
60: | public function setType(string $type): self |
61: | { |
62: | $this->initialized['type'] = true; |
63: | $this->type = $type; |
64: | |
65: | return $this; |
66: | } |
67: | } |
68: |