Merge pull request #22065 from deepeshgarg007/deferred_accounting_hooks

fix: Method in hooks for processing deferred revenue