Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update generated code for sdk-release/next-major #1821

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1065
v1077
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ public <T> TypeAdapter<T> create(Gson gson, TypeToken<T> type) {
gson.getDelegateAdapter(this, TypeToken.get(com.stripe.model.issuing.Transaction.class));
final TypeAdapter<com.stripe.model.Payout> payoutAdapter =
gson.getDelegateAdapter(this, TypeToken.get(com.stripe.model.Payout.class));
final TypeAdapter<com.stripe.model.PlatformTaxFee> platformTaxFeeAdapter =
gson.getDelegateAdapter(this, TypeToken.get(com.stripe.model.PlatformTaxFee.class));
final TypeAdapter<com.stripe.model.Refund> refundAdapter =
gson.getDelegateAdapter(this, TypeToken.get(com.stripe.model.Refund.class));
final TypeAdapter<com.stripe.model.ReserveTransaction> reserveTransactionAdapter =
Expand Down Expand Up @@ -98,8 +96,6 @@ public BalanceTransactionSource read(JsonReader in) throws IOException {
objectResult = issuingTransactionAdapter.fromJsonTree(object);
} else if ("payout".equals(objectType)) {
objectResult = payoutAdapter.fromJsonTree(object);
} else if ("platform_tax_fee".equals(objectType)) {
objectResult = platformTaxFeeAdapter.fromJsonTree(object);
} else if ("refund".equals(objectType)) {
objectResult = refundAdapter.fromJsonTree(object);
} else if ("reserve_transaction".equals(objectType)) {
Expand Down
1 change: 0 additions & 1 deletion src/main/java/com/stripe/model/EventDataClassLookup.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ final class EventDataClassLookup {
classLookup.put("payout", Payout.class);
classLookup.put("person", Person.class);
classLookup.put("plan", Plan.class);
classLookup.put("platform_tax_fee", PlatformTaxFee.class);
classLookup.put("price", Price.class);
classLookup.put("product", Product.class);
classLookup.put("product_feature", ProductFeature.class);
Expand Down
37 changes: 0 additions & 37 deletions src/main/java/com/stripe/model/PlatformTaxFee.java

This file was deleted.

Loading