Skip to content

Commit 8750d1c

Browse files
feat(api): api update
1 parent 7cc57d9 commit 8750d1c

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-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: 232
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-6bf08c859f0104ec8755cac5a5a9e5d106ed3906d49979d9702070bc71384bca.yml
3-
openapi_spec_hash: 2b9cb4a269763fc4e2ea6ad1e8e59283
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-c18d1cc6647fe78b98198587dc0a75915f8969e685e51293c850f31a99155b0c.yml
3+
openapi_spec_hash: dda07d9d09014cc8f613dfa79f2d5833
44
config_hash: 27e44ed36b9c5617b580ead7231a594a

src/Entities/EntityUpdateParams/Corporation.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
* incorporationState?: string|null,
2121
* industryCode?: string|null,
2222
* name?: string|null,
23+
* taxIdentifier?: string|null,
2324
* }
2425
*/
2526
final class Corporation implements BaseModel
@@ -57,6 +58,12 @@ final class Corporation implements BaseModel
5758
#[Optional]
5859
public ?string $name;
5960

61+
/**
62+
* The Employer Identification Number (EIN) for the corporation.
63+
*/
64+
#[Optional('tax_identifier')]
65+
public ?string $taxIdentifier;
66+
6067
public function __construct()
6168
{
6269
$this->initialize();
@@ -75,6 +82,7 @@ public static function with(
7582
?string $incorporationState = null,
7683
?string $industryCode = null,
7784
?string $name = null,
85+
?string $taxIdentifier = null,
7886
): self {
7987
$self = new self;
8088

@@ -83,6 +91,7 @@ public static function with(
8391
null !== $incorporationState && $self['incorporationState'] = $incorporationState;
8492
null !== $industryCode && $self['industryCode'] = $industryCode;
8593
null !== $name && $self['name'] = $name;
94+
null !== $taxIdentifier && $self['taxIdentifier'] = $taxIdentifier;
8695

8796
return $self;
8897
}
@@ -143,4 +152,15 @@ public function withName(string $name): self
143152

144153
return $self;
145154
}
155+
156+
/**
157+
* The Employer Identification Number (EIN) for the corporation.
158+
*/
159+
public function withTaxIdentifier(string $taxIdentifier): self
160+
{
161+
$self = clone $this;
162+
$self['taxIdentifier'] = $taxIdentifier;
163+
164+
return $self;
165+
}
146166
}

0 commit comments

Comments
 (0)