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\Team\Model;
12:
13: class TerminateCardRequest 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: * Description for terminating a card.
26: *
27: * @var string|null
28: */
29: protected $description;
30: /**
31: Reason for card termination.
32:
33: *
34: * @var string
35: */
36: protected $reason;
37:
38: /**
39: * Description for terminating a card.
40: */
41: public function getDescription(): ?string
42: {
43: return $this->description;
44: }
45:
46: /**
47: * Description for terminating a card.
48: */
49: public function setDescription(?string $description): self
50: {
51: $this->initialized['description'] = true;
52: $this->description = $description;
53:
54: return $this;
55: }
56:
57: /**
58: Reason for card termination.
59: */
60: public function getReason(): string
61: {
62: return $this->reason;
63: }
64:
65: /**
66: Reason for card termination.
67: */
68: public function setReason(string $reason): self
69: {
70: $this->initialized['reason'] = true;
71: $this->reason = $reason;
72:
73: return $this;
74: }
75: }
76: