Skip to content

Commit cc0f32d

Browse files
Update generated code for v2195 and
1 parent cf7d59e commit cc0f32d

File tree

3 files changed

+18
-6
lines changed

3 files changed

+18
-6
lines changed

CODEGEN_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
d5d4a14b7efae104f15e32b63c37ad2af0007dad
1+
f21ab0095efca84ae73c15397ffc7fea52990e0f

OPENAPI_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v2194
1+
v2195

src/main/java/com/stripe/param/AccountSessionCreateParams.java

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2852,7 +2852,7 @@ public static class CheckScanning {
28522852
@SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
28532853
Map<String, Object> extraParams;
28542854

2855-
/** An empty list, because this embedded component has no features. */
2855+
/** The list of features enabled in the embedded component. */
28562856
@SerializedName("features")
28572857
Features features;
28582858

@@ -2913,7 +2913,7 @@ public Builder putAllExtraParam(Map<String, Object> map) {
29132913
return this;
29142914
}
29152915

2916-
/** An empty list, because this embedded component has no features. */
2916+
/** The list of features enabled in the embedded component. */
29172917
public Builder setFeatures(
29182918
AccountSessionCreateParams.Components.CheckScanning.Features features) {
29192919
this.features = features;
@@ -2924,6 +2924,9 @@ public Builder setFeatures(
29242924
@Getter
29252925
@EqualsAndHashCode(callSuper = false)
29262926
public static class Features {
2927+
@SerializedName("create_us_paper_check_on_application")
2928+
Boolean createUsPaperCheckOnApplication;
2929+
29272930
/**
29282931
* Map of extra parameters for custom features not available in this client library. The
29292932
* content in this map is not serialized under this field's {@code @SerializedName} value.
@@ -2934,7 +2937,8 @@ public static class Features {
29342937
@SerializedName(ApiRequestParams.EXTRA_PARAMS_KEY)
29352938
Map<String, Object> extraParams;
29362939

2937-
private Features(Map<String, Object> extraParams) {
2940+
private Features(Boolean createUsPaperCheckOnApplication, Map<String, Object> extraParams) {
2941+
this.createUsPaperCheckOnApplication = createUsPaperCheckOnApplication;
29382942
this.extraParams = extraParams;
29392943
}
29402944

@@ -2943,12 +2947,20 @@ public static Builder builder() {
29432947
}
29442948

29452949
public static class Builder {
2950+
private Boolean createUsPaperCheckOnApplication;
2951+
29462952
private Map<String, Object> extraParams;
29472953

29482954
/** Finalize and obtain parameter instance from this builder. */
29492955
public AccountSessionCreateParams.Components.CheckScanning.Features build() {
29502956
return new AccountSessionCreateParams.Components.CheckScanning.Features(
2951-
this.extraParams);
2957+
this.createUsPaperCheckOnApplication, this.extraParams);
2958+
}
2959+
2960+
public Builder setCreateUsPaperCheckOnApplication(
2961+
Boolean createUsPaperCheckOnApplication) {
2962+
this.createUsPaperCheckOnApplication = createUsPaperCheckOnApplication;
2963+
return this;
29522964
}
29532965

29542966
/**

0 commit comments

Comments
 (0)