Skip to content

Commit e7b2c07

Browse files
feat(api): api update
1 parent 1ac39b1 commit e7b2c07

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 236
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-6cc15216773be06ef5899a9f805480d69ba2e610a3746bb638c7773baa10c407.yml
3-
openapi_spec_hash: c24d9a85acb17d73e8d6434d7c907d40
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-2aab30efad14c2af42a235cff57e4f530dcc7f223df00093d9d171186d5f2c5e.yml
3+
openapi_spec_hash: 08496939ae1bdbbe2aee358b693020f8
44
config_hash: 25d7d7aa4882db6189b4b53e8e249e80

src/BeneficialOwners/EntityBeneficialOwner.php

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
* id: string,
2121
* companyTitle: string|null,
2222
* createdAt: \DateTimeInterface,
23+
* entityID: string,
2324
* idempotencyKey: string|null,
2425
* individual: Individual|IndividualShape,
2526
* prongs: list<Prong|value-of<Prong>>,
@@ -49,6 +50,12 @@ final class EntityBeneficialOwner implements BaseModel
4950
#[Required('created_at')]
5051
public \DateTimeInterface $createdAt;
5152

53+
/**
54+
* The identifier of the Entity to which this beneficial owner belongs.
55+
*/
56+
#[Required('entity_id')]
57+
public string $entityID;
58+
5259
/**
5360
* 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).
5461
*/
@@ -86,6 +93,7 @@ final class EntityBeneficialOwner implements BaseModel
8693
* id: ...,
8794
* companyTitle: ...,
8895
* createdAt: ...,
96+
* entityID: ...,
8997
* idempotencyKey: ...,
9098
* individual: ...,
9199
* prongs: ...,
@@ -100,6 +108,7 @@ final class EntityBeneficialOwner implements BaseModel
100108
* ->withID(...)
101109
* ->withCompanyTitle(...)
102110
* ->withCreatedAt(...)
111+
* ->withEntityID(...)
103112
* ->withIdempotencyKey(...)
104113
* ->withIndividual(...)
105114
* ->withProngs(...)
@@ -124,6 +133,7 @@ public static function with(
124133
string $id,
125134
?string $companyTitle,
126135
\DateTimeInterface $createdAt,
136+
string $entityID,
127137
?string $idempotencyKey,
128138
Individual|array $individual,
129139
array $prongs,
@@ -134,6 +144,7 @@ public static function with(
134144
$self['id'] = $id;
135145
$self['companyTitle'] = $companyTitle;
136146
$self['createdAt'] = $createdAt;
147+
$self['entityID'] = $entityID;
137148
$self['idempotencyKey'] = $idempotencyKey;
138149
$self['individual'] = $individual;
139150
$self['prongs'] = $prongs;
@@ -175,6 +186,17 @@ public function withCreatedAt(\DateTimeInterface $createdAt): self
175186
return $self;
176187
}
177188

189+
/**
190+
* The identifier of the Entity to which this beneficial owner belongs.
191+
*/
192+
public function withEntityID(string $entityID): self
193+
{
194+
$self = clone $this;
195+
$self['entityID'] = $entityID;
196+
197+
return $self;
198+
}
199+
178200
/**
179201
* 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).
180202
*/

0 commit comments

Comments
 (0)