Skip to content

Commit

Permalink
Update generated code for v1004
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed May 1, 2024
1 parent f1e72b0 commit 32abd4d
Show file tree
Hide file tree
Showing 3 changed files with 839 additions and 48 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1003
v1004
112 changes: 112 additions & 0 deletions src/main/java/com/stripe/model/tax/Registration.java
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,9 @@ public static class CountryOptions extends StripeObject {
@SerializedName("bg")
Bg bg;

@SerializedName("bh")
Bh bh;

@SerializedName("ca")
Ca ca;

Expand Down Expand Up @@ -301,6 +304,9 @@ public static class CountryOptions extends StripeObject {
@SerializedName("ee")
Ee ee;

@SerializedName("eg")
Eg eg;

@SerializedName("es")
Es es;

Expand All @@ -313,6 +319,9 @@ public static class CountryOptions extends StripeObject {
@SerializedName("gb")
Gb gb;

@SerializedName("ge")
Ge ge;

@SerializedName("gr")
Gr gr;

Expand All @@ -337,9 +346,15 @@ public static class CountryOptions extends StripeObject {
@SerializedName("jp")
Jp jp;

@SerializedName("ke")
Ke ke;

@SerializedName("kr")
Kr kr;

@SerializedName("kz")
Kz kz;

@SerializedName("lt")
Lt lt;

Expand All @@ -358,6 +373,9 @@ public static class CountryOptions extends StripeObject {
@SerializedName("my")
My my;

@SerializedName("ng")
Ng ng;

@SerializedName("nl")
Nl nl;

Expand All @@ -367,6 +385,9 @@ public static class CountryOptions extends StripeObject {
@SerializedName("nz")
Nz nz;

@SerializedName("om")
Om om;

@SerializedName("pl")
Pl pl;

Expand Down Expand Up @@ -519,6 +540,19 @@ public static class Standard extends StripeObject {
}
}

@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Bh extends StripeObject {
/**
* Type of registration in {@code country}.
*
* <p>Equal to {@code standard}.
*/
@SerializedName("type")
String type;
}

@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
Expand Down Expand Up @@ -731,6 +765,19 @@ public static class Standard extends StripeObject {
}
}

@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Eg extends StripeObject {
/**
* Type of registration in {@code country}.
*
* <p>Equal to {@code simplified}.
*/
@SerializedName("type")
String type;
}

@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
Expand Down Expand Up @@ -831,6 +878,19 @@ public static class Gb extends StripeObject {
String type;
}

@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Ge extends StripeObject {
/**
* Type of registration in {@code country}.
*
* <p>Equal to {@code simplified}.
*/
@SerializedName("type")
String type;
}

@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
Expand Down Expand Up @@ -1015,6 +1075,19 @@ public static class Jp extends StripeObject {
String type;
}

@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Ke extends StripeObject {
/**
* Type of registration in {@code country}.
*
* <p>Equal to {@code simplified}.
*/
@SerializedName("type")
String type;
}

@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
Expand All @@ -1028,6 +1101,19 @@ public static class Kr extends StripeObject {
String type;
}

@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Kz extends StripeObject {
/**
* Type of registration in {@code country}.
*
* <p>Equal to {@code simplified}.
*/
@SerializedName("type")
String type;
}

@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
Expand Down Expand Up @@ -1170,6 +1256,19 @@ public static class My extends StripeObject {
String type;
}

@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Ng extends StripeObject {
/**
* Type of registration in {@code country}.
*
* <p>Equal to {@code simplified}.
*/
@SerializedName("type")
String type;
}

@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
Expand Down Expand Up @@ -1225,6 +1324,19 @@ public static class Nz extends StripeObject {
String type;
}

@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Om extends StripeObject {
/**
* Type of registration in {@code country}.
*
* <p>Equal to {@code standard}.
*/
@SerializedName("type")
String type;
}

@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
Expand Down

0 comments on commit 32abd4d

Please sign in to comment.