chargebee-php icon indicating copy to clipboard operation
chargebee-php copied to clipboard

v4 Migration Guide : Mention $object->snake_case_property ?

Open yched opened this issue 8 months ago • 2 comments

Description of the Bug

It seems with v4, property names of Model classes moved from camelCase to snake_case ? v3 : $subscription->currencyCode ---> v4 : $subscription->currency_code

That is a very large change, but it doesn't seem to be mentioned in the release nodes ?

yched avatar Apr 16 '25 13:04 yched

(and : congrats on the release of v4 ! 🎉 🎉 )

yched avatar Apr 16 '25 13:04 yched

Hi @yched, thank you so much for reaching out. We've updated this in the migration guide and will include it in the next release note. Appreciate your feedback! 🙌

cb-alish avatar Apr 16 '25 13:04 cb-alish

Thanks for the update ! This can issue can be closed now ;-)

ychedemois avatar Jul 18 '25 13:07 ychedemois