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 SecureEmailForCardDetailsRequest 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: | * Email address to send card details to. |
26: | * |
27: | * @var string |
28: | */ |
29: | protected $recipientEmail; |
30: | /** |
31: | * Sender name. Shows up in the subject of the email. |
32: | * |
33: | * @var string |
34: | */ |
35: | protected $senderName; |
36: | /** |
37: | * Message to send with the card details. |
38: | * |
39: | * @var string|null |
40: | */ |
41: | protected $message; |
42: | /** |
43: | * Link expiry in number of days. Defaults to 30. |
44: | * |
45: | * @var int|null |
46: | */ |
47: | protected $expiryDays; |
48: | |
49: | /** |
50: | * Email address to send card details to. |
51: | */ |
52: | public function getRecipientEmail(): string |
53: | { |
54: | return $this->recipientEmail; |
55: | } |
56: | |
57: | /** |
58: | * Email address to send card details to. |
59: | */ |
60: | public function setRecipientEmail(string $recipientEmail): self |
61: | { |
62: | $this->initialized['recipientEmail'] = true; |
63: | $this->recipientEmail = $recipientEmail; |
64: | |
65: | return $this; |
66: | } |
67: | |
68: | /** |
69: | * Sender name. Shows up in the subject of the email. |
70: | */ |
71: | public function getSenderName(): string |
72: | { |
73: | return $this->senderName; |
74: | } |
75: | |
76: | /** |
77: | * Sender name. Shows up in the subject of the email. |
78: | */ |
79: | public function setSenderName(string $senderName): self |
80: | { |
81: | $this->initialized['senderName'] = true; |
82: | $this->senderName = $senderName; |
83: | |
84: | return $this; |
85: | } |
86: | |
87: | /** |
88: | * Message to send with the card details. |
89: | */ |
90: | public function getMessage(): ?string |
91: | { |
92: | return $this->message; |
93: | } |
94: | |
95: | /** |
96: | * Message to send with the card details. |
97: | */ |
98: | public function setMessage(?string $message): self |
99: | { |
100: | $this->initialized['message'] = true; |
101: | $this->message = $message; |
102: | |
103: | return $this; |
104: | } |
105: | |
106: | /** |
107: | * Link expiry in number of days. Defaults to 30. |
108: | */ |
109: | public function getExpiryDays(): ?int |
110: | { |
111: | return $this->expiryDays; |
112: | } |
113: | |
114: | /** |
115: | * Link expiry in number of days. Defaults to 30. |
116: | */ |
117: | public function setExpiryDays(?int $expiryDays): self |
118: | { |
119: | $this->initialized['expiryDays'] = true; |
120: | $this->expiryDays = $expiryDays; |
121: | |
122: | return $this; |
123: | } |
124: | } |
125: |