-
MethodDescriptionUse
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.
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.