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 beta #1947

Closed
wants to merge 47 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
d5ef112
Updated upload artifact ci action (#1941)
prathmesh-stripe Jan 25, 2025
73961c6
Update generated code (#1936)
stripe-openapi[bot] Jan 27, 2025
dfafa65
Bump version to 28.3.0
helenye-stripe Jan 27, 2025
7c99196
Ensure `getRawJsonObject` returns data for constructed webhooks (#1946)
xavdid-stripe Feb 5, 2025
5ff5113
Bump version to 28.3.1
xavdid-stripe Feb 7, 2025
67ec448
add codeowners file (#1948)
xavdid-stripe Feb 13, 2025
032d672
Update generated code (#1943)
stripe-openapi[bot] Feb 24, 2025
1cf6c5b
Bump version to 28.4.0
prathmesh-stripe Feb 24, 2025
9ae1c08
Fix publish-docs token permissions (#1951)
jar-stripe Mar 4, 2025
1444581
Add @EqualsAndHashCode annotations
mbroshi-stripe Mar 11, 2025
e9c1325
Revert "Add @EqualsAndHashCode annotations"
mbroshi-stripe Mar 11, 2025
6b047be
Add @EqualsAndHashCode annotations (#1955)
mbroshi-stripe Mar 17, 2025
76da3a4
Merge upstream and update generated code for v1572
stripe-openapi[bot] Mar 19, 2025
3f18261
Update generated code for v1573
stripe-openapi[bot] Mar 19, 2025
6cfde23
Update generated code for v1574
stripe-openapi[bot] Mar 19, 2025
e96e0d6
Support for StripeAccount in StripeClient, and StripeContext on V1 (#…
ramya-stripe Mar 19, 2025
660a3ae
Merge upstream and update generated code for v1583
stripe-openapi[bot] Mar 19, 2025
af9e059
Update generated code for v1585
stripe-openapi[bot] Mar 19, 2025
33f8728
Update generated code for v1586
stripe-openapi[bot] Mar 20, 2025
77e856c
Update generated code for v1587
stripe-openapi[bot] Mar 20, 2025
a873234
Update generated code for v1588
stripe-openapi[bot] Mar 20, 2025
312fe5c
Update generated code for v1590
stripe-openapi[bot] Mar 20, 2025
07f94d8
Update generated code for v1591
stripe-openapi[bot] Mar 20, 2025
2ac7619
Update generated code for v1593
stripe-openapi[bot] Mar 20, 2025
aceee40
Update generated code for v1594
stripe-openapi[bot] Mar 20, 2025
71cf700
Update generated code for v1595
stripe-openapi[bot] Mar 20, 2025
039ce60
Update generated code for v1597
stripe-openapi[bot] Mar 20, 2025
61ec1b9
Update generated code for v1598
stripe-openapi[bot] Mar 20, 2025
96c8934
Update generated code for v1599
stripe-openapi[bot] Mar 20, 2025
8cd0d60
Update generated code for v1601
stripe-openapi[bot] Mar 20, 2025
7367653
Update generated code for v1602
stripe-openapi[bot] Mar 20, 2025
b6273ac
Update generated code for v1604
stripe-openapi[bot] Mar 21, 2025
5a19e3b
Update generated code for v1605
stripe-openapi[bot] Mar 21, 2025
c9d0e37
Update generated code for v1606
stripe-openapi[bot] Mar 21, 2025
115dad4
Update generated code for v1607
stripe-openapi[bot] Mar 21, 2025
59beb90
Update generated code for v1608
stripe-openapi[bot] Mar 21, 2025
db74f48
Update generated code for v1609
stripe-openapi[bot] Mar 21, 2025
903c752
Update generated code for v1610
stripe-openapi[bot] Mar 21, 2025
4ebe999
Update generated code for v1611
stripe-openapi[bot] Mar 21, 2025
e818f9c
Update generated code for v1612
stripe-openapi[bot] Mar 21, 2025
77dda35
Update generated code for v1613
stripe-openapi[bot] Mar 24, 2025
df3663b
Update generated code for v1615
stripe-openapi[bot] Mar 24, 2025
4bbffce
Add generated v2 test support (#1953)
helenye-stripe Mar 25, 2025
49d3e37
Merge upstream and update generated code for v1618
stripe-openapi[bot] Mar 25, 2025
fcdbb7b
Update generated code for v1620
stripe-openapi[bot] Mar 25, 2025
5700c53
Update generated code for v1621
stripe-openapi[bot] Mar 25, 2025
9db0ffe
Update generated code for v1622
stripe-openapi[bot] Mar 25, 2025
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
Prev Previous commit
Next Next commit
Bump version to 28.3.0
  • Loading branch information
helenye-stripe committed Jan 27, 2025
commit dfafa652bc29c2154b79670acda4575516880895
32 changes: 32 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,37 @@
# Changelog

## 28.3.0 - 2025-01-27
* [#1936](https://github.com/stripe/stripe-java/pull/1936) Update generated code
* Add support for `close` method on resource `Treasury.FinancialAccount`
* Add support for `pay_by_bank_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
* Add support for `directorship_declaration` and `ownership_exemption_reason` on `Account.company`, `AccountCreateParams.company`, `AccountUpdateParams.company`, and `TokenCreateParams.account.company`
* Add support for `proof_of_ultimate_beneficial_ownership` on `AccountCreateParams.documents` and `AccountUpdateParams.documents`
* Add support for `financial_account` on `AccountSession.components`, `AccountSessionCreateParams.components`, and `Treasury.OutboundTransfer.destination_payment_method_details`
* Add support for `financial_account_transactions`, `issuing_card`, and `issuing_cards_list` on `AccountSession.components` and `AccountSessionCreateParams.components`
* Add support for `advice_code` on `Charge.outcome`, `Invoice.last_finalization_error`, `PaymentIntent.last_payment_error`, `SetupAttempt.setup_error`, `SetupIntent.last_setup_error`, and `StripeError`
* Add support for `pay_by_bank` on `Charge.payment_method_details`, `ConfirmationToken.payment_method_preview`, `ConfirmationTokenCreateParams.payment_method_data`, `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_data`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_data`, `PaymentIntentCreateParams.payment_method_options`, `PaymentIntentUpdateParams.payment_method_data`, `PaymentIntentUpdateParams.payment_method_options`, `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, `PaymentMethodConfiguration`, `PaymentMethodCreateParams`, `PaymentMethodUpdateParams`, `PaymentMethod`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, `SetupIntentUpdateParams.payment_method_data`, and `checkout.SessionCreateParams.payment_method_options`
* Add support for `country` on `Charge.payment_method_details.paypal`, `ConfirmationToken.payment_method_preview.paypal`, and `PaymentMethod.paypal`
* Add support for new value `pay_by_bank` on enums `CustomerListPaymentMethodsParams.type`, `PaymentMethodCreateParams.type`, `PaymentMethodListParams.type`, and `checkout.SessionCreateParams.payment_method_types[]`
* Add support for new value `SD` on enums `PaymentLinkCreateParams.shipping_address_collection.allowed_countries[]`, `PaymentLinkUpdateParams.shipping_address_collection.allowed_countries[]`, and `checkout.SessionCreateParams.shipping_address_collection.allowed_countries[]`
* Add support for `discounts` on `Checkout.Session`
* Add support for new value `pay_by_bank` on enums `ConfirmationTokenCreateParams.payment_method_data.type`, `PaymentIntentConfirmParams.payment_method_data.type`, `PaymentIntentCreateParams.payment_method_data.type`, `PaymentIntentUpdateParams.payment_method_data.type`, `SetupIntentConfirmParams.payment_method_data.type`, `SetupIntentCreateParams.payment_method_data.type`, and `SetupIntentUpdateParams.payment_method_data.type`
* Add support for new value `pay_by_bank` on enums `PaymentLinkCreateParams.payment_method_types[]` and `PaymentLinkUpdateParams.payment_method_types[]`
* Add support for `phone_number_collection` on `PaymentLinkUpdateParams`
* Add support for `jpy` on `Terminal.Configuration.tipping`, `terminal.ConfigurationCreateParams.tipping`, and `terminal.ConfigurationUpdateParams.tipping`
* Add support for `nickname` on `Treasury.FinancialAccount`, `treasury.FinancialAccountCreateParams`, and `treasury.FinancialAccountUpdateParams`
* Add support for `forwarding_settings` on `treasury.FinancialAccountUpdateParams`
* Add support for `is_default` on `Treasury.FinancialAccount`
* Add support for `destination_payment_method_data` on `treasury.OutboundTransferCreateParams`
* Change type of `Treasury.OutboundTransfer.destination_payment_method_details.type` from `literal('us_bank_account')` to `enum('financial_account'|'us_bank_account')`
* Add support for new value `outbound_transfer` on enum `treasury.ReceivedCreditListParams.linked_flows.source_flow_type`
* Add support for `outbound_transfer` on `Treasury.ReceivedCredit.linked_flows.source_flow_details`
* Add support for new value `2025-01-27.acacia` on enum `WebhookEndpointCreateParams.api_version`
* [#1941](https://github.com/stripe/stripe-java/pull/1941) Updated upload artifact ci action
* [#1938](https://github.com/stripe/stripe-java/pull/1938) update justfile import & pin CI ubuntu
* [#1937](https://github.com/stripe/stripe-java/pull/1937) Added CONTRIBUTING.md file
* [#1934](https://github.com/stripe/stripe-java/pull/1934) add justfile tweak readme, remove coveralls
* [#1933](https://github.com/stripe/stripe-java/pull/1933) Added pull request template

## 28.2.0 - 2024-12-18
* [#1931](https://github.com/stripe/stripe-java/pull/1931) This release changes the pinned API version to `2024-12-18.acacia`.
* Add support for `network_advice_code` and `network_decline_code` on `Charge.outcome`, `Invoice.last_finalization_error`, `PaymentIntent.last_payment_error`, `SetupAttempt.setup_error`, `SetupIntent.last_setup_error`, and `StripeError`
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Stripe Java client library

[![Maven Central](https://img.shields.io/badge/maven--central-v28.2.0-blue)](https://mvnrepository.com/artifact/com.stripe/stripe-java)
[![Maven Central](https://img.shields.io/badge/maven--central-v28.3.0-blue)](https://mvnrepository.com/artifact/com.stripe/stripe-java)
[![JavaDoc](http://img.shields.io/badge/javadoc-reference-blue.svg)](https://stripe.dev/stripe-java)
[![Build Status](https://github.com/stripe/stripe-java/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/stripe/stripe-java/actions?query=branch%3Amaster)

Expand All @@ -17,7 +17,7 @@ The official [Stripe][stripe] Java client library.
Add this dependency to your project's build file:

```groovy
implementation "com.stripe:stripe-java:28.2.0"
implementation "com.stripe:stripe-java:28.3.0"
```

### Maven users
Expand All @@ -28,15 +28,15 @@ Add this dependency to your project's POM:
<dependency>
<groupId>com.stripe</groupId>
<artifactId>stripe-java</artifactId>
<version>28.2.0</version>
<version>28.3.0</version>
</dependency>
```

### Others

You'll need to manually install the following JARs:

- [The Stripe JAR](https://search.maven.org/remotecontent?filepath=com/stripe/stripe-java/28.2.0/stripe-java-28.2.0.jar)
- [The Stripe JAR](https://search.maven.org/remotecontent?filepath=com/stripe/stripe-java/28.3.0/stripe-java-28.3.0.jar)
- [Google Gson][gson] from <https://repo1.maven.org/maven2/com/google/code/gson/gson/2.10.1/gson-2.10.1.jar>.

### [ProGuard][proguard]
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
28.2.0
28.3.0
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GROUP=com.stripe
VERSION_NAME=28.2.0
VERSION_NAME=28.3.0

POM_URL=https://github.com/stripe/stripe-java
POM_SCM_URL=git@github.com:stripe/stripe-java.git
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/stripe/Stripe.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public abstract class Stripe {
public static final String LIVE_API_BASE = "https://api.stripe.com";
public static final String UPLOAD_API_BASE = "https://files.stripe.com";
public static final String METER_EVENTS_API_BASE = "https://meter-events.stripe.com";
public static final String VERSION = "28.2.0";
public static final String VERSION = "28.3.0";

public static volatile String apiKey;
public static volatile String clientId;
Expand Down
Loading