Skip to content

Commit d417a16

Browse files
Update generated code (#2063)
* Update generated code for v2026 and 2025-09-30.clover * Update generated code for v2026 and 2025-09-30.clover --------- Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Co-authored-by: Ramya Rao <100975018+ramya-stripe@users.noreply.github.com>
1 parent 98702eb commit d417a16

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

OPENAPI_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v2025
1+
v2026

src/test/java/com/stripe/functional/GeneratedExamples.java

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5118,9 +5118,7 @@ public void testCustomersSourcesPostServices() throws StripeException {
51185118
StripeClient client = new StripeClient(networkSpy);
51195119

51205120
com.stripe.param.CustomerPaymentSourceUpdateParams params =
5121-
com.stripe.param.CustomerPaymentSourceUpdateParams.builder()
5122-
.setAccountHolderName("Kamil")
5123-
.build();
5121+
com.stripe.param.CustomerPaymentSourceUpdateParams.builder().setName("Kamil").build();
51245122

51255123
com.stripe.model.PaymentSource paymentSource =
51265124
client.v1().customers().paymentSources().update("cus_123", "card_123", params);
@@ -5138,9 +5136,7 @@ public void testCustomersSourcesPostServicesNonNamespaced() throws StripeExcepti
51385136
StripeClient client = new StripeClient(networkSpy);
51395137

51405138
com.stripe.param.CustomerPaymentSourceUpdateParams params =
5141-
com.stripe.param.CustomerPaymentSourceUpdateParams.builder()
5142-
.setAccountHolderName("Kamil")
5143-
.build();
5139+
com.stripe.param.CustomerPaymentSourceUpdateParams.builder().setName("Kamil").build();
51445140

51455141
com.stripe.model.PaymentSource paymentSource =
51465142
client.customers().paymentSources().update("cus_123", "card_123", params);

0 commit comments

Comments
 (0)