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 BrexCashAccountDetails 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: * @var string
26: */
27: protected $type;
28: /**
29: ID of the Brex Cash account: Can be found from the `/accounts` endpoint
30: where instrument type is `CASH`.
31:
32: *
33: * @var string
34: */
35: protected $id;
36:
37: public function getType(): string
38: {
39: return $this->type;
40: }
41:
42: public function setType(string $type): self
43: {
44: $this->initialized['type'] = true;
45: $this->type = $type;
46:
47: return $this;
48: }
49:
50: /**
51: ID of the Brex Cash account: Can be found from the `/accounts` endpoint
52: where instrument type is `CASH`.
53: */
54: public function getId(): string
55: {
56: return $this->id;
57: }
58:
59: /**
60: ID of the Brex Cash account: Can be found from the `/accounts` endpoint
61: where instrument type is `CASH`.
62: */
63: public function setId(string $id): self
64: {
65: $this->initialized['id'] = true;
66: $this->id = $id;
67:
68: return $this;
69: }
70: }
71: