Currently StripeClient.deserialize method could not parse V2 endpoints correctly. This caused a type cast exception:
class com.stripe.model.StripeRawJsonObject cannot be cast to class com.stripe.model.v2.billing.MeterEventSession
Fix involved passing ApiMode through to the deserialize function, searching the right EventDataLookup class and updating existing event deserialization calls.
Currently StripeClient.deserialize method could not parse V2 endpoints correctly. This caused a type cast exception:
Fix involved passing ApiMode through to the deserialize function, searching the right EventDataLookup class and updating existing event deserialization calls.