-
-
Notifications
You must be signed in to change notification settings - Fork 657
Expand file tree
/
Copy pathOrganizerSettingDomainObjectAbstract.php
More file actions
315 lines (269 loc) · 10.3 KB
/
Copy pathOrganizerSettingDomainObjectAbstract.php
File metadata and controls
315 lines (269 loc) · 10.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
<?php
namespace HiEvents\DomainObjects\Generated;
/**
* THIS FILE IS AUTOGENERATED - DO NOT EDIT IT DIRECTLY.
* @package HiEvents\DomainObjects\Generated
*/
abstract class OrganizerSettingDomainObjectAbstract extends \HiEvents\DomainObjects\AbstractDomainObject
{
final public const SINGULAR_NAME = 'organizer_setting';
final public const PLURAL_NAME = 'organizer_settings';
final public const ID = 'id';
final public const ORGANIZER_ID = 'organizer_id';
final public const SOCIAL_MEDIA_HANDLES = 'social_media_handles';
final public const WEBSITE_URL = 'website_url';
final public const HOMEPAGE_THEME_SETTINGS = 'homepage_theme_settings';
final public const HOMEPAGE_VISIBILITY = 'homepage_visibility';
final public const HOMEPAGE_PASSWORD = 'homepage_password';
final public const SEO_KEYWORDS = 'seo_keywords';
final public const SEO_TITLE = 'seo_title';
final public const SEO_DESCRIPTION = 'seo_description';
final public const ALLOW_SEARCH_ENGINE_INDEXING = 'allow_search_engine_indexing';
final public const CREATED_AT = 'created_at';
final public const UPDATED_AT = 'updated_at';
final public const DELETED_AT = 'deleted_at';
final public const LOCATION_DETAILS = 'location_details';
final public const DEFAULT_ATTENDEE_DETAILS_COLLECTION_METHOD = 'default_attendee_details_collection_method';
final public const DEFAULT_SHOW_MARKETING_OPT_IN = 'default_show_marketing_opt_in';
final public const DEFAULT_PASS_PLATFORM_FEE_TO_BUYER = 'default_pass_platform_fee_to_buyer';
final public const DEFAULT_ALLOW_ATTENDEE_SELF_EDIT = 'default_allow_attendee_self_edit';
final public const TRACKING_PIXELS = 'tracking_pixels';
final public const TRACKING_CONSENT_ACKNOWLEDGED = 'tracking_consent_acknowledged';
protected int $id;
protected int $organizer_id;
protected array|string|null $social_media_handles = null;
protected ?string $website_url = null;
protected array|string|null $homepage_theme_settings = null;
protected string $homepage_visibility = 'PUBLIC';
protected ?string $homepage_password = null;
protected ?string $seo_keywords = null;
protected ?string $seo_title = null;
protected ?string $seo_description = null;
protected bool $allow_search_engine_indexing = true;
protected ?string $created_at = null;
protected ?string $updated_at = null;
protected ?string $deleted_at = null;
protected array|string|null $location_details = null;
protected string $default_attendee_details_collection_method = 'PER_TICKET';
protected bool $default_show_marketing_opt_in = true;
protected bool $default_pass_platform_fee_to_buyer = false;
protected bool $default_allow_attendee_self_edit = true;
protected array|string|null $tracking_pixels = null;
protected bool $tracking_consent_acknowledged = false;
public function toArray(): array
{
return [
'id' => $this->id ?? null,
'organizer_id' => $this->organizer_id ?? null,
'social_media_handles' => $this->social_media_handles ?? null,
'website_url' => $this->website_url ?? null,
'homepage_theme_settings' => $this->homepage_theme_settings ?? null,
'homepage_visibility' => $this->homepage_visibility ?? null,
'homepage_password' => $this->homepage_password ?? null,
'seo_keywords' => $this->seo_keywords ?? null,
'seo_title' => $this->seo_title ?? null,
'seo_description' => $this->seo_description ?? null,
'allow_search_engine_indexing' => $this->allow_search_engine_indexing ?? null,
'created_at' => $this->created_at ?? null,
'updated_at' => $this->updated_at ?? null,
'deleted_at' => $this->deleted_at ?? null,
'location_details' => $this->location_details ?? null,
'default_attendee_details_collection_method' => $this->default_attendee_details_collection_method ?? null,
'default_show_marketing_opt_in' => $this->default_show_marketing_opt_in ?? null,
'default_pass_platform_fee_to_buyer' => $this->default_pass_platform_fee_to_buyer ?? null,
'default_allow_attendee_self_edit' => $this->default_allow_attendee_self_edit ?? null,
'tracking_pixels' => $this->tracking_pixels ?? null,
'tracking_consent_acknowledged' => $this->tracking_consent_acknowledged ?? null,
];
}
public function setId(int $id): self
{
$this->id = $id;
return $this;
}
public function getId(): int
{
return $this->id;
}
public function setOrganizerId(int $organizer_id): self
{
$this->organizer_id = $organizer_id;
return $this;
}
public function getOrganizerId(): int
{
return $this->organizer_id;
}
public function setSocialMediaHandles(array|string|null $social_media_handles): self
{
$this->social_media_handles = $social_media_handles;
return $this;
}
public function getSocialMediaHandles(): array|string|null
{
return $this->social_media_handles;
}
public function setWebsiteUrl(?string $website_url): self
{
$this->website_url = $website_url;
return $this;
}
public function getWebsiteUrl(): ?string
{
return $this->website_url;
}
public function setHomepageThemeSettings(array|string|null $homepage_theme_settings): self
{
$this->homepage_theme_settings = $homepage_theme_settings;
return $this;
}
public function getHomepageThemeSettings(): array|string|null
{
return $this->homepage_theme_settings;
}
public function setHomepageVisibility(string $homepage_visibility): self
{
$this->homepage_visibility = $homepage_visibility;
return $this;
}
public function getHomepageVisibility(): string
{
return $this->homepage_visibility;
}
public function setHomepagePassword(?string $homepage_password): self
{
$this->homepage_password = $homepage_password;
return $this;
}
public function getHomepagePassword(): ?string
{
return $this->homepage_password;
}
public function setSeoKeywords(?string $seo_keywords): self
{
$this->seo_keywords = $seo_keywords;
return $this;
}
public function getSeoKeywords(): ?string
{
return $this->seo_keywords;
}
public function setSeoTitle(?string $seo_title): self
{
$this->seo_title = $seo_title;
return $this;
}
public function getSeoTitle(): ?string
{
return $this->seo_title;
}
public function setSeoDescription(?string $seo_description): self
{
$this->seo_description = $seo_description;
return $this;
}
public function getSeoDescription(): ?string
{
return $this->seo_description;
}
public function setAllowSearchEngineIndexing(bool $allow_search_engine_indexing): self
{
$this->allow_search_engine_indexing = $allow_search_engine_indexing;
return $this;
}
public function getAllowSearchEngineIndexing(): bool
{
return $this->allow_search_engine_indexing;
}
public function setCreatedAt(?string $created_at): self
{
$this->created_at = $created_at;
return $this;
}
public function getCreatedAt(): ?string
{
return $this->created_at;
}
public function setUpdatedAt(?string $updated_at): self
{
$this->updated_at = $updated_at;
return $this;
}
public function getUpdatedAt(): ?string
{
return $this->updated_at;
}
public function setDeletedAt(?string $deleted_at): self
{
$this->deleted_at = $deleted_at;
return $this;
}
public function getDeletedAt(): ?string
{
return $this->deleted_at;
}
public function setLocationDetails(array|string|null $location_details): self
{
$this->location_details = $location_details;
return $this;
}
public function getLocationDetails(): array|string|null
{
return $this->location_details;
}
public function setDefaultAttendeeDetailsCollectionMethod(
string $default_attendee_details_collection_method,
): self {
$this->default_attendee_details_collection_method = $default_attendee_details_collection_method;
return $this;
}
public function getDefaultAttendeeDetailsCollectionMethod(): string
{
return $this->default_attendee_details_collection_method;
}
public function setDefaultShowMarketingOptIn(bool $default_show_marketing_opt_in): self
{
$this->default_show_marketing_opt_in = $default_show_marketing_opt_in;
return $this;
}
public function getDefaultShowMarketingOptIn(): bool
{
return $this->default_show_marketing_opt_in;
}
public function setDefaultPassPlatformFeeToBuyer(bool $default_pass_platform_fee_to_buyer): self
{
$this->default_pass_platform_fee_to_buyer = $default_pass_platform_fee_to_buyer;
return $this;
}
public function getDefaultPassPlatformFeeToBuyer(): bool
{
return $this->default_pass_platform_fee_to_buyer;
}
public function setDefaultAllowAttendeeSelfEdit(bool $default_allow_attendee_self_edit): self
{
$this->default_allow_attendee_self_edit = $default_allow_attendee_self_edit;
return $this;
}
public function getDefaultAllowAttendeeSelfEdit(): bool
{
return $this->default_allow_attendee_self_edit;
}
public function setTrackingPixels(array|string|null $tracking_pixels): self
{
$this->tracking_pixels = $tracking_pixels;
return $this;
}
public function getTrackingPixels(): array|string|null
{
return $this->tracking_pixels;
}
public function setTrackingConsentAcknowledged(bool $tracking_consent_acknowledged): self
{
$this->tracking_consent_acknowledged = $tracking_consent_acknowledged;
return $this;
}
public function getTrackingConsentAcknowledged(): bool
{
return $this->tracking_consent_acknowledged;
}
}