-
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.
StripeObjectfromEvent.getDataObjectDeserializer()andEventDataObjectDeserializer.getObject(). ThrowsJsonParseExceptiondeserialization failure due to general invalid JSON, or more specifically when JSON data and model class have incompatible schemas.