-
Deprecated MethodsMethodDescriptionUse
HttpClient.requestStream(StripeRequest)
instead.UseHttpClient.request(StripeRequest)
instead.preferRequestOptions.toBuilderFullCopy()
which fully copies the request options instead of a subset of its options.UseStripeResponseGetter.request(ApiRequest, Type)
instead.UseStripeResponseGetter.requestStream(ApiRequest)
instead.StripeClient.accountLinks() is deprecated, use StripeClient.v1().accountLinks() instead. All functionality under it has been copied over to StripeClient.v1().accountLinks(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.accountNotices() is deprecated, use StripeClient.v1().accountNotices() instead. All functionality under it has been copied over to StripeClient.v1().accountNotices(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.accounts() is deprecated, use StripeClient.v1().accounts() instead. All functionality under it has been copied over to StripeClient.v1().accounts(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.accountSessions() is deprecated, use StripeClient.v1().accountSessions() instead. All functionality under it has been copied over to StripeClient.v1().accountSessions(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.applePayDomains() is deprecated, use StripeClient.v1().applePayDomains() instead. All functionality under it has been copied over to StripeClient.v1().applePayDomains(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.applicationFees() is deprecated, use StripeClient.v1().applicationFees() instead. All functionality under it has been copied over to StripeClient.v1().applicationFees(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.apps() is deprecated, use StripeClient.v1().apps() instead. All functionality under it has been copied over to StripeClient.v1().apps(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.balance() is deprecated, use StripeClient.v1().balance() instead. All functionality under it has been copied over to StripeClient.v1().balance(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.balanceSettings() is deprecated, use StripeClient.v1().balanceSettings() instead. All functionality under it has been copied over to StripeClient.v1().balanceSettings(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.balanceTransactions() is deprecated, use StripeClient.v1().balanceTransactions() instead. All functionality under it has been copied over to StripeClient.v1().balanceTransactions(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.billing() is deprecated, use StripeClient.v1().billing() instead. All functionality under it has been copied over to StripeClient.v1().billing(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.billingPortal() is deprecated, use StripeClient.v1().billingPortal() instead. All functionality under it has been copied over to StripeClient.v1().billingPortal(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.capital() is deprecated, use StripeClient.v1().capital() instead. All functionality under it has been copied over to StripeClient.v1().capital(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.charges() is deprecated, use StripeClient.v1().charges() instead. All functionality under it has been copied over to StripeClient.v1().charges(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.checkout() is deprecated, use StripeClient.v1().checkout() instead. All functionality under it has been copied over to StripeClient.v1().checkout(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.climate() is deprecated, use StripeClient.v1().climate() instead. All functionality under it has been copied over to StripeClient.v1().climate(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.confirmationTokens() is deprecated, use StripeClient.v1().confirmationTokens() instead. All functionality under it has been copied over to StripeClient.v1().confirmationTokens(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.countrySpecs() is deprecated, use StripeClient.v1().countrySpecs() instead. All functionality under it has been copied over to StripeClient.v1().countrySpecs(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.coupons() is deprecated, use StripeClient.v1().coupons() instead. All functionality under it has been copied over to StripeClient.v1().coupons(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.creditNotes() is deprecated, use StripeClient.v1().creditNotes() instead. All functionality under it has been copied over to StripeClient.v1().creditNotes(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.customers() is deprecated, use StripeClient.v1().customers() instead. All functionality under it has been copied over to StripeClient.v1().customers(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.customerSessions() is deprecated, use StripeClient.v1().customerSessions() instead. All functionality under it has been copied over to StripeClient.v1().customerSessions(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.delegatedCheckout() is deprecated, use StripeClient.v1().delegatedCheckout() instead. All functionality under it has been copied over to StripeClient.v1().delegatedCheckout(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.disputes() is deprecated, use StripeClient.v1().disputes() instead. All functionality under it has been copied over to StripeClient.v1().disputes(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.entitlements() is deprecated, use StripeClient.v1().entitlements() instead. All functionality under it has been copied over to StripeClient.v1().entitlements(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.ephemeralKeys() is deprecated, use StripeClient.v1().ephemeralKeys() instead. All functionality under it has been copied over to StripeClient.v1().ephemeralKeys(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.events() is deprecated, use StripeClient.v1().events() instead. All functionality under it has been copied over to StripeClient.v1().events(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.exchangeRates() is deprecated, use StripeClient.v1().exchangeRates() instead. All functionality under it has been copied over to StripeClient.v1().exchangeRates(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.externalAccounts() is deprecated, use StripeClient.v1().externalAccounts() instead. All functionality under it has been copied over to StripeClient.v1().externalAccounts(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.fileLinks() is deprecated, use StripeClient.v1().fileLinks() instead. All functionality under it has been copied over to StripeClient.v1().fileLinks(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.files() is deprecated, use StripeClient.v1().files() instead. All functionality under it has been copied over to StripeClient.v1().files(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.financialConnections() is deprecated, use StripeClient.v1().financialConnections() instead. All functionality under it has been copied over to StripeClient.v1().financialConnections(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.forwarding() is deprecated, use StripeClient.v1().forwarding() instead. All functionality under it has been copied over to StripeClient.v1().forwarding(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.fxQuotes() is deprecated, use StripeClient.v1().fxQuotes() instead. All functionality under it has been copied over to StripeClient.v1().fxQuotes(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.identity() is deprecated, use StripeClient.v1().identity() instead. All functionality under it has been copied over to StripeClient.v1().identity(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.invoiceItems() is deprecated, use StripeClient.v1().invoiceItems() instead. All functionality under it has been copied over to StripeClient.v1().invoiceItems(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.invoicePayments() is deprecated, use StripeClient.v1().invoicePayments() instead. All functionality under it has been copied over to StripeClient.v1().invoicePayments(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.invoiceRenderingTemplates() is deprecated, use StripeClient.v1().invoiceRenderingTemplates() instead. All functionality under it has been copied over to StripeClient.v1().invoiceRenderingTemplates(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.invoices() is deprecated, use StripeClient.v1().invoices() instead. All functionality under it has been copied over to StripeClient.v1().invoices(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.issuing() is deprecated, use StripeClient.v1().issuing() instead. All functionality under it has been copied over to StripeClient.v1().issuing(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.mandates() is deprecated, use StripeClient.v1().mandates() instead. All functionality under it has been copied over to StripeClient.v1().mandates(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.margins() is deprecated, use StripeClient.v1().margins() instead. All functionality under it has been copied over to StripeClient.v1().margins(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.orders() is deprecated, use StripeClient.v1().orders() instead. All functionality under it has been copied over to StripeClient.v1().orders(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.paymentAttemptRecords() is deprecated, use StripeClient.v1().paymentAttemptRecords() instead. All functionality under it has been copied over to StripeClient.v1().paymentAttemptRecords(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.paymentIntents() is deprecated, use StripeClient.v1().paymentIntents() instead. All functionality under it has been copied over to StripeClient.v1().paymentIntents(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.paymentLinks() is deprecated, use StripeClient.v1().paymentLinks() instead. All functionality under it has been copied over to StripeClient.v1().paymentLinks(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.paymentMethodConfigurations() is deprecated, use StripeClient.v1().paymentMethodConfigurations() instead. All functionality under it has been copied over to StripeClient.v1().paymentMethodConfigurations(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.paymentMethodDomains() is deprecated, use StripeClient.v1().paymentMethodDomains() instead. All functionality under it has been copied over to StripeClient.v1().paymentMethodDomains(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.paymentMethods() is deprecated, use StripeClient.v1().paymentMethods() instead. All functionality under it has been copied over to StripeClient.v1().paymentMethods(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.paymentRecords() is deprecated, use StripeClient.v1().paymentRecords() instead. All functionality under it has been copied over to StripeClient.v1().paymentRecords(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.payouts() is deprecated, use StripeClient.v1().payouts() instead. All functionality under it has been copied over to StripeClient.v1().payouts(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.plans() is deprecated, use StripeClient.v1().plans() instead. All functionality under it has been copied over to StripeClient.v1().plans(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.prices() is deprecated, use StripeClient.v1().prices() instead. All functionality under it has been copied over to StripeClient.v1().prices(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.privacy() is deprecated, use StripeClient.v1().privacy() instead. All functionality under it has been copied over to StripeClient.v1().privacy(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.products() is deprecated, use StripeClient.v1().products() instead. All functionality under it has been copied over to StripeClient.v1().products(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.promotionCodes() is deprecated, use StripeClient.v1().promotionCodes() instead. All functionality under it has been copied over to StripeClient.v1().promotionCodes(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.quotes() is deprecated, use StripeClient.v1().quotes() instead. All functionality under it has been copied over to StripeClient.v1().quotes(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.radar() is deprecated, use StripeClient.v1().radar() instead. All functionality under it has been copied over to StripeClient.v1().radar(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.refunds() is deprecated, use StripeClient.v1().refunds() instead. All functionality under it has been copied over to StripeClient.v1().refunds(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.reporting() is deprecated, use StripeClient.v1().reporting() instead. All functionality under it has been copied over to StripeClient.v1().reporting(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.reviews() is deprecated, use StripeClient.v1().reviews() instead. All functionality under it has been copied over to StripeClient.v1().reviews(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.setupAttempts() is deprecated, use StripeClient.v1().setupAttempts() instead. All functionality under it has been copied over to StripeClient.v1().setupAttempts(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.setupIntents() is deprecated, use StripeClient.v1().setupIntents() instead. All functionality under it has been copied over to StripeClient.v1().setupIntents(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.shippingRates() is deprecated, use StripeClient.v1().shippingRates() instead. All functionality under it has been copied over to StripeClient.v1().shippingRates(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.sigma() is deprecated, use StripeClient.v1().sigma() instead. All functionality under it has been copied over to StripeClient.v1().sigma(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.sources() is deprecated, use StripeClient.v1().sources() instead. All functionality under it has been copied over to StripeClient.v1().sources(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.subscriptionItems() is deprecated, use StripeClient.v1().subscriptionItems() instead. All functionality under it has been copied over to StripeClient.v1().subscriptionItems(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.subscriptions() is deprecated, use StripeClient.v1().subscriptions() instead. All functionality under it has been copied over to StripeClient.v1().subscriptions(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.subscriptionSchedules() is deprecated, use StripeClient.v1().subscriptionSchedules() instead. All functionality under it has been copied over to StripeClient.v1().subscriptionSchedules(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.tax() is deprecated, use StripeClient.v1().tax() instead. All functionality under it has been copied over to StripeClient.v1().tax(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.taxCodes() is deprecated, use StripeClient.v1().taxCodes() instead. All functionality under it has been copied over to StripeClient.v1().taxCodes(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.taxIds() is deprecated, use StripeClient.v1().taxIds() instead. All functionality under it has been copied over to StripeClient.v1().taxIds(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.taxRates() is deprecated, use StripeClient.v1().taxRates() instead. All functionality under it has been copied over to StripeClient.v1().taxRates(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.terminal() is deprecated, use StripeClient.v1().terminal() instead. All functionality under it has been copied over to StripeClient.v1().terminal(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.testHelpers() is deprecated, use StripeClient.v1().testHelpers() instead. All functionality under it has been copied over to StripeClient.v1().testHelpers(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.tokens() is deprecated, use StripeClient.v1().tokens() instead. All functionality under it has been copied over to StripeClient.v1().tokens(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.topups() is deprecated, use StripeClient.v1().topups() instead. All functionality under it has been copied over to StripeClient.v1().topups(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.transfers() is deprecated, use StripeClient.v1().transfers() instead. All functionality under it has been copied over to StripeClient.v1().transfers(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.treasury() is deprecated, use StripeClient.v1().treasury() instead. All functionality under it has been copied over to StripeClient.v1().treasury(). See migration guide for more on this and tips on migrating to the new v1 namespace.StripeClient.webhookEndpoints() is deprecated, use StripeClient.v1().webhookEndpoints() instead. All functionality under it has been copied over to StripeClient.v1().webhookEndpoints(). See migration guide for more on this and tips on migrating to the new v1 namespace.
StripeObject
fromEvent.getDataObjectDeserializer()
andEventDataObjectDeserializer.getObject()
. ThrowsJsonParseException
deserialization failure due to general invalid JSON, or more specifically when JSON data and model class have incompatible schemas.