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 BrexCashDetails 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 [List cash accounts](/openapi/transactions_api/#operation/listAccounts) endpoint
30:
31: *
32: * @var string
33: */
34: protected $id;
35:
36: public function getType(): string
37: {
38: return $this->type;
39: }
40:
41: public function setType(string $type): self
42: {
43: $this->initialized['type'] = true;
44: $this->type = $type;
45:
46: return $this;
47: }
48:
49: /**
50: ID of the Brex Cash Account: Can be found from the [List cash accounts](/openapi/transactions_api/#operation/listAccounts) endpoint
51: */
52: public function getId(): string
53: {
54: return $this->id;
55: }
56:
57: /**
58: ID of the Brex Cash Account: Can be found from the [List cash accounts](/openapi/transactions_api/#operation/listAccounts) endpoint
59: */
60: public function setId(string $id): self
61: {
62: $this->initialized['id'] = true;
63: $this->id = $id;
64:
65: return $this;
66: }
67: }
68: