2020 * incorporationState?: string|null,
2121 * industryCode?: string|null,
2222 * name?: string|null,
23+ * taxIdentifier?: string|null,
2324 * }
2425 */
2526final 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