Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.18.0"
".": "0.19.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 232
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-6bf08c859f0104ec8755cac5a5a9e5d106ed3906d49979d9702070bc71384bca.yml
openapi_spec_hash: 2b9cb4a269763fc4e2ea6ad1e8e59283
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-c18d1cc6647fe78b98198587dc0a75915f8969e685e51293c850f31a99155b0c.yml
openapi_spec_hash: dda07d9d09014cc8f613dfa79f2d5833
config_hash: 27e44ed36b9c5617b580ead7231a594a
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.19.0 (2026-02-03)

Full Changelog: [v0.18.0...v0.19.0](https://github.com/Increase/increase-php/compare/v0.18.0...v0.19.0)

### Features

* **api:** api update ([8750d1c](https://github.com/Increase/increase-php/commit/8750d1cb45908679ee0c6ba96dba53905888aeeb))

## 0.18.0 (2026-02-02)

Full Changelog: [v0.17.0...v0.18.0](https://github.com/Increase/increase-php/compare/v0.17.0...v0.18.0)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The REST API documentation can be found on [increase.com](https://increase.com/d
<!-- x-release-please-start-version -->

```
composer require "increase/increase 0.18.0"
composer require "increase/increase 0.19.0"
```

<!-- x-release-please-end -->
Expand Down
20 changes: 20 additions & 0 deletions src/Entities/EntityUpdateParams/Corporation.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
* incorporationState?: string|null,
* industryCode?: string|null,
* name?: string|null,
* taxIdentifier?: string|null,
* }
*/
final class Corporation implements BaseModel
Expand Down Expand Up @@ -57,6 +58,12 @@ final class Corporation implements BaseModel
#[Optional]
public ?string $name;

/**
* The Employer Identification Number (EIN) for the corporation.
*/
#[Optional('tax_identifier')]
public ?string $taxIdentifier;

public function __construct()
{
$this->initialize();
Expand All @@ -75,6 +82,7 @@ public static function with(
?string $incorporationState = null,
?string $industryCode = null,
?string $name = null,
?string $taxIdentifier = null,
): self {
$self = new self;

Expand All @@ -83,6 +91,7 @@ public static function with(
null !== $incorporationState && $self['incorporationState'] = $incorporationState;
null !== $industryCode && $self['industryCode'] = $industryCode;
null !== $name && $self['name'] = $name;
null !== $taxIdentifier && $self['taxIdentifier'] = $taxIdentifier;

return $self;
}
Expand Down Expand Up @@ -143,4 +152,15 @@ public function withName(string $name): self

return $self;
}

/**
* The Employer Identification Number (EIN) for the corporation.
*/
public function withTaxIdentifier(string $taxIdentifier): self
{
$self = clone $this;
$self['taxIdentifier'] = $taxIdentifier;

return $self;
}
}
2 changes: 1 addition & 1 deletion src/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
namespace Increase;

// x-release-please-start-version
const VERSION = '0.18.0';
const VERSION = '0.19.0';
// x-release-please-end