Skip to content

Commit

Permalink
Codegen for openapi v237 (#1520)
Browse files Browse the repository at this point in the history
  • Loading branch information
pakrym-stripe committed Mar 2, 2023
1 parent d39084b commit 555815e
Show file tree
Hide file tree
Showing 9 changed files with 296 additions and 3 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v232
v237
11 changes: 11 additions & 0 deletions src/main/java/com/stripe/model/Payout.java
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,17 @@ public class Payout extends ApiResource implements MetadataStore<Payout>, Balanc
@Setter(lombok.AccessLevel.NONE)
ExpandableField<Payout> originalPayout;

/**
* If {@code completed}, the <a
* href="https://stripe.com/docs/api/balance_transactions/list#balance_transaction_list-payout">Balance
* Transactions API</a> may be used to list all Balance Transactions that were paid out in this
* payout.
*
* <p>One of {@code completed}, {@code in_progress}, or {@code not_applicable}.
*/
@SerializedName("reconciliation_status")
String reconciliationStatus;

/** If the payout was reversed, this is the ID of the payout that reverses this payout. */
@SerializedName("reversed_by")
@Getter(lombok.AccessLevel.NONE)
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/stripe/model/TaxRate.java
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ public class TaxRate extends ApiResource implements HasId, MetadataStore<TaxRate
/**
* The high-level tax type, such as {@code vat} or {@code sales_tax}.
*
* <p>One of {@code gst}, {@code hst}, {@code igst}, {@code jct}, {@code pst}, {@code qst}, {@code
* rst}, {@code sales_tax}, or {@code vat}.
* <p>One of {@code gst}, {@code hst}, {@code igst}, {@code jct}, {@code lease_tax}, {@code pst},
* {@code qst}, {@code rst}, {@code sales_tax}, or {@code vat}.
*/
@SerializedName("tax_type")
String taxType;
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/com/stripe/param/TaxRateCreateParams.java
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,9 @@ public enum TaxType implements ApiRequestParams.EnumParam {
@SerializedName("jct")
JCT("jct"),

@SerializedName("lease_tax")
LEASE_TAX("lease_tax"),

@SerializedName("pst")
PST("pst"),

Expand Down
3 changes: 3 additions & 0 deletions src/main/java/com/stripe/param/TaxRateUpdateParams.java
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,9 @@ public enum TaxType implements ApiRequestParams.EnumParam {
@SerializedName("jct")
JCT("jct"),

@SerializedName("lease_tax")
LEASE_TAX("lease_tax"),

@SerializedName("pst")
PST("pst"),

Expand Down
69 changes: 69 additions & 0 deletions src/main/java/com/stripe/param/issuing/CardCreateParams.java
Original file line number Diff line number Diff line change
Expand Up @@ -1362,6 +1362,9 @@ public enum Category implements ApiRequestParams.EnumParam {
@SerializedName("electric_razor_stores")
ELECTRIC_RAZOR_STORES("electric_razor_stores"),

@SerializedName("electric_vehicle_charging")
ELECTRIC_VEHICLE_CHARGING("electric_vehicle_charging"),

@SerializedName("electrical_parts_and_equipment")
ELECTRICAL_PARTS_AND_EQUIPMENT("electrical_parts_and_equipment"),

Expand All @@ -1377,6 +1380,9 @@ public enum Category implements ApiRequestParams.EnumParam {
@SerializedName("elementary_secondary_schools")
ELEMENTARY_SECONDARY_SCHOOLS("elementary_secondary_schools"),

@SerializedName("emergency_services_gcas_visa_use_only")
EMERGENCY_SERVICES_GCAS_VISA_USE_ONLY("emergency_services_gcas_visa_use_only"),

@SerializedName("employment_temp_agencies")
EMPLOYMENT_TEMP_AGENCIES("employment_temp_agencies"),

Expand Down Expand Up @@ -1445,6 +1451,20 @@ public enum Category implements ApiRequestParams.EnumParam {
@SerializedName("golf_courses_public")
GOLF_COURSES_PUBLIC("golf_courses_public"),

@SerializedName("government_licensed_horse_dog_racing_us_region_only")
GOVERNMENT_LICENSED_HORSE_DOG_RACING_US_REGION_ONLY(
"government_licensed_horse_dog_racing_us_region_only"),

@SerializedName("government_licensed_online_casions_online_gambling_us_region_only")
GOVERNMENT_LICENSED_ONLINE_CASIONS_ONLINE_GAMBLING_US_REGION_ONLY(
"government_licensed_online_casions_online_gambling_us_region_only"),

@SerializedName("government_owned_lotteries_non_us_region")
GOVERNMENT_OWNED_LOTTERIES_NON_US_REGION("government_owned_lotteries_non_us_region"),

@SerializedName("government_owned_lotteries_us_region_only")
GOVERNMENT_OWNED_LOTTERIES_US_REGION_ONLY("government_owned_lotteries_us_region_only"),

@SerializedName("government_services")
GOVERNMENT_SERVICES("government_services"),

Expand Down Expand Up @@ -1524,6 +1544,9 @@ public enum Category implements ApiRequestParams.EnumParam {
@SerializedName("marinas_service_and_supplies")
MARINAS_SERVICE_AND_SUPPLIES("marinas_service_and_supplies"),

@SerializedName("marketplaces")
MARKETPLACES("marketplaces"),

@SerializedName("masonry_stonework_and_plaster")
MASONRY_STONEWORK_AND_PLASTER("masonry_stonework_and_plaster"),

Expand Down Expand Up @@ -2283,6 +2306,9 @@ public enum AllowedCategory implements ApiRequestParams.EnumParam {
@SerializedName("electric_razor_stores")
ELECTRIC_RAZOR_STORES("electric_razor_stores"),

@SerializedName("electric_vehicle_charging")
ELECTRIC_VEHICLE_CHARGING("electric_vehicle_charging"),

@SerializedName("electrical_parts_and_equipment")
ELECTRICAL_PARTS_AND_EQUIPMENT("electrical_parts_and_equipment"),

Expand All @@ -2298,6 +2324,9 @@ public enum AllowedCategory implements ApiRequestParams.EnumParam {
@SerializedName("elementary_secondary_schools")
ELEMENTARY_SECONDARY_SCHOOLS("elementary_secondary_schools"),

@SerializedName("emergency_services_gcas_visa_use_only")
EMERGENCY_SERVICES_GCAS_VISA_USE_ONLY("emergency_services_gcas_visa_use_only"),

@SerializedName("employment_temp_agencies")
EMPLOYMENT_TEMP_AGENCIES("employment_temp_agencies"),

Expand Down Expand Up @@ -2366,6 +2395,20 @@ public enum AllowedCategory implements ApiRequestParams.EnumParam {
@SerializedName("golf_courses_public")
GOLF_COURSES_PUBLIC("golf_courses_public"),

@SerializedName("government_licensed_horse_dog_racing_us_region_only")
GOVERNMENT_LICENSED_HORSE_DOG_RACING_US_REGION_ONLY(
"government_licensed_horse_dog_racing_us_region_only"),

@SerializedName("government_licensed_online_casions_online_gambling_us_region_only")
GOVERNMENT_LICENSED_ONLINE_CASIONS_ONLINE_GAMBLING_US_REGION_ONLY(
"government_licensed_online_casions_online_gambling_us_region_only"),

@SerializedName("government_owned_lotteries_non_us_region")
GOVERNMENT_OWNED_LOTTERIES_NON_US_REGION("government_owned_lotteries_non_us_region"),

@SerializedName("government_owned_lotteries_us_region_only")
GOVERNMENT_OWNED_LOTTERIES_US_REGION_ONLY("government_owned_lotteries_us_region_only"),

@SerializedName("government_services")
GOVERNMENT_SERVICES("government_services"),

Expand Down Expand Up @@ -2445,6 +2488,9 @@ public enum AllowedCategory implements ApiRequestParams.EnumParam {
@SerializedName("marinas_service_and_supplies")
MARINAS_SERVICE_AND_SUPPLIES("marinas_service_and_supplies"),

@SerializedName("marketplaces")
MARKETPLACES("marketplaces"),

@SerializedName("masonry_stonework_and_plaster")
MASONRY_STONEWORK_AND_PLASTER("masonry_stonework_and_plaster"),

Expand Down Expand Up @@ -3176,6 +3222,9 @@ public enum BlockedCategory implements ApiRequestParams.EnumParam {
@SerializedName("electric_razor_stores")
ELECTRIC_RAZOR_STORES("electric_razor_stores"),

@SerializedName("electric_vehicle_charging")
ELECTRIC_VEHICLE_CHARGING("electric_vehicle_charging"),

@SerializedName("electrical_parts_and_equipment")
ELECTRICAL_PARTS_AND_EQUIPMENT("electrical_parts_and_equipment"),

Expand All @@ -3191,6 +3240,9 @@ public enum BlockedCategory implements ApiRequestParams.EnumParam {
@SerializedName("elementary_secondary_schools")
ELEMENTARY_SECONDARY_SCHOOLS("elementary_secondary_schools"),

@SerializedName("emergency_services_gcas_visa_use_only")
EMERGENCY_SERVICES_GCAS_VISA_USE_ONLY("emergency_services_gcas_visa_use_only"),

@SerializedName("employment_temp_agencies")
EMPLOYMENT_TEMP_AGENCIES("employment_temp_agencies"),

Expand Down Expand Up @@ -3259,6 +3311,20 @@ public enum BlockedCategory implements ApiRequestParams.EnumParam {
@SerializedName("golf_courses_public")
GOLF_COURSES_PUBLIC("golf_courses_public"),

@SerializedName("government_licensed_horse_dog_racing_us_region_only")
GOVERNMENT_LICENSED_HORSE_DOG_RACING_US_REGION_ONLY(
"government_licensed_horse_dog_racing_us_region_only"),

@SerializedName("government_licensed_online_casions_online_gambling_us_region_only")
GOVERNMENT_LICENSED_ONLINE_CASIONS_ONLINE_GAMBLING_US_REGION_ONLY(
"government_licensed_online_casions_online_gambling_us_region_only"),

@SerializedName("government_owned_lotteries_non_us_region")
GOVERNMENT_OWNED_LOTTERIES_NON_US_REGION("government_owned_lotteries_non_us_region"),

@SerializedName("government_owned_lotteries_us_region_only")
GOVERNMENT_OWNED_LOTTERIES_US_REGION_ONLY("government_owned_lotteries_us_region_only"),

@SerializedName("government_services")
GOVERNMENT_SERVICES("government_services"),

Expand Down Expand Up @@ -3338,6 +3404,9 @@ public enum BlockedCategory implements ApiRequestParams.EnumParam {
@SerializedName("marinas_service_and_supplies")
MARINAS_SERVICE_AND_SUPPLIES("marinas_service_and_supplies"),

@SerializedName("marketplaces")
MARKETPLACES("marketplaces"),

@SerializedName("masonry_stonework_and_plaster")
MASONRY_STONEWORK_AND_PLASTER("masonry_stonework_and_plaster"),

Expand Down
69 changes: 69 additions & 0 deletions src/main/java/com/stripe/param/issuing/CardUpdateParams.java
Original file line number Diff line number Diff line change
Expand Up @@ -955,6 +955,9 @@ public enum Category implements ApiRequestParams.EnumParam {
@SerializedName("electric_razor_stores")
ELECTRIC_RAZOR_STORES("electric_razor_stores"),

@SerializedName("electric_vehicle_charging")
ELECTRIC_VEHICLE_CHARGING("electric_vehicle_charging"),

@SerializedName("electrical_parts_and_equipment")
ELECTRICAL_PARTS_AND_EQUIPMENT("electrical_parts_and_equipment"),

Expand All @@ -970,6 +973,9 @@ public enum Category implements ApiRequestParams.EnumParam {
@SerializedName("elementary_secondary_schools")
ELEMENTARY_SECONDARY_SCHOOLS("elementary_secondary_schools"),

@SerializedName("emergency_services_gcas_visa_use_only")
EMERGENCY_SERVICES_GCAS_VISA_USE_ONLY("emergency_services_gcas_visa_use_only"),

@SerializedName("employment_temp_agencies")
EMPLOYMENT_TEMP_AGENCIES("employment_temp_agencies"),

Expand Down Expand Up @@ -1038,6 +1044,20 @@ public enum Category implements ApiRequestParams.EnumParam {
@SerializedName("golf_courses_public")
GOLF_COURSES_PUBLIC("golf_courses_public"),

@SerializedName("government_licensed_horse_dog_racing_us_region_only")
GOVERNMENT_LICENSED_HORSE_DOG_RACING_US_REGION_ONLY(
"government_licensed_horse_dog_racing_us_region_only"),

@SerializedName("government_licensed_online_casions_online_gambling_us_region_only")
GOVERNMENT_LICENSED_ONLINE_CASIONS_ONLINE_GAMBLING_US_REGION_ONLY(
"government_licensed_online_casions_online_gambling_us_region_only"),

@SerializedName("government_owned_lotteries_non_us_region")
GOVERNMENT_OWNED_LOTTERIES_NON_US_REGION("government_owned_lotteries_non_us_region"),

@SerializedName("government_owned_lotteries_us_region_only")
GOVERNMENT_OWNED_LOTTERIES_US_REGION_ONLY("government_owned_lotteries_us_region_only"),

@SerializedName("government_services")
GOVERNMENT_SERVICES("government_services"),

Expand Down Expand Up @@ -1117,6 +1137,9 @@ public enum Category implements ApiRequestParams.EnumParam {
@SerializedName("marinas_service_and_supplies")
MARINAS_SERVICE_AND_SUPPLIES("marinas_service_and_supplies"),

@SerializedName("marketplaces")
MARKETPLACES("marketplaces"),

@SerializedName("masonry_stonework_and_plaster")
MASONRY_STONEWORK_AND_PLASTER("masonry_stonework_and_plaster"),

Expand Down Expand Up @@ -1876,6 +1899,9 @@ public enum AllowedCategory implements ApiRequestParams.EnumParam {
@SerializedName("electric_razor_stores")
ELECTRIC_RAZOR_STORES("electric_razor_stores"),

@SerializedName("electric_vehicle_charging")
ELECTRIC_VEHICLE_CHARGING("electric_vehicle_charging"),

@SerializedName("electrical_parts_and_equipment")
ELECTRICAL_PARTS_AND_EQUIPMENT("electrical_parts_and_equipment"),

Expand All @@ -1891,6 +1917,9 @@ public enum AllowedCategory implements ApiRequestParams.EnumParam {
@SerializedName("elementary_secondary_schools")
ELEMENTARY_SECONDARY_SCHOOLS("elementary_secondary_schools"),

@SerializedName("emergency_services_gcas_visa_use_only")
EMERGENCY_SERVICES_GCAS_VISA_USE_ONLY("emergency_services_gcas_visa_use_only"),

@SerializedName("employment_temp_agencies")
EMPLOYMENT_TEMP_AGENCIES("employment_temp_agencies"),

Expand Down Expand Up @@ -1959,6 +1988,20 @@ public enum AllowedCategory implements ApiRequestParams.EnumParam {
@SerializedName("golf_courses_public")
GOLF_COURSES_PUBLIC("golf_courses_public"),

@SerializedName("government_licensed_horse_dog_racing_us_region_only")
GOVERNMENT_LICENSED_HORSE_DOG_RACING_US_REGION_ONLY(
"government_licensed_horse_dog_racing_us_region_only"),

@SerializedName("government_licensed_online_casions_online_gambling_us_region_only")
GOVERNMENT_LICENSED_ONLINE_CASIONS_ONLINE_GAMBLING_US_REGION_ONLY(
"government_licensed_online_casions_online_gambling_us_region_only"),

@SerializedName("government_owned_lotteries_non_us_region")
GOVERNMENT_OWNED_LOTTERIES_NON_US_REGION("government_owned_lotteries_non_us_region"),

@SerializedName("government_owned_lotteries_us_region_only")
GOVERNMENT_OWNED_LOTTERIES_US_REGION_ONLY("government_owned_lotteries_us_region_only"),

@SerializedName("government_services")
GOVERNMENT_SERVICES("government_services"),

Expand Down Expand Up @@ -2038,6 +2081,9 @@ public enum AllowedCategory implements ApiRequestParams.EnumParam {
@SerializedName("marinas_service_and_supplies")
MARINAS_SERVICE_AND_SUPPLIES("marinas_service_and_supplies"),

@SerializedName("marketplaces")
MARKETPLACES("marketplaces"),

@SerializedName("masonry_stonework_and_plaster")
MASONRY_STONEWORK_AND_PLASTER("masonry_stonework_and_plaster"),

Expand Down Expand Up @@ -2769,6 +2815,9 @@ public enum BlockedCategory implements ApiRequestParams.EnumParam {
@SerializedName("electric_razor_stores")
ELECTRIC_RAZOR_STORES("electric_razor_stores"),

@SerializedName("electric_vehicle_charging")
ELECTRIC_VEHICLE_CHARGING("electric_vehicle_charging"),

@SerializedName("electrical_parts_and_equipment")
ELECTRICAL_PARTS_AND_EQUIPMENT("electrical_parts_and_equipment"),

Expand All @@ -2784,6 +2833,9 @@ public enum BlockedCategory implements ApiRequestParams.EnumParam {
@SerializedName("elementary_secondary_schools")
ELEMENTARY_SECONDARY_SCHOOLS("elementary_secondary_schools"),

@SerializedName("emergency_services_gcas_visa_use_only")
EMERGENCY_SERVICES_GCAS_VISA_USE_ONLY("emergency_services_gcas_visa_use_only"),

@SerializedName("employment_temp_agencies")
EMPLOYMENT_TEMP_AGENCIES("employment_temp_agencies"),

Expand Down Expand Up @@ -2852,6 +2904,20 @@ public enum BlockedCategory implements ApiRequestParams.EnumParam {
@SerializedName("golf_courses_public")
GOLF_COURSES_PUBLIC("golf_courses_public"),

@SerializedName("government_licensed_horse_dog_racing_us_region_only")
GOVERNMENT_LICENSED_HORSE_DOG_RACING_US_REGION_ONLY(
"government_licensed_horse_dog_racing_us_region_only"),

@SerializedName("government_licensed_online_casions_online_gambling_us_region_only")
GOVERNMENT_LICENSED_ONLINE_CASIONS_ONLINE_GAMBLING_US_REGION_ONLY(
"government_licensed_online_casions_online_gambling_us_region_only"),

@SerializedName("government_owned_lotteries_non_us_region")
GOVERNMENT_OWNED_LOTTERIES_NON_US_REGION("government_owned_lotteries_non_us_region"),

@SerializedName("government_owned_lotteries_us_region_only")
GOVERNMENT_OWNED_LOTTERIES_US_REGION_ONLY("government_owned_lotteries_us_region_only"),

@SerializedName("government_services")
GOVERNMENT_SERVICES("government_services"),

Expand Down Expand Up @@ -2931,6 +2997,9 @@ public enum BlockedCategory implements ApiRequestParams.EnumParam {
@SerializedName("marinas_service_and_supplies")
MARINAS_SERVICE_AND_SUPPLIES("marinas_service_and_supplies"),

@SerializedName("marketplaces")
MARKETPLACES("marketplaces"),

@SerializedName("masonry_stonework_and_plaster")
MASONRY_STONEWORK_AND_PLASTER("masonry_stonework_and_plaster"),

Expand Down

0 comments on commit 555815e

Please sign in to comment.