-
-
Notifications
You must be signed in to change notification settings - Fork 636
Expand file tree
/
Copy pathAccountConfigurationDomainObjectAbstract.php
More file actions
132 lines (112 loc) · 3.58 KB
/
AccountConfigurationDomainObjectAbstract.php
File metadata and controls
132 lines (112 loc) · 3.58 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
<?php
namespace HiEvents\DomainObjects\Generated;
/**
* THIS FILE IS AUTOGENERATED - DO NOT EDIT IT DIRECTLY.
* @package HiEvents\DomainObjects\Generated
*/
abstract class AccountConfigurationDomainObjectAbstract extends \HiEvents\DomainObjects\AbstractDomainObject
{
final public const SINGULAR_NAME = 'account_configuration';
final public const PLURAL_NAME = 'account_configurations';
final public const ID = 'id';
final public const NAME = 'name';
final public const IS_SYSTEM_DEFAULT = 'is_system_default';
final public const APPLICATION_FEES = 'application_fees';
final public const CREATED_AT = 'created_at';
final public const UPDATED_AT = 'updated_at';
final public const DELETED_AT = 'deleted_at';
final public const BYPASS_APPLICATION_FEES = 'bypass_application_fees';
protected int $id;
protected string $name;
protected bool $is_system_default = false;
protected array|string|null $application_fees = null;
protected ?string $created_at = null;
protected ?string $updated_at = null;
protected ?string $deleted_at = null;
protected bool $bypass_application_fees = false;
public function toArray(): array
{
return [
'id' => $this->id ?? null,
'name' => $this->name ?? null,
'is_system_default' => $this->is_system_default ?? null,
'application_fees' => $this->application_fees ?? null,
'created_at' => $this->created_at ?? null,
'updated_at' => $this->updated_at ?? null,
'deleted_at' => $this->deleted_at ?? null,
'bypass_application_fees' => $this->bypass_application_fees ?? null,
];
}
public function setId(int $id): self
{
$this->id = $id;
return $this;
}
public function getId(): int
{
return $this->id;
}
public function setName(string $name): self
{
$this->name = $name;
return $this;
}
public function getName(): string
{
return $this->name;
}
public function setIsSystemDefault(bool $is_system_default): self
{
$this->is_system_default = $is_system_default;
return $this;
}
public function getIsSystemDefault(): bool
{
return $this->is_system_default;
}
public function setApplicationFees(array|string|null $application_fees): self
{
$this->application_fees = $application_fees;
return $this;
}
public function getApplicationFees(): array|string|null
{
return $this->application_fees;
}
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 setBypassApplicationFees(bool $bypass_application_fees): self
{
$this->bypass_application_fees = $bypass_application_fees;
return $this;
}
public function getBypassApplicationFees(): bool
{
return $this->bypass_application_fees;
}
}