Closed jobcespedes closed 2 months ago
Hello, This is similar to #26 , the notification classes and their API counterparts are different by design.
I would recommend updating your function to accept both classes. Worst case, you can manually typecast them to read the fields you need. But be very careful while manually typecasting as you will lose type safety.
Please let us know if we can help you with anything else.
Thank you.
What happened?
Getting casting error from SubscriptionPriceNotification to Price
Steps to reproduce
What did you expect to happen?
SubscriptionPriceNotification becomes a Price entity for storage purposes
Logs