1: | <?php |
2: | |
3: | declare(strict_types=1); |
4: | |
5: | |
6: | |
7: | |
8: | |
9: | |
10: | |
11: | namespace NxSys\Library\Clients\Brex\API\Team\Model; |
12: | |
13: | class UpdateCardRequest 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 $spendControls; |
28: | |
29: | public function getSpendControls(): UpdateCardRequestSpendControls |
30: | { |
31: | return $this->spendControls; |
32: | } |
33: | |
34: | public function setSpendControls(UpdateCardRequestSpendControls $spendControls): self |
35: | { |
36: | $this->initialized['spendControls'] = true; |
37: | $this->spendControls = $spendControls; |
38: | |
39: | return $this; |
40: | } |
41: | } |
42: | |