Class: Events::OutletPurchaseVerified
- Inherits:
-
ApplicationEvent
- Object
- RubyEventStore::Event
- ApplicationEvent
- Events::OutletPurchaseVerified
- Defined in:
- app/events/events.rb
Overview
Published by CustomerOutletPurchase after_commit when a ruling lands it in
pending — the orders team verified a swept match, or a rep added an order
they already knew about. Verification means both "this order belongs to that
project" and "the rep earns commission on it".
data: { customer_outlet_purchase_id:, opportunity_id:, verified_by_id: }