Skip to content

Commit

Permalink
Update generated code for v1423
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Dec 23, 2024
1 parent 123289b commit b63dc6d
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1418
v1423
27 changes: 27 additions & 0 deletions src/main/java/com/stripe/model/Account.java
Original file line number Diff line number Diff line change
Expand Up @@ -1474,6 +1474,9 @@ public static class Company extends StripeObject {
@SerializedName("directors_provided")
Boolean directorsProvided;

@SerializedName("directorship_declaration")
DirectorshipDeclaration directorshipDeclaration;

/**
* Whether the company's executives have been provided. This Boolean will be {@code true} if
* you've manually indicated that all executives are provided via <a
Expand Down Expand Up @@ -1646,6 +1649,30 @@ public static class AddressKanji extends StripeObject {
String town;
}

/**
* For more details about DirectorshipDeclaration, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class DirectorshipDeclaration extends StripeObject {
/** The Unix timestamp marking when the directorship declaration attestation was made. */
@SerializedName("date")
Long date;

/** The IP address from which the directorship declaration attestation was made. */
@SerializedName("ip")
String ip;

/**
* The user-agent string from the browser where the directorship declaration attestation was
* made.
*/
@SerializedName("user_agent")
String userAgent;
}

/**
* For more details about OwnershipDeclaration, please refer to the <a
* href="https://docs.stripe.com/api">API Reference.</a>
Expand Down

0 comments on commit b63dc6d

Please sign in to comment.