You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/BeneficialOwners/EntityBeneficialOwner.php
+22Lines changed: 22 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,7 @@
20
20
* id: string,
21
21
* companyTitle: string|null,
22
22
* createdAt: \DateTimeInterface,
23
+
* entityID: string,
23
24
* idempotencyKey: string|null,
24
25
* individual: Individual|IndividualShape,
25
26
* prongs: list<Prong|value-of<Prong>>,
@@ -49,6 +50,12 @@ final class EntityBeneficialOwner implements BaseModel
49
50
#[Required('created_at')]
50
51
public\DateTimeInterface$createdAt;
51
52
53
+
/**
54
+
* The identifier of the Entity to which this beneficial owner belongs.
55
+
*/
56
+
#[Required('entity_id')]
57
+
publicstring$entityID;
58
+
52
59
/**
53
60
* The idempotency key you chose for this object. This value is unique across Increase and is used to ensure that a request is only processed once. Learn more about [idempotency](https://increase.com/documentation/idempotency-keys).
54
61
*/
@@ -86,6 +93,7 @@ final class EntityBeneficialOwner implements BaseModel
86
93
* id: ...,
87
94
* companyTitle: ...,
88
95
* createdAt: ...,
96
+
* entityID: ...,
89
97
* idempotencyKey: ...,
90
98
* individual: ...,
91
99
* prongs: ...,
@@ -100,6 +108,7 @@ final class EntityBeneficialOwner implements BaseModel
100
108
* ->withID(...)
101
109
* ->withCompanyTitle(...)
102
110
* ->withCreatedAt(...)
111
+
* ->withEntityID(...)
103
112
* ->withIdempotencyKey(...)
104
113
* ->withIndividual(...)
105
114
* ->withProngs(...)
@@ -124,6 +133,7 @@ public static function with(
124
133
string$id,
125
134
?string$companyTitle,
126
135
\DateTimeInterface$createdAt,
136
+
string$entityID,
127
137
?string$idempotencyKey,
128
138
Individual|array$individual,
129
139
array$prongs,
@@ -134,6 +144,7 @@ public static function with(
134
144
$self['id'] = $id;
135
145
$self['companyTitle'] = $companyTitle;
136
146
$self['createdAt'] = $createdAt;
147
+
$self['entityID'] = $entityID;
137
148
$self['idempotencyKey'] = $idempotencyKey;
138
149
$self['individual'] = $individual;
139
150
$self['prongs'] = $prongs;
@@ -175,6 +186,17 @@ public function withCreatedAt(\DateTimeInterface $createdAt): self
175
186
return$self;
176
187
}
177
188
189
+
/**
190
+
* The identifier of the Entity to which this beneficial owner belongs.
191
+
*/
192
+
publicfunctionwithEntityID(string$entityID): self
193
+
{
194
+
$self = clone$this;
195
+
$self['entityID'] = $entityID;
196
+
197
+
return$self;
198
+
}
199
+
178
200
/**
179
201
* The idempotency key you chose for this object. This value is unique across Increase and is used to ensure that a request is only processed once. Learn more about [idempotency](https://increase.com/documentation/idempotency-keys).
0 commit comments