Currently we return generic StripeObjects for the EventData in our v2 events. This correctly calls construct_from when making v2 events (retrieve) to make sure they are typed appropriately.
This also makes it so we do not need to have BillingMeter in v2 mapping by using api mode to deserialize events.
Changelog
Fixes a bug where v2 EventData was not being deserialized into the appropriate type for V1BillingMeterErrorReportTriggeredEvent and V1BillingMeterNoMeterFoundEvent
Currently we return generic StripeObjects for the EventData in our v2 events. This correctly calls construct_from when making v2 events (retrieve) to make sure they are typed appropriately.
This also makes it so we do not need to have BillingMeter in v2 mapping by using api mode to deserialize events.
Changelog
V1BillingMeterErrorReportTriggeredEvent
andV1BillingMeterNoMeterFoundEvent